/* audio-remover.shopifyai.xyz — audio tool design system
   Clean pro-tool look (remove-audio generation) without copying it:
   dark ink on warm paper, single accent (signal blue), mono for stats. */
:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --surface2: #f1f0ee;
  --ink: #18181b;
  --ink2: #57534e;
  --line: #e5e4e1;
  --accent: #2563eb;
  --accent2: #1d4ed8;
  --ok: #16a34a;
  --warn: #d97706;
  --err: #dc2626;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.65 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px 64px; }
.muted { color: var(--ink2); font-size: 13px; }

header.site { background: var(--surface); border-bottom: 1px solid var(--line); }
header.site .inner { max-width: 980px; margin: 0 auto; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
header.site h1 { margin: 0; font-size: 17px; letter-spacing: .2px; }
header.site h1 b { color: var(--accent); font-weight: 800; }
header.site nav { display: flex; gap: 16px; font-size: 13.5px; }
header.site nav a { color: var(--ink2); }
header.site nav a:hover { color: var(--ink); }

.hero { padding: 40px 0 8px; text-align: center; }
.hero h2 { font-size: clamp(26px, 5vw, 40px); line-height: 1.15; margin: 0 0 10px; letter-spacing: -0.5px; }
.hero p.lead { max-width: 640px; margin: 0 auto; color: var(--ink2); font-size: 15.5px; }
.badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 16px 0 0; }
.badges span { font-size: 12px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink2); }

/* tool panel */
.tool { margin: 26px auto 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; max-width: 760px; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.dropzone { border: 2px dashed #c9c7c2; border-radius: 10px; padding: 34px 18px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: #f5f8ff; }
.dropzone .dz-ic { width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 10px; background: #eef2ff; display: flex; align-items: center; justify-content: center; }
.dropzone .dz-ic svg { width: 22px; height: 22px; stroke: var(--accent); }
.dropzone b { display: block; font-size: 15px; }
.dropzone .muted { margin-top: 4px; }
.core-status { margin-top: 12px; font-size: 12.5px; color: var(--ink2); font-family: var(--mono); }
.core-status .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); margin-right: 6px; vertical-align: 1px; }
.core-status.ready .dot { background: var(--ok); }

.flist { margin: 14px 0 0; }
.frow { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; background: var(--surface2); font-size: 13.5px; }
.frow .fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frow .fsize { font-family: var(--mono); color: var(--ink2); font-size: 12px; }
.frow .fstat { font-size: 12px; font-family: var(--mono); }
.frow .fstat.wait { color: var(--ink2); }
.frow .fstat.run { color: var(--accent); }
.frow .fstat.ok { color: var(--ok); }
.frow .fstat.err { color: var(--err); }
.frow a.dl { font-weight: 700; }

.actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
button.btn { font: inherit; font-weight: 700; border: none; border-radius: 9px; padding: 11px 20px; cursor: pointer; }
button.btn.primary { background: var(--accent); color: #fff; }
button.btn.primary:hover { background: var(--accent2); }
button.btn.primary:disabled { background: #b6c4ef; cursor: not-allowed; }
button.btn.ghost { background: var(--surface2); color: var(--ink); border: 1px solid var(--line); }
.pbar { height: 7px; background: var(--surface2); border-radius: 4px; overflow: hidden; margin-top: 10px; }
.pbar > div { height: 100%; width: 0; background: var(--accent); transition: width .2s; }

/* sections */
h2.sec { font-size: 19px; margin: 44px 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0; }
.grid3 .cell { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 14px 16px; }
.grid3 .cell b { display: block; margin-bottom: 4px; font-size: 14px; }
.grid3 .cell p { margin: 0; font-size: 13px; color: var(--ink2); }
ol.howto { padding-left: 0; list-style: none; counter-reset: hw; margin: 14px 0; }
ol.howto li { counter-increment: hw; display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
ol.howto li::before { content: counter(hw, decimal-leading-zero); font-family: var(--mono); font-weight: 800; color: var(--accent); font-size: 18px; }
.faq details { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 12px 16px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.faq p { margin: 8px 0 0; font-size: 13.5px; color: var(--ink2); }
.notice { font-size: 12px; color: var(--ink2); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 40px; }
footer.site { background: #141416; color: #a1a1aa; font-size: 12.5px; padding: 18px 20px; margin-top: 56px; }
footer.site .inner { max-width: 980px; margin: 0 auto; }
footer.site a { color: #e4e4e7; }
.prose { max-width: 760px; }
.prose h2 { font-size: 18px; margin: 30px 0 8px; }
.prose p, .prose li { font-size: 14px; }
@media (max-width: 720px) { .grid3 { grid-template-columns: 1fr; } .hero { padding-top: 28px; } }
.notice a { text-decoration: underline; color: var(--accent2); font-weight: 600; }
