/*
  Plain dark theme. Drop-in stylesheet for any site.

  Rules that keep it from looking generated:
  - One font (Inter), one accent colour, flat surfaces, 1px borders. No gradients, glows or shadows.
  - Radius is 6px everywhere. No pill shapes.
  - No icons or emoji. Let headings and spacing do the work.
  - No scroll animations, counters or cursor effects. Motion only where it helps (menu toggle).
  - Left-aligned text, real tables for data, short specific copy.
  - Only show numbers you can back up. No invented reviews or stats.
  - Include a favicon, a terms page and a privacy page.

  To retheme, change the variables below. Nothing else needs editing.
  Add to <head>:
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
*/
:root {
  --bg: #0e1116;
  --surface: #151a22;
  --surface-2: #1b212b;
  --border: #262d39;
  --text: #e6e9ef;
  --muted: #9aa3b2;
  --accent: #4c7dff;      /* swap to match the Nebula panel accent */
  --accent-hover: #6590ff;
  --radius: 6px;
  --wrap: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 16px/1.65 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* header */
header { border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; }
.brand img { width: 30px; height: 30px; object-fit: contain; }
nav ul { display: flex; gap: 4px; }
nav a { display: block; padding: 8px 12px; color: var(--muted); font-size: 15px; border-radius: var(--radius); }
nav a:hover { color: var(--text); background: var(--surface); }
.bar-right { display: flex; gap: 8px; align-items: center; }
.btn { display: inline-block; font: inherit; font-size: 15px; font-weight: 500; padding: 10px 18px; border-radius: var(--radius); border: 1px solid var(--border); background: transparent; color: var(--text); cursor: pointer; }
.btn:hover { background: var(--surface-2); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.menu-btn { display: none; }

/* sections */
section { padding: 80px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 64px; }
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; max-width: 720px; }
h2 { font-size: 1.75rem; line-height: 1.25; letter-spacing: -0.015em; font-weight: 700; margin-bottom: 10px; }
h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.lead { color: var(--muted); font-size: 18px; max-width: 600px; margin: 18px 0 28px; }
.intro { color: var(--muted); max-width: 600px; margin-bottom: 36px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero { padding: 88px 0 72px; }

/* tables */
.table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 15px; }
.table tr:last-child td { border-bottom: 0; }
.table th { color: var(--muted); font-weight: 500; font-size: 13px; background: var(--surface-2); }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table td.price { font-weight: 600; }
.table .use { color: var(--muted); }
.note { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* grids */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.grid > div { background: var(--surface); padding: 24px; }
.grid p { color: var(--muted); font-size: 15px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.two p { color: var(--muted); margin-bottom: 14px; }

/* faq */
details { border-top: 1px solid var(--border); }
details:last-child { border-bottom: 1px solid var(--border); }
summary { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; cursor: pointer; list-style: none; padding: 18px 0; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--muted); }
details[open] summary::after { content: '\2212'; }
details p { color: var(--muted); padding: 0 0 18px; max-width: 680px; font-size: 15px; }
.faq { max-width: 760px; }

/* legal pages */
.legal { padding: 64px 0 96px; max-width: 760px; }
.legal h1 { font-size: 2.25rem; margin-bottom: 8px; }
.legal h2 { font-size: 1.2rem; margin: 36px 0 8px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal .updated { font-size: 14px; }
.legal a { color: var(--accent); }

/* footer */
footer { padding: 40px 0; color: var(--muted); font-size: 14px; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.foot ul { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a:hover { color: var(--text); }

@media (max-width: 860px) {
  nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 24px 16px; }
  nav.open { display: block; }
  nav ul { flex-direction: column; }
  .menu-btn { display: inline-block; }
  .bar { gap: 12px; }
  .brand { white-space: nowrap; flex-shrink: 0; }
  .bar-right { gap: 6px; }
  .bar-right .btn { padding: 8px 12px; font-size: 14px; white-space: nowrap; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .two { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  section { padding: 56px 0; }
  .hero { padding: 56px 0 48px; }
  .table-scroll { overflow-x: auto; }
  .table-scroll .table { min-width: 620px; }
  .two > * { min-width: 0; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  nav { padding: 8px 16px 16px; }
  .brand-text { display: none; }
}
