/* LibMan DJ website. Colours follow the app: one blue accent, plus the three
   energy-stage colours E1 (Warmup), E2 (Mid), E3 (Floorfiller). No external
   fonts or scripts are loaded. */
:root {
  color-scheme: dark;
  --bg: #0e0f14;
  --surface: #16171f;
  --surface-2: #1d1f2a;
  --line: #292b39;
  --text: #e9eaf1;
  --strong: #ffffff;
  --muted: #a0a3b6;
  --accent: #5b8def;
  --accent-strong: #477ee5;
  --accent-tint: rgba(91, 141, 239, 0.14);
  --e1: #6fa8ee;
  --e2: #f0c75a;
  --e3: #ee7f6b;
  --ok: #7fd6a3;
  --radius: 14px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--strong); }
h1, h2, h3 { color: var(--strong); line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 750; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* The energy ramp: the three stage colours, low to high. */
.ramp { display: inline-flex; gap: 4px; vertical-align: middle; }
.ramp i { display: block; width: 18px; height: 6px; border-radius: 3px; }
.ramp i:nth-child(1) { background: var(--e1); }
.ramp i:nth-child(2) { background: var(--e2); width: 26px; }
.ramp i:nth-child(3) { background: var(--e3); width: 36px; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(14, 15, 20, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--strong); font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--strong); }
@media (max-width: 760px) {
  .nav a.opt { display: none; }
  .site-head .wrap { gap: 12px; }
  .nav { gap: 14px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 600; font-size: 0.97rem;
  padding: 11px 18px; border-radius: 10px; border: 1px solid transparent;
  background: var(--accent-strong); color: #fff; text-decoration: none; cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: #5a8cf0; color: #fff; }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--muted); color: var(--strong); }
.nav .btn { padding: 8px 14px; color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Hero */
.hero { padding: 84px 0 40px; }
.hero h1 { max-width: 17ch; margin-top: 18px; }
.hero .lede { font-size: 1.22rem; color: var(--muted); max-width: 60ch; margin-top: 22px; }
.hero .lede strong { color: var(--text); font-weight: 600; }
.hero .notify { margin-top: 32px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em;
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
}
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--e2); }

/* Waitlist form */
.notify { max-width: 560px; }
.notify .row { display: flex; gap: 10px; }
.notify input[type="email"] {
  flex: 1; min-width: 0; font: inherit; color: var(--strong);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px;
}
.notify input[type="email"]::placeholder { color: #6f7286; }
.notify input[type="email"]:focus { outline: none; border-color: var(--accent); }
.notify .consent { display: flex; gap: 9px; align-items: flex-start; margin-top: 12px; font-size: 0.85rem; color: var(--muted); }
.notify .consent input { margin-top: 4px; accent-color: var(--accent-strong); }
.notify .choice { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 14px; padding: 0; border: 0; font-size: 0.92rem; color: var(--text); }
.notify .choice legend { padding: 0; margin-bottom: 8px; color: var(--muted); font-size: 0.85rem; }
.notify .choice label { display: inline-flex; gap: 7px; align-items: center; }
.notify .choice input { accent-color: var(--accent-strong); }
.notify .msg { margin-top: 12px; font-size: 0.92rem; min-height: 1.4em; }
.notify .msg.ok { color: var(--ok); }
.notify .msg.err { color: var(--e3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) { .notify .row { flex-direction: column; } }

/* Screenshot frame */
.shot {
  margin: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.02);
}
.shot .bar { display: flex; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.shot .bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3d4f; }
.shot figcaption { padding: 11px 16px; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); }
.hero-shot { margin-top: 56px; }

/* Sections */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
[id] { scroll-margin-top: 80px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 62ch; margin-bottom: 44px; }
.sec-head h2 { margin-top: 12px; }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .grid3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.band .card { background: var(--bg); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .tag { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; display: block; }
.tag.e1 { color: var(--e1); } .tag.e2 { color: var(--e2); } .tag.e3 { color: var(--e3); }

/* Feature rows: text beside a screenshot */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; padding: 44px 0; }
.feature.flip > .copy { order: 2; }
.feature h3 { font-size: 1.6rem; letter-spacing: -0.02em; margin: 12px 0 14px; }
.feature p { color: var(--muted); }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; }
.feature li { padding: 9px 0 9px 26px; position: relative; border-top: 1px solid var(--line); font-size: 0.97rem; }
.feature li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 26px; }
  .feature.flip > .copy { order: 0; }
}

/* What lands in Traktor: folder tree illustration */
.tree {
  font-family: var(--mono); font-size: 0.9rem; line-height: 1.9;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; overflow-x: auto;
}
.tree div { white-space: nowrap; }
.tree .d1 { padding-left: 22px; } .tree .d2 { padding-left: 44px; }
.tree .folder { color: var(--strong); }
.tree .dim { color: var(--muted); }
.tree .s1 { color: var(--e1); } .tree .s2 { color: var(--e2); } .tree .s3 { color: var(--e3); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 2px solid var(--line); padding-top: 18px; counter-increment: step; }
.step::before { content: "0" counter(step); font-family: var(--mono); font-size: 0.8rem; color: var(--accent); letter-spacing: 0.06em; }
.step h3 { margin: 8px 0 8px; font-size: 1.08rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* Comparison table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.compare { border-collapse: collapse; width: 100%; min-width: 860px; font-size: 0.93rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare thead th { font-size: 0.95rem; color: var(--strong); background: var(--surface-2); white-space: nowrap; }
.compare tbody th { font-weight: 600; color: var(--text); width: 21%; }
.compare td { color: var(--muted); }
.compare .us { background: var(--accent-tint); color: var(--text); }
.compare thead .us { color: var(--strong); }
.yes { color: var(--ok); font-weight: 600; }
.no { color: #777a8d; }
.fine { margin-top: 16px; font-size: 0.84rem; color: var(--muted); max-width: 90ch; }

/* Facts list */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
@media (max-width: 800px) { .facts { grid-template-columns: 1fr; } }
.fact { padding: 20px 0; border-top: 1px solid var(--line); }
.fact h3 { font-size: 1.02rem; margin-bottom: 6px; }
.fact p { color: var(--muted); font-size: 0.96rem; }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; color: var(--strong); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-family: var(--mono); }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; color: var(--muted); max-width: 75ch; }
.narrow { max-width: 820px; }

/* Closing call to action */
.cta { text-align: left; }
.cta-box {
  border: 1px solid var(--line); border-radius: 20px; padding: 48px;
  background: linear-gradient(135deg, rgba(111, 168, 238, 0.10), rgba(240, 199, 90, 0.05) 55%, rgba(238, 127, 107, 0.10)), var(--surface);
}
.cta-box h2 { max-width: 20ch; }
.cta-box > p { color: var(--muted); margin: 14px 0 28px; max-width: 58ch; }
@media (max-width: 600px) { .cta-box { padding: 28px 22px; } section { padding: 64px 0; } .hero { padding-top: 56px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent-strong); box-shadow: 0 0 0 1px var(--accent-strong) inset; }
.plan .tag { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.plan h2 { font-size: 1.6rem; margin: 10px 0 8px; }
.plan .for { color: var(--muted); font-size: 0.98rem; min-height: 3.2em; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 4px; }
.price b { font-size: 3rem; font-weight: 750; color: var(--strong); letter-spacing: -0.04em; line-height: 1; }
.price span { color: var(--muted); font-size: 0.95rem; }
.plan .sub { color: var(--muted); font-size: 0.9rem; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; flex: 1; }
.plan li { padding: 9px 0 9px 28px; position: relative; border-top: 1px solid var(--line); font-size: 0.96rem; }
.plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--ok); font-weight: 700; }
.plan li.note::before { content: "i"; color: var(--e2); font-family: var(--mono); }
.plan .btn { width: 100%; }
.plan .btn[aria-disabled="true"] { background: var(--surface-2); color: var(--muted); border-color: var(--line); cursor: not-allowed; }
.planned { display: inline-block; margin-top: 18px; font-size: 0.86rem; color: var(--muted); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 0.86rem; color: var(--muted); }
.site-foot .cols { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; margin-bottom: 22px; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--strong); }
.site-foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-foot p { max-width: 95ch; }

/* Legal page */
.prose { max-width: 760px; }
.prose h1 { font-size: 2.2rem; margin-bottom: 8px; }
.prose h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 12px; }
.prose ul { padding-left: 22px; margin-bottom: 12px; }
.todo { border: 1px dashed var(--e2); border-radius: 10px; padding: 14px 16px; color: var(--e2); font-size: 0.92rem; margin: 18px 0; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
