/* 오토애드 소개 사이트 — 공통 기준(ui.css) 위에 얹는다. 본문 폭은 1920px 화면까지 넉넉하게, 글줄은 읽기 좋은 폭으로. */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-size: 16px; line-height: 1.65; background: #fff; color: var(--ink); }
.in { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(18px, 4.2vw, 80px); } .in.narrow { max-width: 920px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 14px; background: var(--brand-50); color: var(--brand-600); font-size: 13px; font-weight: 700; white-space: nowrap; } .eyebrow svg { width: 16px; height: 16px; flex: none; }
.lead { color: var(--sub); font-size: 18px; margin: 12px 0 0; line-height: 1.7; } .lead strong { color: var(--ink); font-weight: 600; }
.fine { color: var(--mute); font-size: 13px; }

/* 머리 */
.hd { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.hd .in { display: flex; align-items: center; gap: 36px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 20px; font-weight: 800; letter-spacing: -.03em; } .brand:hover { text-decoration: none; } .brand img { border-radius: 9px; }
.hd nav { display: flex; gap: 4px; flex: 1; } .hd nav a { height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: var(--r-sm); color: var(--sub); font-weight: 600; font-size: 15px; }
.hd nav a:hover, .hd nav a[aria-current] { color: var(--ink); background: rgba(18, 21, 26, .05); text-decoration: none; }
.cta { display: flex; gap: 8px; align-items: center; } .cta form { margin: 0; }
/* 로그인 여부에 따라 머리줄 단추를 바꾼다(who.js 가 html 에 data-in 을 붙인다) */
.when-in { display: none !important; } html[data-in] .when-in { display: inline-flex !important; } html[data-in] .when-out { display: none !important; }

/* 첫 화면 */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 480px at 78% -8%, #FFE3E4 0%, transparent 62%), radial-gradient(700px 380px at 0% 0%, #FFF4F4 0%, transparent 60%), #fff; }
.hero .in { padding-top: 84px; padding-bottom: 0; }
.hero-txt { max-width: 900px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(34px, 3.7vw, 64px); font-weight: 800; line-height: 1.18; margin-top: 20px; } .hero h1 em { font-style: normal; color: var(--brand); display: block; }
.hero .lead { max-width: 720px; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 32px 0 0; } .hero-note { font-size: 14px; margin: 14px 0 0; color: var(--mute); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.checks li { display: flex; gap: 8px; align-items: center; } .checks svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.hero-shot { max-width: 1520px; margin: 56px auto 0; } .hero-shot .shot { border-bottom: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: 0 -8px 60px rgba(18, 21, 26, .10); }
.narrow-only { display: none; }

/* 화면 그림(브라우저 틀 · 휴대폰 틀) */
.shot { margin: 0; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-lg); overflow: hidden; }
.shot .bar3 { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #F1F3F6; border-bottom: 1px solid var(--line); }
.shot .bar3 i { width: 10px; height: 10px; border-radius: 50%; background: #D5DAE2; } .shot .bar3 span { margin-left: 10px; font-size: 12px; color: var(--mute); }
.shot img { display: block; width: 100%; height: auto; }
.shot.plain { box-shadow: var(--sh); }
.phone { margin: 0 auto; width: min(300px, 78vw); padding: 10px; border-radius: 40px; background: #12151A; box-shadow: var(--sh-lg); } .phone img { display: block; width: 100%; height: auto; border-radius: 30px; }
figcaption { margin-top: 10px; text-align: center; font-size: 13px; color: var(--mute); }

/* 구역 */
.sec { padding: 96px 0; } .sec.alt { background: var(--bg); } .sec.dark { background: #12151A; color: #fff; text-align: center; } .sec.dark .lead { color: #B6BDC8; }
.sec.page { padding-top: 64px; min-height: 60vh; }
.sec-head { max-width: 760px; margin-bottom: 44px; } .sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec h1 { font-size: clamp(30px, 3vw, 44px); font-weight: 800; margin-top: 14px; } .sec h2 { font-size: clamp(26px, 2.5vw, 38px); font-weight: 800; margin-top: 14px; } .page h2 { font-size: 24px; margin-top: 56px; }
.sec h3 { font-size: 19px; }

/* 핵심 숫자 줄 */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -36px; position: relative; z-index: 2; }
.strip div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--sh); } .strip b { display: block; font-size: 22px; letter-spacing: -.02em; } .strip span { color: var(--sub); font-size: 14px; }

/* 기능 소개(그림 + 글 번갈아) */
.feat { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 5vw, 96px); align-items: center; } .feat.rev { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } .feat-img .shot.plain { max-width: 560px; margin: 0 auto; } .feat + .feat { margin-top: 104px; }
.feat.rev .feat-img { order: 2; }
.feat-txt h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 800; margin-top: 14px; line-height: 1.3; } .feat-txt p { color: var(--sub); margin: 14px 0 0; font-size: 17px; }
.feat-txt ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; } .feat-txt li { display: flex; gap: 10px; color: var(--ink-2); } .feat-txt li svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 3px; }

/* 카드 묶음 */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } .grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-sm); } .tile h3 { margin: 14px 0 8px; } .tile p { margin: 0; color: var(--sub); font-size: 15px; }
.tile .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand); } .tile .ico svg { width: 22px; height: 22px; }
.tile .num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; }
.tile .shot { margin-top: 18px; box-shadow: none; border-radius: var(--r); }

/* 요금 카드 */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-sm); position: relative; } .plan.hot { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100), var(--sh); }
.plan .name { font-weight: 800; font-size: 20px; } .plan .cycle { color: var(--sub); font-size: 14px; margin-top: 2px; }
.plan .price { margin: 18px 0 4px; font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; } .plan .price small { font-size: 15px; font-weight: 500; color: var(--sub); margin-left: 4px; }
.plan p { color: var(--sub); font-size: 15px; margin: 10px 0 0; } .plan .eg { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-2); font-size: 14px; color: var(--ink-2); }
.plan .pick { position: absolute; top: -13px; left: 28px; height: 26px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 13px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; }
.tw { overflow: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-sm); }
.tbl { width: 100%; border-collapse: collapse; } .tbl th, .tbl td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; } .tbl tr:last-child > * { border-bottom: 0; }
.tbl thead th { background: var(--surface-2); color: var(--sub); font-size: 14px; font-weight: 600; } .tbl tbody th { font-size: 16px; font-weight: 700; } .tbl .num { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; } .tbl td.wrapok { white-space: normal; color: var(--sub); }
.notes { color: var(--sub); padding-left: 20px; margin: 18px 0 0; } .notes li { margin: 6px 0; }

/* 요금 계산기 */
.calc { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; align-items: stretch; }
.calc-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; background: var(--bg); border-radius: var(--r-lg); padding: 22px; }
.calc-in h3 { grid-column: 1 / -1; font-size: 15px; margin: 4px 0 0; } .calc-in h3 small { margin-left: 6px; }
.calc label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; } .calc label small { font-weight: 400; }
.calc input { width: 100%; height: 48px; font-size: 18px; text-align: right; font-weight: 600; }
.calc output { display: flex; flex-direction: column; justify-content: center; gap: 6px; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 28px; }
.calc output span { color: #B6BDC8; font-size: 14px; } .calc output b { font-size: 44px; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; } .calc output small { color: #B6BDC8; font-size: 14px; line-height: 1.6; }

/* 안전장치 · 자주 묻는 질문 */
.safe { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.safe li { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; } .safe svg { width: 24px; height: 24px; color: var(--ok); flex: none; margin-top: 2px; } .safe b { display: block; margin-bottom: 4px; } .safe span { color: var(--sub); font-size: 15px; }
.faq { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; } .faq details + details { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; } .faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--mute); line-height: 1; } .faq details[open] summary::after { content: "–"; }
.faq p { margin: 0; padding: 0 26px 24px; color: var(--sub); }

/* 사용법 단계 */
.gstep { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); } .gstep:first-of-type { border-top: 0; }
.gstep .no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 17px; }
.gstep h2 { margin-top: 14px !important; font-size: 26px; } .gstep ol { padding-left: 22px; color: var(--ink-2); } .gstep ol li { margin: 10px 0; } .gstep p { color: var(--sub); }
/* 네이버 광고 화면을 본뜬 그림(실제 화면 캡처가 아니라 위치를 보여 주는 도식) */
.nmock { font-size: 13px; color: var(--ink-2); } .nmock .nm-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-weight: 700; } .nmock .nm-top span { color: var(--mute); font-weight: 500; }
.nmock .nm-body { display: grid; grid-template-columns: 150px 1fr; } .nmock .nm-side { border-right: 1px solid var(--line); padding: 12px 0; background: var(--surface-2); } .nmock .nm-side p { margin: 0; padding: 7px 16px; color: var(--sub); } .nmock .nm-side p.g { font-weight: 700; color: var(--ink); } .nmock .nm-side p.hit { color: var(--info); font-weight: 700; background: var(--info-bg); }
.nmock .nm-main { padding: 18px 20px 22px; } .nmock h4 { font-size: 17px; margin-bottom: 12px; } .nmock .nm-note { background: var(--info-bg); border-radius: 8px; padding: 10px 12px; color: var(--sub); font-size: 12px; }
.nmock table { width: 100%; border-collapse: collapse; margin-top: 12px; } .nmock td, .nmock th { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; } .nmock th { color: var(--sub); font-weight: 600; background: var(--surface-2); }
.nmock .mask { display: inline-block; height: 12px; border-radius: 6px; background: #D5DAE2; vertical-align: middle; } .nmock .tagn { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 12px; margin-left: 8px; }
.nmock .pin { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; margin-right: 6px; }

.notice { list-style: none; padding: 0; margin: 0; } .notice li { padding: 24px 0; border-bottom: 1px solid var(--line); } .notice time { color: var(--mute); font-size: 14px; } .notice h2 { font-size: 20px !important; margin: 6px 0 !important; } .notice p { margin: 0; color: var(--sub); }
.legal h2 { font-size: 18px !important; margin-top: 34px !important; } .legal p, .legal li { color: var(--ink-2); font-size: 15px; } .draft { background: var(--warn-bg); color: var(--warn); padding: 12px 16px; border-radius: var(--r-sm); font-size: 14px; }

/* 바닥 */
.ft { background: var(--surface-2); border-top: 1px solid var(--line); padding: 48px 0 56px; font-size: 14px; color: var(--sub); }
.ft-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; } .ft-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 17px; } .ft-brand span { color: var(--mute); font-weight: 500; font-size: 14px; }
.ft nav { display: flex; flex-wrap: wrap; gap: 6px 22px; } .ft nav a { color: var(--sub); } .biz { margin: 22px 0 8px; font-size: 13px; line-height: 1.8; }

@media (max-width: 1100px) {
  .in { padding: 0 24px; }
  .hero .in { padding-top: 56px; }
  .strip { grid-template-columns: 1fr 1fr; } .feat, .feat.rev, .gstep { grid-template-columns: 1fr; gap: 28px; } .feat.rev .feat-img { order: 0; } .feat + .feat { margin-top: 72px; }
  .grid3, .grid4, .plans, .safe { grid-template-columns: 1fr 1fr; } .calc { grid-template-columns: 1fr; } .sec { padding: 72px 0; }
}
@media (max-width: 680px) {
  .in { padding: 0 18px; }
  .hd .in { height: auto; flex-wrap: wrap; gap: 4px 12px; padding-top: 12px; padding-bottom: 8px; }
  .hd nav { order: 3; flex-basis: 100%; overflow-x: auto; margin: 0 -6px; } .hd nav a { padding: 0 11px; white-space: nowrap; height: 36px; font-size: 14px; }
  .cta { margin-left: auto; } .cta .btn:not(.primary) { display: none; } html[data-in] .cta form .btn { display: inline-flex; } .cta .btn { height: 34px; padding: 0 12px; font-size: 13px; }
  .hero h1 { font-size: 32px; } .lead { font-size: 16px; } .hero-cta .btn { flex: 1; } .checks { flex-direction: column; align-items: center; font-size: 14px; }
  .wide-only { display: none !important; } .narrow-only { display: block; } .hero-shot { margin-top: 36px; } .hero-shot .phone { border-radius: 40px 40px 0 0; padding-bottom: 0; max-height: 420px; overflow: hidden; } .hero-shot .phone img { border-radius: 30px 30px 0 0; }
  .strip { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: -32px; } .strip div { padding: 14px; } .strip b { font-size: 17px; } .strip span { font-size: 13px; }
  .grid3, .grid4, .plans, .safe { grid-template-columns: 1fr; } .calc-in { grid-template-columns: 1fr 1fr 1fr; padding: 16px; gap: 8px; } .calc label { font-size: 13px; } .calc output b { font-size: 34px; }
  .sec { padding: 56px 0; } .sec-head { margin-bottom: 28px; } .tile, .plan { padding: 22px; }
  .faq summary { padding: 18px; font-size: 16px; } .faq p { padding: 0 18px 20px; }
  .nmock .nm-body { grid-template-columns: 1fr; } .nmock .nm-side { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 0; } .nmock .nm-side p { white-space: nowrap; }
  html { scroll-padding-top: 120px; }
}
