/* AI음원 연금술사 공용 디자인 시스템
   기준: aimusicalchemist.com (네이비 헤더 + 오렌지/옐로 포인트 + 밝은 본문) */
:root{
  --navy:#001a3d; --navy2:#0b2a5c; --navy3:#1d3f8f;
  --orange:#ff7a1a; --yellow:#ffb21a; --burnt:#8a4b00;
  --text:#1a1f36; --muted:#4f586c; --line:#e3e6f0;
  --bg:#f5f6fb; --panel:#fff; --panel-2:#f0f2f7;
  --good:#15803d;
}
*{box-sizing:border-box}
body{
  margin:0; background:var(--bg); color:var(--text); line-height:1.65; font-size:19px;
  font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Pretendard","Noto Sans KR","Malgun Gothic",sans-serif;
}

/* ── 상단 네이비 바 + 탭 ── */
.site-head{ background:var(--navy); color:#fff; position:sticky; top:0; z-index:20; }
.site-top{ max-width:1040px; margin:auto; padding:12px 22px; display:flex; align-items:center; gap:12px; }
.site-top a{ color:#fff; text-decoration:none; }
.site-brand{ display:flex; align-items:center; gap:10px; font-weight:800; font-size:18px; white-space:nowrap; }
.site-brand img{ height:30px; width:30px; border-radius:8px; object-fit:cover; }
.site-brand img.wide{ height:34px; width:auto; border-radius:0; object-fit:contain; }
.site-nav{ margin-left:auto; display:flex; gap:4px; flex-wrap:wrap; }
.site-nav .tab{ padding:9px 15px; border-radius:10px; font-weight:700; font-size:16px; opacity:.85; white-space:nowrap; }
.site-nav .tab.on,.site-nav .tab:hover{ background:rgba(255,255,255,.14); opacity:1; }
@media(max-width:760px){
  .site-top{ padding:10px 14px; flex-wrap:wrap; }
  .site-brand{ font-size:16px; }
  .site-brand img.wide{ height:26px; }
  .site-nav{ width:100%; margin-left:0; overflow-x:auto; flex-wrap:nowrap; scrollbar-width:none; }
  .site-nav::-webkit-scrollbar{ display:none; }
  .site-nav .tab{ font-size:14.5px; padding:8px 12px; }
}

/* ── 히어로 ── */
.hero{ background:radial-gradient(1200px 500px at 50% -10%,var(--navy3) 0%,var(--navy2) 45%,var(--navy) 100%); color:#fff; text-align:center; padding:64px 20px 76px; }
.hero h1{ font-size:44px; letter-spacing:-1px; margin:0 0 14px; line-height:1.25; }
.hero h1 em{ font-style:normal; background:linear-gradient(90deg,var(--yellow),var(--orange)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero p{ font-size:20px; opacity:.88; max-width:660px; margin:0 auto 30px; }
.hero .cta{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.pill{ display:inline-flex; margin-top:26px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); border-radius:999px; padding:9px 18px; font-size:16px; gap:8px; align-items:center; max-width:100%; flex-wrap:wrap; justify-content:center; }
.pill code{ background:transparent; color:#ffd8a8; padding:0; word-break:break-all; }
@media(max-width:760px){ .hero{ padding:44px 18px 62px; } .hero h1{ font-size:30px; } .hero p{ font-size:17px; } }

/* ── 본문·카드·버튼 ── */
.wrap-page{ max-width:900px; margin:auto; padding:28px 20px 70px; }
.wrap-wide{ max-width:1040px; margin:auto; padding:0 20px 40px; }
h2.sec{ font-size:24px; margin:34px 0 12px; }
.card{ background:var(--panel); border:1px solid var(--line); border-radius:18px; padding:24px; margin:16px 0; box-shadow:0 6px 24px rgba(0,26,61,.06); }
.card h3{ margin:0 0 8px; font-size:20px; }
.card p{ margin:0; color:var(--muted); font-size:17px; }
.three{ max-width:1040px; margin:-42px auto 0; padding:0 20px 20px; display:grid; grid-template-columns:repeat(3,1fr); gap:16px; position:relative; z-index:2; }
.three .card{ margin:0; }
@media(max-width:860px){ .three{ grid-template-columns:1fr; } }

.btn{ display:inline-block; background:linear-gradient(90deg,var(--yellow),var(--orange)); color:#fff; font-weight:800; border:0; border-radius:12px; padding:14px 24px; font-size:18px; text-decoration:none; cursor:pointer; font-family:inherit; }
.btn:hover{ filter:brightness(1.05); }
.btn.ghost{ background:transparent; border:2px solid rgba(255,255,255,.55); color:#fff; }
.btn.navy{ background:var(--navy2); }
.btn[disabled],.btn.off{ background:#c9ceda; cursor:default; filter:none; }

code,.url{ font-family:ui-monospace,Menlo,monospace; background:#fff4e5; color:var(--burnt); padding:3px 8px; border-radius:6px; word-break:break-all; font-size:.92em; }
.muted{ color:var(--muted); font-size:16px; }
.steps{ counter-reset:s; list-style:none; padding:0; margin:14px 0 0; }
.steps li{ counter-increment:s; position:relative; padding:12px 0 12px 44px; border-top:1px solid var(--line); font-size:17px; }
.steps li:first-child{ border-top:0; }
.steps li::before{ content:counter(s); position:absolute; left:0; top:12px; width:28px; height:28px; border-radius:50%; background:linear-gradient(90deg,var(--yellow),var(--orange)); color:#fff; font-weight:800; font-size:15px; display:grid; place-items:center; }
.notice{ background:#fff4e5; border:1px solid #ffd8a8; color:#7a4100; border-radius:14px; padding:16px 18px; font-size:16.5px; line-height:1.7; }
.badge{ display:inline-block; background:var(--panel-2); border:1px solid var(--line); border-radius:999px; padding:4px 12px; font-size:14px; color:var(--muted); font-weight:700; }
.badge.live{ background:#e7f6ec; border-color:#bfe6cc; color:var(--good); }
.badge.soon{ background:#fff4e5; border-color:#ffd8a8; color:#7a4100; }

.site-foot{ text-align:center; color:var(--muted); font-size:15px; padding:26px 20px 40px; }
.site-foot a{ color:var(--muted); }
