/* loudwise.geekrew.com - one stylesheet for every page (scripts/build-site.mjs). Bright, with depth: layered soft
   shadows and gradients, like the extension itself. Light only on purpose (the owner's rule: no automatic dark mode). */
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #7c3aed;
  --brand-2: #ea580c;
  --brand-ink: #5b21b6;
  --bg: #faf9ff;
  --card: #ffffff;
  --ok: #047857;
  --radius: 18px;
  --shadow-1: 0 1px 2px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-2: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(46, 16, 101, 0.08), 0 24px 48px -12px rgba(124, 58, 237, 0.16);
  --shadow-3: 0 2px 4px rgba(15, 23, 42, 0.06), 0 18px 40px rgba(46, 16, 101, 0.12), 0 40px 80px -20px rgba(124, 58, 237, 0.28);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font: 16px/1.6 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(124, 58, 237, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(124, 58, 237, 0.10), transparent 60%),
    var(--bg);
  min-height: 100vh;
}
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-ink); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: #fff; padding: 8px 12px; border-radius: 10px; box-shadow: var(--shadow-2); }

/* ---- header ---------------------------------------------------------------------------------------------------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 6px 24px -18px rgba(46, 16, 101, 0.35);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--brand); }
.nav .btn { color: #fff; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }
@media (max-width: 560px) { .nav .btn { display: none; } }

/* ---- buttons --------------------------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-weight: 650; font-size: 15px; line-height: 1.2;
  text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  color: #fff;
  background: linear-gradient(180deg, #6366f1, var(--brand) 55%, #4338ca);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(15, 23, 42, 0.2), 0 8px 20px -6px rgba(124, 58, 237, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 4px rgba(15, 23, 42, 0.2), 0 14px 28px -8px rgba(124, 58, 237, 0.65); }
.btn.small { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn.ghost {
  color: var(--brand-ink);
  background: linear-gradient(180deg, #ffffff, #f5f7ff);
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.25), var(--shadow-1);
}
.btn.ghost:hover { color: var(--brand-ink); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.4), var(--shadow-2); }
.btn.soon { cursor: default; background: linear-gradient(180deg, #94a3b8, #64748b); box-shadow: var(--shadow-1); }
.btn.soon:hover { transform: none; }
.btn svg { flex: none; }
@media (max-width: 480px) { .cta .btn, .center .btn { white-space: normal; text-align: center; width: 100%; } }

/* ---- hero ------------------------------------------------------------------------------------------------------ */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-ink); }
.hero h1 { margin: 14px 0 16px; font-size: clamp(36px, 5.2vw, 56px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 850; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 36em; margin: 0 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 550; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
.chips svg { color: var(--brand); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.shot {
  margin: 0; border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06), var(--shadow-3);
  transform: perspective(1600px) rotateY(-4deg) rotateX(2deg);
}
.shot .bar { display: flex; gap: 6px; padding: 10px 12px; background: linear-gradient(180deg, #f8fafc, #eef2f7); border-bottom: 1px solid var(--line); }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
@media (max-width: 900px) { .shot { transform: none; } }

/* ---- sections ---------------------------------------------------------------------------------------------------- */
section { padding: 56px 0; }
.sec-title { text-align: center; margin: 0 auto 36px; max-width: 720px; }
.sec-title h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; letter-spacing: -0.02em; margin: 8px 0 10px; font-weight: 800; }
.sec-title p { color: var(--ink-2); margin: 0; font-size: 17px; }
.grid { display: grid; gap: 18px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .grid.five { grid-template-columns: repeat(3, 1fr); } .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid.five, .grid.four { grid-template-columns: 1fr; } }
.card {
  position: relative; background: var(--card); border-radius: var(--radius); padding: 22px;
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.9), var(--shadow-2);
}
.card h3 { margin: 14px 0 6px; font-size: 17px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 18px -6px rgba(15, 23, 42, 0.45);
}
.tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; vertical-align: 2px; color: #78350f; background: linear-gradient(180deg, #fde68a, #fbbf24); box-shadow: 0 1px 2px rgba(120, 53, 15, 0.25); }
.g-indigo { background: linear-gradient(135deg, #6366f1, #4338ca); }
.g-sky { background: linear-gradient(135deg, #0ea5e9, #1d4ed8); }
.g-violet { background: linear-gradient(135deg, #8b5cf6, #7e22ce); }
.g-emerald { background: linear-gradient(135deg, #10b981, #0f766e); }
.g-orange { background: linear-gradient(135deg, #fb923c, #e11d48); }
.g-rose { background: linear-gradient(135deg, #f43f5e, #be185d); }
.g-cyan { background: linear-gradient(135deg, #06b6d4, #0369a1); }
.g-slate { background: linear-gradient(135deg, #64748b, #1e293b); }
.g-fuchsia { background: linear-gradient(135deg, #d946ef, #7e22ce); }

/* ---- screenshots --------------------------------------------------------------------------------------------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .shots { grid-template-columns: 1fr; } }
.shots figure { margin: 0; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06), var(--shadow-2); }
.shots img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); }
.shots figcaption { padding: 14px 16px 16px; font-size: 15px; color: var(--ink-2); }
.shots figcaption b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 2px; }

/* ---- privacy band --------------------------------------------------------------------------------------------- */
.band {
  border-radius: 24px; padding: 40px; color: #fff;
  background: radial-gradient(800px 300px at 90% 0%, rgba(255, 255, 255, 0.18), transparent 60%), linear-gradient(135deg, #4f46e5, #7c3aed 60%, #9333ea);
  box-shadow: var(--shadow-3);
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
}
.band h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; }
.band p { margin: 0; color: rgba(255, 255, 255, 0.92); font-size: 17px; max-width: 52em; }
.band .big { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 12px 30px -10px rgba(15, 23, 42, 0.5); }
@media (max-width: 700px) { .band { grid-template-columns: 1fr; padding: 28px; } }

/* ---- pricing --------------------------------------------------------------------------------------------------- */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1000px) { .prices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .prices { grid-template-columns: 1fr; } }
.price { display: flex; flex-direction: column; }
.price h3 { margin: 0; font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.price .amount { font-size: 38px; font-weight: 850; letter-spacing: -0.03em; margin: 10px 0 2px; }
.price .amount small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price .sub { font-size: 14px; color: var(--muted); min-height: 22px; }
.price ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.price li { display: flex; gap: 8px; align-items: flex-start; }
.price li svg { color: var(--ok); flex: none; margin-top: 3px; }
.price.best { box-shadow: inset 0 0 0 2px var(--brand), var(--shadow-3); }
.price .ribbon { position: absolute; top: -12px; right: 18px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(90deg, var(--brand), var(--brand-2)); box-shadow: 0 6px 16px -6px rgba(124, 58, 237, 0.8); }
.fine { text-align: center; color: var(--muted); font-size: 14px; margin: 22px auto 0; max-width: 760px; }

/* ---- FAQ ------------------------------------------------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 14px; padding: 4px 20px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
.faq summary { cursor: pointer; font-weight: 650; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand); font-weight: 800; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 16px; color: var(--ink-2); }

/* ---- documents (privacy, terms, refund) ------------------------------------------------------------------------ */
.doc { max-width: 820px; margin: 40px auto 64px; background: #fff; border-radius: 22px; padding: 44px 48px; box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.9), var(--shadow-2); }
@media (max-width: 700px) { .doc { padding: 28px 20px; margin-top: 24px; } }
.doc h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.02em; margin: 0 0 6px; line-height: 1.15; }
.doc h2 { font-size: 21px; margin: 32px 0 8px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc em { color: var(--muted); }
.doc a { word-break: break-word; }

/* ---- footer ---------------------------------------------------------------------------------------------------- */
.foot { margin-top: 24px; padding: 36px 0 44px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), #fff); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--brand); }

.center { text-align: center; }
.mt { margin-top: 28px; }

/* ---- Loudwise additions ------------------------------------------------------------------------------------- */
.grid.three { grid-template-columns: repeat(3, 1fr); }
.band.light { background: linear-gradient(135deg, #fff7ed, #f5f3ff); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.12), var(--shadow-2); }
.band.light p { color: var(--ink-2); }
.band.light .big { background: linear-gradient(135deg, #fb923c, #7c3aed); color: #fff; }
.wrap.one { display: block; }
.tool-hero { padding-bottom: 24px; }
.center-lead { margin-left: auto; margin-right: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tool { max-width: 640px; margin: 28px auto 0; display: flex; flex-direction: column; gap: 18px; padding: 26px; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 18px; border-radius: 16px; cursor: pointer; text-align: center;
  background: linear-gradient(180deg, #faf9ff, #f3efff); border: 2px dashed rgba(124, 58, 237, 0.35); color: var(--ink-2); transition: border-color .15s, background .15s; }
.drop svg { color: var(--brand); }
.drop.over, .drop:hover { border-color: var(--brand); background: #f1ebff; }
.drop:focus-within { outline: 2px solid var(--brand); outline-offset: 3px; }
.drop small { color: var(--muted); font-size: 13px; }
.tool .row { display: flex; align-items: center; gap: 14px; }
.tool .row label, .tool .row output { white-space: nowrap; }
.tool output { min-width: 56px; text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--brand-ink); }
.tool .check { gap: 10px; color: var(--ink-2); cursor: pointer; }
.tool .check input { width: 18px; height: 18px; accent-color: var(--brand); }
.range { -webkit-appearance: none; appearance: none; flex: 1; height: 26px; background: transparent; }
.range::-webkit-slider-runnable-track { height: 10px; border-radius: 999px;
  background: linear-gradient(90deg, transparent var(--fill, 40%), #e9e7f2 var(--fill, 40%)), linear-gradient(90deg, #a78bfa, #7c3aed 50%, #f97316 75%, #ea580c);
  box-shadow: inset 0 1px 2px rgba(46, 16, 101, 0.18); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #ece7fb); border: 1px solid rgba(91, 33, 182, 0.25); box-shadow: 0 6px 14px -6px rgba(109, 40, 217, 0.7); }
.range::-moz-range-track { height: 10px; border-radius: 999px; background: #e9e7f2; }
.range::-moz-range-progress { height: 10px; border-radius: 999px; background: linear-gradient(90deg, #a78bfa, #7c3aed); }
.tool .btn[disabled] { opacity: 0.55; cursor: default; transform: none; }
.status { margin: 0; min-height: 1.4em; font-size: 15px; color: var(--ink-2); }
.result { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
/* "display: flex" above would show a result the page still hides (the hidden attribute is only the browser's style). */
.result[hidden] { display: none; }
.result audio { flex: 1; min-width: 240px; }
@media (max-width: 900px) { .grid.three { grid-template-columns: 1fr; } }

.tool .segs { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: auto repeat(5, 1fr); gap: 6px; align-items: center; }
.tool .segs legend { float: left; margin-right: 8px; padding: 0; }
.seg { display: block; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 7px 4px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); background: #f3f0fb; box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.12); }
.seg span small { display: block; font-size: 11px; font-weight: 600; color: #475569; }
.seg input:checked + span { background: #fff; color: var(--brand-ink); box-shadow: inset 0 0 0 2px var(--brand), 0 6px 14px -8px rgba(124, 58, 237, 0.7); }
.seg input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 600px) { .tool .segs { grid-template-columns: repeat(5, 1fr); } .tool .segs legend { grid-column: 1 / -1; } }

/* ---- free tools: cards on the home page and at the end of each tool, the footer list ---------------------------- */
a.tool-card { display: block; color: inherit; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease; }
a.tool-card:hover { color: inherit; transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.3), var(--shadow-3); }
a.tool-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
a.tool-card h3 { color: var(--brand-ink); }
.more-tools { padding-top: 24px; }
.foot-tools { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.foot-tools b { color: var(--ink); font-weight: 650; }

/* ---- guides: numbered steps, code and keys in the text, the "more guides" strip, the footer's guides row -------- */
.doc ol { padding-left: 26px; }
.doc ol > li { padding-left: 4px; }
.doc ol > li::marker { color: var(--brand); font-weight: 800; }
.doc code { font: 600 14px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 1px 6px; border-radius: 6px; color: var(--brand-ink);
  background: #f3f0fb; box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.14); word-break: break-word; }
.grid.two { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
@media (max-width: 700px) { .grid.two { grid-template-columns: 1fr; } }
.more-guides { padding-top: 24px; }
.doc + section { padding-top: 0; }
.foot-tools + .foot-tools { margin-top: -6px; }
/* A lone last card in a three-column grid takes the whole row, icon beside the text; two last cards share it (the
   grid counts sixths, so two halves fit as well as three thirds). */
@media (min-width: 901px) {
  .grid.three { grid-template-columns: repeat(6, 1fr); }
  .grid.three > * { grid-column: span 2; }
  .grid.three > :nth-last-child(2):nth-child(3n + 1), .grid.three > :last-child:nth-child(3n + 2) { grid-column: span 3; }
  .grid.three > .card:last-child:nth-child(3n + 1) { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; }
  .grid.three > .card:last-child:nth-child(3n + 1) .ico { grid-row: span 2; }
  .grid.three > .card:last-child:nth-child(3n + 1) h3 { margin-top: 0; }
}

/* ---- the sound tools (/sound-test/, /tone-generator/; site/sound-ui.ts) ------------------------------------------- */
.sound-tool { max-width: 720px; gap: 20px; }
.sound-tool .row label { white-space: nowrap; }
.safety { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 15px; line-height: 1.5;
  color: #7c2d12; background: linear-gradient(180deg, #fff7ed, #ffedd5); box-shadow: inset 0 0 0 1px rgba(234, 88, 12, 0.22); }
.safety svg { flex: none; margin-top: 2px; color: #c2410c; }
kbd { font: 650 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 2px 6px; border-radius: 6px; color: var(--ink); background: #fff;
  box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.2), inset 0 0 0 1px rgba(15, 23, 42, 0.12); }
.vol-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.vol-row .range { flex: 1 1 140px; min-width: 0; }
.btn.stop { background: linear-gradient(180deg, #e11d48, #be123c 55%, #9f1239);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(15, 23, 42, 0.2), 0 8px 20px -6px rgba(190, 18, 60, 0.55); }
.btn.stop:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 2px 4px rgba(15, 23, 42, 0.2), 0 14px 28px -8px rgba(190, 18, 60, 0.6); }
.float-stop { position: fixed; z-index: 40; left: 0; right: 0; bottom: 16px; width: max-content; margin: 0 auto; padding: 12px 22px; }
.float-stop[hidden] { display: none; }
.btn:focus-visible, .chip:focus-visible, .pad:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.test { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.test h2 { margin: 0; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
.test p { margin: 0; color: var(--ink-2); font-size: 15px; }
.pads { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; }
.pads.two { grid-template-columns: repeat(2, 1fr); }
.pad { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 84px; padding: 12px 8px; border: 0; border-radius: 14px;
  cursor: pointer; font: inherit; font-size: 15px; font-weight: 650; line-height: 1.25; text-align: center; color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #f5f3ff); box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.2), var(--shadow-1);
  transition: transform 0.12s ease, box-shadow 0.12s ease; }
.pad svg { color: var(--brand); }
.pad small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.pad:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.38), var(--shadow-2); }
.pad.live { color: var(--brand-ink); background: linear-gradient(180deg, #f5f3ff, #e4dcfd); box-shadow: inset 0 0 0 2px var(--brand), var(--shadow-1); }
.pad[aria-pressed="true"] { color: #fff; background: linear-gradient(180deg, #7c3aed, #5b21b6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 22px -10px rgba(91, 33, 182, 0.9); }
.pad[aria-pressed="true"] svg, .pad[aria-pressed="true"] small { color: #fff; }
.flip { transform: scaleX(-1); }
.readout { font-weight: 850; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.sweep-live { display: flex; align-items: center; gap: 14px; }
.sweep-live .readout { flex: none; min-width: 6.4em; font-size: 24px; }
.meter { flex: 1; height: 8px; border-radius: 999px; overflow: hidden; background: #ece9f6; box-shadow: inset 0 1px 2px rgba(46, 16, 101, 0.15); }
.meter i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #a78bfa, #7c3aed 60%, #f97316); }
.tone-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 8px 14px; padding: 4px 0; }
.tone-head .readout { font-size: clamp(44px, 11vw, 68px); color: var(--brand-ink); }
.note-name { padding: 4px 11px; border-radius: 999px; font-weight: 750; font-size: 17px; color: var(--brand-ink); background: #f3f0fb; box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.18); }
.hz-row, .chips-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hz-row .chips-row { gap: 8px; }
.num { width: 8.5em; max-width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; font: inherit; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink);
  background: #fff; box-shadow: inset 0 0 0 1px #7c8ba1, inset 0 1px 2px rgba(15, 23, 42, 0.06); }
.num:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.chip { padding: 8px 12px; border: 0; border-radius: 10px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 650; line-height: 1.2; color: var(--brand-ink);
  background: linear-gradient(180deg, #ffffff, #f5f3ff); box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.24), var(--shadow-1); }
.chip:hover { box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.42), var(--shadow-2); }
.btn.play { padding: 14px 20px; font-size: 16px; }
.btn.is-on { background: linear-gradient(180deg, #e11d48, #be123c 55%, #9f1239); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 20px -6px rgba(190, 18, 60, 0.55); }
.btn .i-off, .btn.is-on .i-on { display: inline-flex; }
.btn .i-on, .btn.is-on .i-off { display: none; }
.sweep-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sweep-fields label { display: grid; gap: 4px; font-size: 14px; font-weight: 650; color: var(--ink-2); }
.sweep-fields .num { width: 100%; }
/* The effect converters (/8d-audio-converter/, /slowed-and-reverb-generator/; site/fx-tool.ts): the preview under the form. */
.fx-tool { max-width: 680px; }
.fx-result { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.fx-result .btn.ghost { justify-self: start; }
.player { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.player .range { flex: 1 1 160px; min-width: 0; }
.time { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.tool .segs.n2 { grid-template-columns: auto repeat(2, 1fr); }
.tool .segs.n3 { grid-template-columns: auto repeat(3, 1fr); }
.tool .segs.n4 { grid-template-columns: auto repeat(4, 1fr); }
.freq-card { max-width: 820px; margin: 0 auto; padding: 8px 22px; }
.freq { width: 100%; border-collapse: collapse; font-size: 15px; }
.freq th, .freq td { padding: 11px 8px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.freq tr:last-child th, .freq tr:last-child td { border-bottom: 0; }
.freq thead th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); }
.freq tbody th { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--brand-ink); }
.freq td { color: var(--ink-2); }
@media (max-width: 600px) {
  .tool .segs.n2 { grid-template-columns: repeat(2, 1fr); }
  .tool .segs.n3 { grid-template-columns: repeat(3, 1fr); }
  .tool .segs.n4 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  .sound-tool { padding: 18px; }
  .tool .segs.n4 { grid-template-columns: repeat(2, 1fr); }
  .sweep-fields { grid-template-columns: 1fr 1fr; }
  .freq-card { padding: 4px 14px; }
  .freq tbody th { white-space: normal; }
}
