/* 주소핫공식.com — 정적 메인 스타일시트 */

:root{
  --bg:#0a0c12;
  --bg-alt:#0d1018;
  --card:#12151e;
  --card-hi:#171b26;
  --border:rgba(255,255,255,.08);
  --border-hi:rgba(255,255,255,.16);
  --text:#e8ecf3;
  --muted:#98a2b3;
  --accent:#ff3c00;
  --accent-soft:rgba(255,60,0,.12);
  --accent2:#00e676;
  --radius:14px;
  --wrap:1180px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Noto Sans KR",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:16px;
  line-height:1.75;
  letter-spacing:-.01em;
  word-break:keep-all;
  overflow-wrap:anywhere;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3{line-height:1.35;margin:0;font-weight:800;letter-spacing:-.02em}
p{margin:0}
ul,ol{margin:0;padding:0;list-style:none}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.wrap.narrow{max-width:860px}

.skip{
  position:absolute;left:-9999px;top:0;z-index:100;
  background:var(--accent);color:#fff;padding:10px 18px;border-radius:0 0 8px 0;font-weight:700;
}
.skip:focus{left:0}

:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}

/* ── 헤더 ───────────────────────────────── */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(10,12,18,.86);
  backdrop-filter:saturate(160%) blur(12px);
  -webkit-backdrop-filter:saturate(160%) blur(12px);
  border-bottom:1px solid var(--border);
}
.header-in{display:flex;align-items:center;justify-content:space-between;gap:16px;height:64px}
.brand{display:inline-flex;align-items:center;gap:9px;font-weight:900;font-size:1.2rem}
.brand-mark{
  width:32px;height:32px;flex:0 0 32px;
  display:grid;place-items:center;
  background:var(--accent);color:#fff;
  border-radius:9px;font-size:1rem;font-weight:900;
}
.brand-name{letter-spacing:-.03em}
.gnb{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.gnb a{
  padding:8px 13px;border-radius:9px;
  font-size:.92rem;font-weight:600;color:var(--muted);
  transition:color .15s,background .15s;
}
.gnb a:hover,.gnb a.on{color:var(--text);background:rgba(255,255,255,.06)}

/* ── 히어로 ─────────────────────────────── */
.hero{
  position:relative;
  padding:76px 0 64px;
  text-align:center;
  background:
    radial-gradient(760px 320px at 50% -60px,rgba(255,60,0,.16),transparent 70%),
    linear-gradient(180deg,#0d1018,var(--bg));
  border-bottom:1px solid var(--border);
}
.badge{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--accent-soft);color:var(--accent);
  font-size:.83rem;font-weight:700;
  padding:6px 16px;border-radius:999px;
  border:1px solid rgba(255,60,0,.22);
  margin-bottom:22px;
}
.badge::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent)}
.hero h1{
  font-size:clamp(1.65rem,4.6vw,3rem);
  font-weight:900;
  margin:0 auto 18px;
  max-width:19ch;
}
.hero-desc{
  color:var(--muted);
  font-size:clamp(.95rem,1.6vw,1.08rem);
  max-width:640px;margin:0 auto;
}

/* 대표주소 박스 */
.addr{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  background:#fff;color:#0a0c12;
  border-radius:16px;
  padding:14px 14px 14px 26px;
  max-width:640px;margin:36px auto 0;
  box-shadow:0 18px 40px -18px rgba(0,0,0,.7);
}
.addr.solo{margin:0 auto 32px}
.addr-txt{text-align:left;min-width:0}
.addr-label{display:block;font-size:.74rem;font-weight:800;color:var(--accent);letter-spacing:.02em}
.addr-domain{
  display:block;font-size:clamp(1.15rem,3vw,1.6rem);font-weight:900;
  color:#0a0c12;letter-spacing:-.03em;line-height:1.3;
}
.addr-domain:hover{text-decoration:underline}
.btn-go{
  flex:0 0 auto;
  background:var(--accent);color:#fff;
  font-weight:800;font-size:.95rem;
  padding:14px 24px;border-radius:12px;
  white-space:nowrap;
  transition:filter .15s,transform .15s;
}
.btn-go:hover{filter:brightness(1.08);transform:translateY(-1px)}

/* 3대 특징 */
.feats{
  display:grid;grid-template-columns:repeat(3,1fr);gap:28px;
  max-width:920px;margin:56px auto 0;
}
.feat{text-align:center}
.feat-ico{
  width:48px;height:48px;margin:0 auto 12px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.05);
  border:1px solid var(--border);
  border-radius:50%;color:var(--accent);
}
.icon{width:22px;height:22px;fill:currentColor}
.feat h3{font-size:1.05rem;margin-bottom:6px}
.feat p{font-size:.88rem;color:var(--muted);line-height:1.7}

/* ── 섹션 공통 ──────────────────────────── */
.sec{padding:72px 0}
.sec.alt{background:var(--bg-alt);border-block:1px solid var(--border)}
.sec h2{
  font-size:clamp(1.3rem,3vw,1.85rem);
  text-align:center;margin-bottom:12px;
}
.sec-desc{
  text-align:center;color:var(--muted);
  font-size:.95rem;max-width:660px;margin:0 auto 44px;
}

/* ── 카테고리 카드 ──────────────────────── */
.cards{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.card{display:flex}
.card-link{
  display:flex;flex-direction:column;
  width:100%;padding:24px 22px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  transition:border-color .18s,background .18s,transform .18s;
}
.card-link:hover{
  border-color:rgba(255,60,0,.4);
  background:var(--card-hi);
  transform:translateY(-3px);
}
.card-ico{
  width:42px;height:42px;margin-bottom:14px;
  display:grid;place-items:center;
  background:var(--accent-soft);
  border-radius:11px;color:var(--accent);
}
.card-ico .icon{width:21px;height:21px;fill:none;stroke:currentColor}
.card h3{font-size:1.08rem;margin-bottom:9px}
.card p{
  font-size:.855rem;color:var(--muted);line-height:1.68;
  margin-bottom:16px;flex:1 1 auto;
}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}
.chip{
  font-size:.72rem;font-weight:600;color:var(--muted);
  background:rgba(255,255,255,.05);
  border:1px solid var(--border);
  padding:3px 9px;border-radius:999px;
  white-space:nowrap;
}
.chip.more{color:var(--accent);border-color:rgba(255,60,0,.3);background:var(--accent-soft)}
.card-go{
  font-size:.85rem;font-weight:700;color:var(--accent);
  padding-top:14px;border-top:1px solid var(--border);
}

/* ── 안내서 ─────────────────────────────── */
.about{
  display:grid;grid-template-columns:repeat(3,1fr);gap:22px;
}
.about.single{grid-template-columns:1fr;gap:34px}
.about-block{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:26px 24px;
}
.about-block h2,.about-block h3{
  font-size:1.1rem;margin-bottom:12px;color:var(--accent2);
}
.about-block p{font-size:.885rem;color:var(--muted);line-height:1.85}
.about-block p + p{margin-top:12px}

.guide{
  margin-top:26px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:28px 26px;
}
.guide h2,.guide h3{font-size:1.1rem;margin-bottom:18px}
.steps{counter-reset:step}
.steps li{
  counter-increment:step;
  position:relative;
  padding:12px 0 12px 46px;
  font-size:.9rem;color:var(--muted);line-height:1.8;
}
.steps li + li{border-top:1px solid var(--border)}
.steps li::before{
  content:counter(step);
  position:absolute;left:0;top:13px;
  width:26px;height:26px;
  display:grid;place-items:center;
  background:var(--accent-soft);color:var(--accent);
  border-radius:50%;font-size:.78rem;font-weight:800;
}
.steps strong{color:var(--text);font-weight:700}

/* ── FAQ ────────────────────────────────── */
.faq{display:flex;flex-direction:column;gap:12px}
.faq-item{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
}
.faq-item summary{
  padding:18px 48px 18px 22px;
  font-size:.95rem;font-weight:700;
  cursor:pointer;position:relative;
  list-style:none;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:"";position:absolute;right:22px;top:50%;
  width:9px;height:9px;
  border-right:2px solid var(--muted);
  border-bottom:2px solid var(--muted);
  transform:translateY(-70%) rotate(45deg);
  transition:transform .2s;
}
.faq-item[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.faq-item[open] summary{color:var(--accent)}
.faq-a{padding:0 22px 20px;font-size:.885rem;color:var(--muted);line-height:1.85}

/* ── 카테고리 페이지 ────────────────────── */
.crumb{border-bottom:1px solid var(--border);background:var(--bg-alt)}
.crumb .wrap{display:flex;align-items:center;gap:9px;height:46px;font-size:.82rem;color:var(--muted)}
.crumb a{color:var(--muted)}
.crumb a:hover{color:var(--text)}

.cat-hero{
  padding:56px 0 48px;text-align:center;
  background:radial-gradient(620px 260px at 50% -40px,rgba(255,60,0,.14),transparent 70%);
  border-bottom:1px solid var(--border);
}
.cat-ico{
  width:54px;height:54px;margin:0 auto 18px;
  display:grid;place-items:center;
  background:var(--accent-soft);border-radius:14px;color:var(--accent);
}
.cat-ico .icon{width:26px;height:26px;fill:none;stroke:currentColor}
.cat-hero h1{font-size:clamp(1.4rem,3.6vw,2.1rem);margin-bottom:14px}

.prose{margin-bottom:44px}
.prose p{color:var(--muted);font-size:.93rem;line-height:1.9}
.prose p + p{margin-top:16px}

.sites{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:26px}
.site{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:11px;
  padding:15px 18px;
  transition:border-color .16s,background .16s;
}
.site:hover{border-color:var(--border-hi);background:var(--card-hi)}
.site-name{font-weight:700;font-size:.95rem}
.site-go{
  flex:0 0 auto;
  font-size:.8rem;font-weight:700;color:var(--accent);
  background:var(--accent-soft);
  border:1px solid rgba(255,60,0,.22);
  padding:6px 13px;border-radius:8px;
  white-space:nowrap;
}
.site-go:hover{background:var(--accent);color:#fff}

.other-cats{display:flex;flex-wrap:wrap;gap:9px;justify-content:center}
.other-cats a{
  font-size:.84rem;font-weight:600;color:var(--muted);
  background:var(--card);
  border:1px solid var(--border);
  padding:8px 15px;border-radius:999px;
  transition:color .15s,border-color .15s;
}
.other-cats a:hover{color:var(--accent);border-color:rgba(255,60,0,.35)}

/* ── 푸터 ───────────────────────────────── */
.site-footer{
  background:var(--bg-alt);
  border-top:1px solid var(--border);
  padding:48px 0 40px;
}
.foot-top{
  display:flex;align-items:center;justify-content:space-between;
  gap:18px;flex-wrap:wrap;
  padding-bottom:22px;border-bottom:1px solid var(--border);
}
.foot-nav{display:flex;gap:18px;flex-wrap:wrap}
.foot-nav a{font-size:.88rem;font-weight:600;color:var(--muted)}
.foot-nav a:hover{color:var(--text)}
.foot-cats{
  display:flex;flex-wrap:wrap;gap:8px 18px;
  padding:22px 0;
}
.foot-cats a{font-size:.82rem;color:var(--muted)}
.foot-cats a:hover{color:var(--accent)}
.foot-note{
  font-size:.8rem;color:var(--muted);line-height:1.85;
  padding-top:20px;border-top:1px solid var(--border);
}
.foot-copy{font-size:.78rem;color:#6b7280;margin-top:14px}

/* ── 반응형 ─────────────────────────────── */
@media (max-width:1100px){
  .cards{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
  .about{grid-template-columns:1fr}
  .feats{gap:22px}
}
@media (max-width:760px){
  .header-in{height:58px}
  .gnb{gap:0}
  .gnb a{padding:7px 9px;font-size:.85rem}
  .hero{padding:52px 0 46px}
  .sec{padding:52px 0}
  .sec-desc{margin-bottom:32px}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .card-link{padding:18px 16px}
  .card h3{font-size:1rem}
  .card p{font-size:.8rem}
  .addr{
    flex-direction:column;align-items:stretch;
    padding:18px;gap:14px;text-align:center;
  }
  .addr-txt{text-align:center}
  .btn-go{width:100%;text-align:center}
  .feats{grid-template-columns:1fr;gap:26px;margin-top:42px}
  .sites{grid-template-columns:1fr}
  .foot-top{flex-direction:column;align-items:flex-start}
}
@media (max-width:400px){
  .cards{grid-template-columns:1fr}
  .brand-name{font-size:1.05rem}
}

@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
