/* SideKey 사이트 공통 스타일 — 앱과 같은 톤 (흰 배경 · 회색 타일 · 파란 포인트) */
:root {
  --bg: #fff; --soft: #F4F4F4; --tile: #EBEBEB; --ink: #0A0A0A; --sub: #6B6B6B; --line: #E6E6E6; --blue: #0038FF;
  --font: "Pretendard", "Inter", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  --w: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.wrap { width: min(var(--w), calc(100% - 40px)); margin: 0 auto; }

/* 상단 메뉴 */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { font-weight: 800; font-size: 21px; letter-spacing: -.04em; display: flex; align-items: center; gap: 8px; }
.logo i { width: 22px; height: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5px; }
.logo i b { border-radius: 3px; background: var(--tile); } .logo i b:nth-child(2) { background: var(--blue); } .logo i b:nth-child(4) { background: var(--ink); }
.nav nav { display: flex; gap: 24px; font-size: 14px; font-weight: 600; color: #444; }
.nav nav a:hover { color: var(--ink); }
.nav .sp { flex: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 700; font-size: 15px; transition: transform .12s, background .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn.dark { background: var(--ink); color: #fff; } .btn.dark:hover { background: #2a2a2a; }
.btn.light { background: var(--soft); } .btn.light:hover { background: var(--tile); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 13px; border-radius: 11px; }
.btn svg { width: 18px; height: 18px; }

/* 히어로 */
.hero { padding: 72px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--blue); background: #EEF2FF; padding: 6px 12px; border-radius: 99px; margin-bottom: 20px; }
h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.12; letter-spacing: -.045em; font-weight: 800; }
h1 em { font-style: normal; color: var(--blue); }
.lead { font-size: 18px; color: #444; margin: 20px 0 32px; max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.meta { margin-top: 14px; font-size: 13px; color: var(--sub); }

/* 기기 그림 (HTML로 그린 일러스트) */
.devices { position: relative; aspect-ratio: 1.15; }
.pc { position: absolute; left: 0; top: 4%; width: 84%; aspect-ratio: 16/10.5; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); padding: 16px; overflow: hidden; }
.pc .bar { display: flex; gap: 6px; margin-bottom: 14px; } .pc .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--tile); }
.pc .canvas { height: calc(100% - 30px); border-radius: 10px; background: var(--soft); background-image: radial-gradient(#D9D9D9 1px, transparent 1.2px); background-size: 16px 16px; position: relative; }
.pc .stroke { position: absolute; left: 18%; top: 30%; width: 56%; height: 40%; }
.pc .cursor { position: absolute; left: 72%; top: 62%; width: 18px; height: 18px; transition: transform .6s ease; }
.phone { position: absolute; right: 0; bottom: 0; width: 58%; aspect-ratio: 2.05; background: #fff; border-radius: 22px; border: 6px solid var(--ink); padding: 10px 14px; box-shadow: 0 30px 50px -24px rgba(0,0,0,.35); display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-content: center; }
.phone .t { aspect-ratio: 1; border-radius: 22%; background: var(--tile); display: grid; place-items: center; transition: background .15s, transform .15s; }
.phone .t svg { width: 46%; height: 46%; }
.phone .t.on { background: #BDBDBD; transform: scale(.94); }

/* 섹션 */
section { padding: 88px 0; }
section.soft { background: var(--soft); }
.sh { max-width: 640px; margin-bottom: 44px; }
.sh small { font-size: 13px; font-weight: 700; color: var(--blue); }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; letter-spacing: -.035em; font-weight: 800; margin-top: 8px; }
.sh p { color: #555; font-size: 17px; margin-top: 12px; }

.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { background: #fff; border-radius: 22px; padding: 26px 22px; border: 1px solid var(--line); }
.soft .feat { border-color: transparent; }
.feat .ic { width: 52px; height: 52px; border-radius: 15px; background: var(--tile); display: grid; place-items: center; margin-bottom: 18px; }
.feat .ic svg { width: 26px; height: 26px; }
.feat h3 { font-size: 17px; letter-spacing: -.02em; margin-bottom: 6px; }
.feat p { font-size: 14px; color: #555; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 28px 24px; border-radius: 22px; background: var(--soft); position: relative; }
.step::before { counter-increment: s; content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { font-size: 18px; letter-spacing: -.02em; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: #555; }
.step .btn { margin-top: 16px; }
.tips { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tip { font-size: 13.5px; color: #555; padding: 16px 18px; border-radius: 16px; border: 1px dashed #D4D4D4; }
.tip b { color: var(--ink); display: block; margin-bottom: 2px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { background: #fff; border-radius: 24px; padding: 30px 26px; display: flex; flex-direction: column; border: 1.5px solid transparent; }
.plan.main { border-color: var(--ink); }
.plan .nm { font-weight: 700; font-size: 15px; color: #444; }
.plan .pr { font-size: 38px; font-weight: 800; letter-spacing: -.04em; margin: 6px 0 2px; }
.plan .pr small { font-size: 15px; font-weight: 600; color: var(--sub); letter-spacing: 0; }
.plan .ds { font-size: 14px; color: var(--sub); margin-bottom: 18px; }
.plan ul { list-style: none; display: grid; gap: 8px; font-size: 14px; color: #333; margin-bottom: 22px; flex: 1; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/70% no-repeat; }
.note { margin-top: 18px; font-size: 13px; color: var(--sub); text-align: center; }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: '+'; font-weight: 400; font-size: 22px; line-height: 1; color: var(--sub); }
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: 10px; color: #555; font-size: 15px; }

.band { background: var(--ink); color: #fff; border-radius: 28px; padding: 52px 48px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.band h2 { color: #fff; margin: 0; flex: 1; min-width: 260px; }
.band .btn.light { background: #fff; color: var(--ink); }
.band .btn.ghost { background: rgba(255,255,255,.12); color: #fff; }

footer { padding: 48px 0 60px; font-size: 13px; color: var(--sub); border-top: 1px solid var(--line); margin-top: 40px; }
footer .links { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 14px; font-weight: 600; color: #444; }
footer .biz { line-height: 1.8; }

/* 약관 문서 페이지 */
.doc { padding: 56px 0 40px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: 34px; margin-bottom: 8px; }
.doc h2 { font-size: 19px; margin: 34px 0 10px; letter-spacing: -.02em; }
.doc p, .doc li { font-size: 15px; color: #333; }
.doc p { margin: 8px 0; }
.doc ol, .doc ul { padding-left: 22px; margin: 6px 0; }
.doc li { margin: 5px 0; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 14px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--soft); }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0 20px; }
.doc .tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.doc .tabs a { padding: 8px 14px; border-radius: 99px; background: var(--soft); font-size: 13px; font-weight: 700; color: #444; }
.doc .tabs a.on { background: var(--ink); color: #fff; }

@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr 1fr; }
  .steps, .plans, .tips { grid-template-columns: 1fr; }
  .nav nav { display: none; }
}
@media (max-width: 560px) {
  .feats { grid-template-columns: 1fr; }
  .band { padding: 36px 26px; }
  section { padding: 64px 0; }
}
