/* Nyang Denoise site — same palette as the plugin: graphite ground, ember = noise removal, mint = voice. */
:root {
  --ground: #0b0c0f; --band: #0f1115; --panel: #13151a; --inner: #0e1014;
  --line: #1e2129; --line2: #262a33; --text: #e9ecf2; --text2: #c9d0db; --muted: #8f98a8; --faint: #6e7686;
  --ember: #ec883c; --mint: #6eeeb8; --lavender: #b8a9f6; --amber: #ffb547;
  --radius: 14px; --wrap: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
:lang(ko) { --font: "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif; word-break: keep-all; }
:lang(ja) { --font: "Segoe UI", "Yu Gothic UI", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif; }
:lang(zh-Hans) { --font: "Segoe UI", "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", system-ui, sans-serif; }
:lang(zh-Hant) { --font: "Segoe UI", "Microsoft JhengHei UI", "PingFang TC", "Noto Sans TC", system-ui, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--text2); font-family: var(--font); font-size: 16px; line-height: 1.6; }
a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(15,17,21,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.brand b { font-weight: 800; } .brand span { font-weight: 300; color: var(--text2); }
.nav { display: flex; gap: 18px; margin-left: auto; font-size: 14px; }
.nav a { color: var(--text2); }
.lang { background: var(--band); color: var(--text2); border: 1px solid var(--line2); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; }
@media (max-width: 760px) { .nav { display: none; } .lang { margin-left: auto; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); cursor: pointer; }
.btn:hover { text-decoration: none; border-color: var(--muted); }
.btn.ember { background: rgba(236,136,60,.14); border-color: var(--ember); color: var(--ember); }
.btn.mint { background: rgba(110,238,184,.12); border-color: var(--mint); color: var(--mint); }

/* hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.hero h1 { color: var(--text); font-size: clamp(32px, 4.4vw, 50px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -.01em; }
.hero p.sub { font-size: 18px; margin: 0 0 26px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.shot { border-radius: var(--radius); border: 1px solid var(--line2); box-shadow: 0 30px 80px rgba(0,0,0,.55); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { color: var(--text); font-size: 28px; margin: 0 0 22px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 8px; color: var(--text); font-size: 18px; }
.card p { margin: 0; }
.card.voice h3 { color: var(--mint); } .card.noise h3 { color: var(--ember); } .card.whisper h3 { color: var(--lavender); }

table.measure { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.measure th, table.measure td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.measure th { color: var(--muted); font-weight: 600; font-size: 14px; }
table.measure td.num { font-variant-numeric: tabular-nums; color: var(--text); font-weight: 600; }
.small { font-size: 14px; color: var(--muted); }

ul.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
ul.check li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 14px 44px; position: relative; }
ul.check li::before { content: ""; position: absolute; left: 16px; top: 20px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--amber); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.plan { background: var(--panel); border: 1px solid var(--line2); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.plan h3 { margin: 0; color: var(--text); font-size: 22px; }
.plan .price { font-size: 34px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.plan .btn { margin-top: auto; }
.plan.best { border-color: var(--ember); position: relative; }
.plan .deal { display: flex; align-items: center; gap: 10px; min-height: 28px; }
.plan .was { color: var(--muted); font-size: 20px; font-weight: 600; text-decoration: line-through; text-decoration-color: #ff4d4f; text-decoration-thickness: 3px; font-variant-numeric: tabular-nums; }
.plan .off { background: #ff4d4f; color: #fff; font-weight: 800; font-size: 14px; border-radius: 6px; padding: 2px 8px; }
.plan .off:empty, .plan .was:empty { display: none; }
.plan .tag { position: absolute; top: -13px; left: 24px; font-size: 12px; font-weight: 700; color: var(--ground); background: var(--ember); border-radius: 999px; padding: 4px 12px; }
.plans { padding-top: 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.badge { border: 1px solid var(--mint); color: var(--mint); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.badge.ember { border-color: var(--ember); color: var(--ember); }

ol.steps { padding-left: 22px; } ol.steps li { margin: 6px 0; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; color: var(--text); font-weight: 600; }
details p { margin: 10px 0 0; }

footer { border-top: 1px solid var(--line); background: var(--band); padding: 30px 0 40px; font-size: 14px; color: var(--muted); }
footer .links { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 14px; }
footer .links a { color: var(--text2); }
footer p { margin: 4px 0; }

/* before / after player */
.ab { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--line2); border-radius: var(--radius); padding: 16px; }
.ab #ab-play { min-width: 110px; }
.ab-switch { display: inline-flex; border: 1px solid var(--line2); border-radius: 999px; padding: 3px; background: var(--inner); }
.ab-switch button { font: inherit; font-weight: 700; font-size: 14px; border: 0; border-radius: 999px; padding: 9px 16px; background: transparent; color: var(--muted); cursor: pointer; }
.ab-switch button.on[data-ab="before"] { background: var(--line2); color: var(--text); }
.ab-switch button.on[data-ab="after"] { background: var(--mint); color: var(--ground); }
.ab-bar { flex: 1 1 200px; height: 6px; border-radius: 3px; background: var(--line2); overflow: hidden; }
.ab-fill { height: 100%; width: 0; background: var(--ember); }
.ab-clips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ab-clips button { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel); color: var(--text2); cursor: pointer; }
.ab-clips button.on { border-color: var(--ember); color: var(--ember); background: rgba(236,136,60,.10); }
img.spec { margin-top: 18px; border-radius: var(--radius); border: 1px solid var(--line); }

/* manual and legal pages */
.doc { padding: 40px 0 60px; }
.doc .wrap { display: grid; grid-template-columns: 220px 1fr; gap: 36px; }
.doc nav.toc { position: sticky; top: 84px; align-self: start; display: grid; gap: 6px; font-size: 14px; }
.doc nav.toc a { color: var(--text2); }
.doc article h1 { color: var(--text); margin-top: 0; }
.doc article h2 { color: var(--text); margin-top: 36px; padding-top: 8px; border-top: 1px solid var(--line); }
.doc article code { background: var(--inner); border: 1px solid var(--line2); border-radius: 6px; padding: 1px 6px; font-size: .92em; }
.doc article .tip { border-left: 3px solid var(--mint); background: var(--panel); padding: 10px 14px; border-radius: 0 10px 10px 0; }
.doc article .warn { border-left: 3px solid var(--amber); background: var(--panel); padding: 10px 14px; border-radius: 0 10px 10px 0; }
@media (max-width: 820px) { .doc .wrap { grid-template-columns: 1fr; } .doc nav.toc { position: static; } }
.notice { background: rgba(255,181,71,.08); border: 1px solid rgba(255,181,71,.4); color: var(--text2); padding: 10px 14px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; }
