/* SineWav user manual. Self-contained: no external fonts or scripts. */
:root {
  --bg: #0a0d12; --panel: #111823; --edge: #1f2833; --text: #d9e2ec; --dim: #8a99ab;
  --teal: #3fe0c5; --violet: #9b7bff; --amber: #ffc35c; --rose: #ff5c8a;
  --max: 920px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.65 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; }
a { color: var(--teal); }
a:hover { color: #7ff0dc; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px 80px; }
header.top { border-bottom: 1px solid var(--edge); margin-bottom: 28px; }
header.top .wrap { padding-top: 34px; padding-bottom: 26px; }
.brand { font-size: 15px; letter-spacing: .28em; text-transform: uppercase; color: var(--dim); margin: 0 0 6px; }
h1 { font-size: 40px; line-height: 1.15; margin: 0 0 10px;
  background: linear-gradient(90deg, var(--teal), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--dim); margin: 0; }
h2 { font-size: 28px; margin: 56px 0 12px; padding-top: 12px; border-top: 1px solid var(--edge); }
h3 { font-size: 20px; margin: 30px 0 8px; color: #fff; }
h4 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin: 22px 0 6px; }
p, ul, ol { margin: 0 0 14px; }
li { margin: 4px 0; }
code, kbd { font: 14px/1.4 Consolas, "Cascadia Mono", monospace; background: var(--panel); border: 1px solid var(--edge);
  border-radius: 4px; padding: 1px 6px; }
.toc { background: var(--panel); border: 1px solid var(--edge); border-radius: 10px; padding: 16px 22px; columns: 2 260px; }
.toc a { text-decoration: none; }
.toc ol { margin: 0; padding-left: 20px; }
figure { margin: 18px 0 22px; }
figure img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid var(--edge); }
figcaption { color: var(--dim); font-size: 14px; margin-top: 6px; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 15.5px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--edge); }
th { color: var(--dim); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
td:first-child { white-space: nowrap; font-weight: 600; color: #fff; }
td.range { white-space: nowrap; color: var(--dim); }
.note { border-left: 3px solid var(--amber); background: rgba(255,195,92,.07); padding: 10px 14px; border-radius: 0 8px 8px 0; margin: 14px 0; }
.tip { border-left: 3px solid var(--teal); background: rgba(63,224,197,.07); padding: 10px 14px; border-radius: 0 8px 8px 0; margin: 14px 0; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--dim); font-size: 15px; margin: 4px 0 14px; }
.facts b { color: var(--text); font-weight: 600; }
.back { font-size: 14px; }
footer { border-top: 1px solid var(--edge); color: var(--dim); font-size: 14px; }
footer .wrap { padding-top: 22px; padding-bottom: 40px; }
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 32px; }
  td:first-child { white-space: normal; }
  table { font-size: 14.5px; }
  th, td { padding: 7px 6px; }
}
