/* Audio Master website - one stylesheet for every page. No web fonts or scripts: fast first paint (Core Web Vitals). */
:root {
  color-scheme: dark;
  --bg: #12132a; --bg2: #181a36; --card: #222443; --card2: #1b1d38; --line: rgba(190, 200, 255, .13);
  --fg: #eef0fb; --dim: #a6acd0; --dim2: #7f86ad;
  --acc: #ff7a45; --acc2: #ff9a5c; --teal: #3fd0e0; --violet: #8b6cff;
  --rainbow: linear-gradient(90deg, #16bdb5, #2aa8f2, #8b6cff, #f2508f, #ff7a59, #f5a524);
  --r: 20px; --wrap: 1160px;
  --font: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--fg); letter-spacing: -.005em;
  background: var(--bg) radial-gradient(1200px 700px at 85% -10%, rgba(139, 108, 255, .22), transparent 60%) no-repeat,
              radial-gradient(900px 600px at -10% 20%, rgba(22, 189, 181, .14), transparent 60%) no-repeat;
  background-color: var(--bg);
}
:lang(ko) body, body:lang(ko) { word-break: keep-all; }
img { max-width: 100%; height: auto; display: block; }
a { color: #9fb2ff; }
a:hover { color: #c6d1ff; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(18, 19, 42, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); 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(--fg); text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--dim); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: var(--fg); background: rgba(255, 255, 255, .06); }
.lang { font-size: 14px; font-weight: 700; color: var(--fg); text-decoration: none; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; }
.lang:hover { background: rgba(255, 255, 255, .06); color: var(--fg); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; font-weight: 800; font-size: 16px; text-decoration: none; line-height: 1.2; border: 1px solid transparent; transition: transform .15s, filter .15s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn small { display: block; font-size: 12px; font-weight: 600; opacity: .85; }
.btn-main { color: #fff; background: linear-gradient(180deg, var(--acc2), var(--acc)); box-shadow: 0 10px 28px -10px rgba(255, 122, 69, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-main:hover { color: #fff; }
.btn-ghost { color: var(--fg); background: rgba(255, 255, 255, .05); border-color: var(--line); }
.btn-ghost:hover { color: var(--fg); background: rgba(255, 255, 255, .09); }

/* hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--teal); background: rgba(63, 208, 224, .1); border: 1px solid rgba(63, 208, 224, .25); padding: 6px 12px; border-radius: 999px; margin: 0 0 18px; }
h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.15; letter-spacing: -.03em; margin: 0 0 20px; font-weight: 850; }
h1 .grad { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--dim); margin: 0 0 30px; max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.note { font-size: 14px; color: var(--dim2); margin: 16px 0 0; }
.shots-hero { position: relative; padding-bottom: 40px; }
.win { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #0d0e20; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .03); }
.win-bar { display: flex; gap: 7px; padding: 10px 12px; background: #1c1d38; }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3b3d63; }
.phone { position: absolute; right: -12px; bottom: 0; width: 30%; border-radius: 28px; overflow: hidden; border: 6px solid #0b0c1c; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08); background: #0b0c1c; }

/* facts strip */
.facts { padding: 18px 0 8px; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.facts li { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); font-size: 15px; color: var(--dim); }
.facts b { display: block; color: var(--fg); font-size: 16px; }
.facts svg { width: 26px; height: 26px; flex: none; color: var(--teal); }

/* sections */
section { padding: 72px 0; }
.sec-h { max-width: 720px; margin: 0 0 36px; }
.sec-h.center { margin-left: auto; margin-right: auto; text-align: center; }
h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; letter-spacing: -.025em; margin: 0 0 12px; font-weight: 820; }
.sec-h p { color: var(--dim); margin: 0; font-size: 18px; }
h3 { font-size: 20px; line-height: 1.35; margin: 0 0 8px; letter-spacing: -.015em; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { padding: 24px; border-radius: var(--r); background: linear-gradient(180deg, var(--card), var(--card2)); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.card p { margin: 0; color: var(--dim); font-size: 16px; }
.card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(139, 108, 255, .15); color: #b9a6ff; }
.card .ic svg { width: 24px; height: 24px; }
.card ul { margin: 10px 0 0; padding-left: 18px; color: var(--dim); font-size: 15px; }
.tag { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 6px; background: rgba(255, 216, 77, .14); color: #ffd84d; margin-left: 6px; vertical-align: 2px; }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 24px 24px 24px 76px; border-radius: var(--r); background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.steps li::before { content: counter(s); position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 850; background: var(--rainbow); color: #10112a; }
.steps p { margin: 0; color: var(--dim); font-size: 16px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--card2); border: 1px solid var(--line); }
.gallery figcaption { padding: 14px 16px; font-size: 15px; color: var(--dim); }
.gallery figcaption b { color: var(--fg); display: block; font-size: 16px; }
.g-wide { grid-column: span 6; }
.g-phone { grid-column: span 4; }
.g-phone img { aspect-ratio: 390 / 600; object-fit: cover; object-position: top; width: 100%; }

/* download */
.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dl .card { display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.dl .card h3 { display: flex; align-items: center; gap: 12px; font-size: 24px; margin: 0; }
.dl .card h3 svg { width: 30px; height: 30px; }
.dl dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.dl dt { color: var(--dim2); }
.dl dd { margin: 0; color: var(--fg); }
.dl .btn { align-self: flex-start; margin-top: auto; }
.small { font-size: 14px; color: var(--dim2); margin: 0; }

/* privacy band */
.band { border-radius: 28px; padding: 44px; background: linear-gradient(135deg, rgba(22, 189, 181, .16), rgba(139, 108, 255, .16)); border: 1px solid rgba(160, 200, 255, .2); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.band svg { width: 64px; height: 64px; color: var(--teal); }
.band h2 { margin-bottom: 8px; }
.band p { margin: 0; color: var(--dim); font-size: 18px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 750; font-size: 17px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--dim); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 20px; color: var(--dim); font-size: 16px; }
.faq details > div p { margin: 0 0 8px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; margin-top: 40px; color: var(--dim2); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer a { color: var(--dim); text-decoration: none; display: inline-block; padding: 10px 0; }
footer a:hover { color: var(--fg); text-decoration: underline; }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }

@media (max-width: 960px) {
  .hero { padding-top: 44px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-wide { grid-column: span 12; }
  .g-phone { grid-column: span 6; }
  .nav { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .grid, .steps, .dl { grid-template-columns: 1fr; }
  .facts ul { grid-template-columns: 1fr; }
  .g-phone { grid-column: span 12; }
  .band { grid-template-columns: 1fr; padding: 28px; }
  .btn { width: 100%; justify-content: center; }
  .dl .btn { align-self: stretch; }
  .phone { width: 34%; right: -4px; border-width: 4px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
