/* Encore Audio website. No web fonts, trackers or scripts from other sites: system fonts only. */
:root {
  --bg: #0b111c;
  --panel: #121a2a;
  --panel2: #18233a;
  --line: #24314b;
  --text: #e8edf6;
  --muted: #93a1b8;
  --accent: #4c8dff;
  --accent-ink: #0a1a3a;
  --radius: 14px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f8fc; --panel: #ffffff; --panel2: #eef2f9; --line: #d9e0ec;
    --text: #0e1626; --muted: #55627a; --accent: #2f6fe4; --accent-ink: #ffffff;
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.65 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
header.site .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
nav.main { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
nav.main a { color: var(--muted); padding: 6px 10px; border-radius: 8px; font-size: 15px; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--text); background: var(--panel2); text-decoration: none; }

/* Hero */
.hero { padding: 72px 0 48px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.5px; }
.hero p.lead { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); max-width: 760px; margin: 0 0 28px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.badge { border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: 999px; padding: 3px 12px; font-size: 14px; }
.buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 11px 22px; border-radius: 10px; font-weight: 600; border: 1px solid var(--line); color: var(--text); background: var(--panel2); }
.btn:hover { text-decoration: none; border-color: var(--accent); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* Sections */
section { padding: 36px 0; }
h2 { font-size: 28px; line-height: 1.2; margin: 0 0 14px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.muted { color: var(--muted); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .icon { font-size: 22px; margin-bottom: 8px; color: var(--accent); }
.callout { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; margin: 18px 0; }
.steps { counter-reset: s; padding: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 48px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.download { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.download .meta { color: var(--muted); font-size: 14.5px; }

/* Long text pages (privacy, licence, FAQ) */
.doc { max-width: 780px; padding-top: 40px; padding-bottom: 20px; }
.doc h1 { font-size: 36px; margin: 0 0 6px; }
.doc h2 { font-size: 22px; margin: 34px 0 8px; }
.doc h3 { font-size: 18px; margin: 22px 0 4px; }
.doc p, .doc li { color: var(--text); }
.doc pre { white-space: pre-wrap; font-family: inherit; font-size: 15px; line-height: 1.6; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 2px; color: var(--muted); }

/* Footer */
footer.site { border-top: 1px solid var(--line); margin-top: 48px; padding: 28px 0 40px; color: var(--muted); font-size: 14.5px; }
footer.site .wrap { display: flex; gap: 18px 28px; flex-wrap: wrap; justify-content: space-between; }
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
