/* Quiesce — site stylesheet.
 *
 * No frameworks, no webfonts, no CDN: the app ships with nothing to compile, and a page
 * that says so should not need four hundred kilobytes of JavaScript to render. System font
 * stack, one file, and it works with scripting switched off.
 *
 * The palette is the app's, so the screenshots sit on the page rather than float above it.
 * The two accent colours are the mark's: a damped sound wave in blue, a flat line in green.
 */

:root {
  --bg: #0e1116;
  --panel: #171b21;
  --panel-2: #1d222a;
  --line: #262c36;
  --text: #e6e9ef;
  --muted: #8d94a3;
  --accent: #6aa9ff;
  --ok: #5ec98a;
  --warn: #f0d9a8;
  --bad: #f3c0c0;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.62 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
        Arial, "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

code {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
}

h1, h2, h3 { line-height: 1.22; margin: 0 0 14px; font-weight: 640; letter-spacing: -0.012em; }
h1 { font-size: clamp(34px, 5.2vw, 54px); letter-spacing: -0.024em; }
h2 { font-size: clamp(25px, 3.3vw, 33px); }
h3 { font-size: 17px; }
p { margin: 0 0 14px; }

.sub { color: var(--muted); max-width: 74ch; margin-bottom: 28px; font-size: 17px; }
.muted { color: var(--muted); }
.fineprint { color: var(--muted); font-size: 13.5px; }
.fineprint.warn { color: var(--warn); }

/* ------------------------------------------------------------------- top */

.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 11px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(14, 17, 22, 0.86);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 620; }
.brand:hover { text-decoration: none; }
.brand img { display: block; border-radius: 7px; }
.top nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.top nav a { color: var(--muted); font-size: 14.5px; }
.top nav a:hover { color: var(--text); }
.top nav a.cta {
  color: var(--text); border: 1px solid var(--line); border-radius: 7px;
  padding: 5px 12px; background: var(--panel-2);
}
.top nav a.cta:hover { border-color: var(--accent); }

/* ---------------------------------------------------------------- layout */

main > section {
  padding: 62px max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
}
main > section:last-child { border-bottom: 0; }

/* ------------------------------------------------------------------ hero */

.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 46px; align-items: center; padding-top: 58px; padding-bottom: 58px;
}
.eyebrow {
  font-size: 12.5px; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ok); margin-bottom: 16px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: 18.5px; color: #cdd3de; max-width: 58ch; }
.pron {
  font-size: 13.5px; color: var(--muted); border-left: 2px solid var(--line);
  padding-left: 13px; max-width: 60ch;
}
.pron span { color: var(--text); }

.buttons { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 20px; }
.button {
  display: inline-block; padding: 10px 18px; border-radius: 9px; font-weight: 560;
  border: 1px solid var(--line); background: var(--panel-2); color: var(--text);
}
.button:hover { text-decoration: none; border-color: #3d4450; }
.button.primary { background: var(--accent); border-color: var(--accent); color: #0e1116; }
.button.primary:hover { background: #7fb6ff; }

.pill-row { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; padding: 0; margin: 0; }
.pill-row li {
  font-size: 12.5px; color: var(--muted); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 11px; background: var(--panel);
}

.hero-shot { margin: 0; }
.hero-shot img {
  width: 100%; display: block; border-radius: 12px; border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
}
figcaption { color: var(--muted); font-size: 13px; margin-top: 10px; }

/* ------------------------------------------------------------------ band */

.band { background: var(--panel); }
.band-inner { max-width: var(--max); margin: 0 auto; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.three > div { border-left: 2px solid var(--line); padding-left: 17px; }
.three > div.accent { border-left-color: var(--accent); }

/* -------------------------------------------------------------- evidence */

.evidence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.evidence-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 13px;
  padding: 22px 24px;
}
table.kv { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
table.kv th {
  text-align: left; font-weight: 560; color: var(--muted); font-size: 13px;
  padding: 6px 12px 6px 0; white-space: nowrap; vertical-align: top; width: 1%;
}
table.kv td { padding: 6px 0; border-top: 1px dashed var(--line); }
table.kv tr:first-child td, table.kv tr:first-child th { border-top: 0; }
.ok { color: var(--ok); font-weight: 600; }

.checks { margin: 0 0 14px; padding-left: 20px; }
.checks li { margin-bottom: 11px; }

/* ------------------------------------------------------------------- how */

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.grid-4 h3, .grid-3 h3 { margin-bottom: 7px; }
.grid-3 > div, .grid-4 > div { border-top: 2px solid var(--line); padding-top: 15px; }
.grid-4 p, .grid-3 p { color: #c2c9d6; font-size: 15px; }

.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 42px; }
.shots figure { margin: 0; }
.shots img {
  width: 100%; display: block; border-radius: 11px; border: 1px solid var(--line);
}

/* --------------------------------------------------------------- compare */

.table-wrap { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td { padding: 12px 14px; text-align: left; }
table.compare thead th {
  font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted); border-bottom: 1px solid var(--line);
}
table.compare tbody tr { border-bottom: 1px solid var(--line); }
table.compare tbody tr:last-child { border-bottom: 0; }
table.compare td:first-child { color: var(--muted); width: 30%; }
table.compare td.win { color: var(--ok); }

/* -------------------------------------------------------------- download */

.download { background: var(--panel); }
.pkg {
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 11px;
  padding: 16px 18px;
}
.pkg h3 { margin-bottom: 4px; color: var(--accent); font-family: ui-monospace, Menlo, monospace; }
.pkg p { color: var(--muted); font-size: 14px; margin: 0; }

pre {
  background: var(--panel); border: 1px solid var(--line); border-radius: 11px;
  padding: 16px 18px; overflow-x: auto; margin: 0 0 16px;
}
pre code { background: none; border: 0; padding: 0; font-size: 13.5px; line-height: 1.75; }

/* ---------------------------------------------------------------- limits */

.limits { list-style: none; padding: 0; margin: 0; }
.limits li {
  border-top: 1px dashed var(--line); padding: 13px 0 13px 30px; position: relative;
  color: #c2c9d6; max-width: 92ch;
}
.limits li:first-child { border-top: 0; }
.limits li::before {
  content: "×"; position: absolute; left: 6px; top: 13px; color: var(--muted);
  font-weight: 700;
}

/* ---------------------------------------------------------------- footer */

footer {
  padding: 40px max(20px, calc((100vw - var(--max)) / 2)) 56px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 14px;
}
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; margin: 14px 0; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .three, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evidence-grid, .shots { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  main > section { padding: 44px 18px; }
  .three, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .top nav { gap: 13px; }
  .top nav a:not(.cta) { display: none; }
}

@media print {
  .top { position: static; }
  body { background: #fff; color: #000; }
}
