/*
 * AI-Stealth Code public site. Plain CSS, no build, no third-party requests.
 * Colors and radii mirror packages/tokens (ink gray-950, blue-500, gray-25 ...).
 */
:root {
  --ink: #0e1220;
  --ink-2: #374151;
  --muted: #656b78;
  --line: #e6e8ec;
  --bg: #ffffff;
  --surface: #f7f8fa;
  --brand: #2c69cd;
  --brand-weak: #eef3fe;
  --success: #187c55;
  --success-weak: #e8f6ef;
  --cyan: #22b8cf;
  --radius: 12px;
  --radius-lg: 18px;
  --max: 1248px;
  --font: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.logo i { width: 28px; height: 28px; border-radius: 7px; background: var(--brand) url(/assets/logo-mark.svg) center / cover no-repeat; display: block; }
.nav ul { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.nav a[aria-current="page"] { color: var(--brand); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 14px; padding: 11px 20px; border-radius: var(--radius); background: var(--ink); color: #fff; border: 1px solid var(--ink); cursor: pointer; }
.btn:hover { text-decoration: none; opacity: .9; }
.btn.blue { background: var(--brand); border-color: var(--brand); }
.btn.ghost { background: transparent; color: var(--ink); border-color: #c9ced8; }
.menu-btn { display: none; background: none; border: 0; font-size: 24px; padding: 6px; cursor: pointer; color: var(--ink); }

/* hero */
.hero { background: linear-gradient(180deg, var(--brand-weak), #fff 80%); padding: 72px 0 0; overflow: hidden; text-align: center; }
.hero h1 { font-size: clamp(32px, 5vw, 58px); line-height: 1.28; font-weight: 700; letter-spacing: -0.03em; }
.hero .lead { max-width: 640px; margin: 22px auto 0; font-size: 19px; line-height: 1.6; color: var(--muted); }
.get { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.badges { display: flex; gap: 12px; }
.badge { display: flex; flex-direction: column; background: #000; color: #fff; border-radius: 8px; padding: 8px 18px; line-height: 1.2; }
.badge small { font-size: 10px; } .badge b { font-size: 17px; }
.badge:hover { text-decoration: none; opacity: .9; }
.qr { display: flex; align-items: center; gap: 12px; padding-left: 20px; border-left: 1px solid #c9ced8; font-size: 13px; color: var(--muted); text-align: left; line-height: 1.4; }
.qr svg { width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 4px; }
.stage { display: flex; justify-content: center; align-items: flex-end; gap: 28px; margin-top: 56px; height: 560px; }
.stage .phone:nth-child(1), .stage .phone:nth-child(3) { transform: translateY(70px) scale(.9); transform-origin: bottom center; }

/* phone mock (CSS drawn, replace with real screenshots later) */
.phone { width: 280px; height: 580px; flex: none; border-radius: 42px; background: var(--ink); border: 1px solid rgba(255,255,255,.18); padding: 6px; box-shadow: 0 28px 50px -14px rgba(14,18,32,.3); text-align: left; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: linear-gradient(160deg, #2a3548, #131a28 60%, #0a0e18); color: #fff; }
.screen .top { position: absolute; top: 38px; left: 20px; right: 20px; display: flex; justify-content: space-between; font-size: 15px; }
.screen .top span:last-child { opacity: .8; font-size: 14px; }
.frame { position: absolute; left: 62px; top: 144px; width: 144px; height: 144px; }
.frame::before, .frame::after, .frame i::before, .frame i::after { content: ""; position: absolute; width: 30px; height: 30px; border: 0 solid #fff; }
.frame::before { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.frame::after { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.frame i::before { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.frame i::after { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.reading .frame::before, .reading .frame::after, .reading .frame i::before, .reading .frame i::after { border-color: var(--cyan); }
.reading .frame { box-shadow: inset 0 0 0 0 transparent; }
.reading .frame b { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--cyan); }
.hint { position: absolute; left: 0; right: 0; top: 336px; text-align: center; font-size: 14px; }
.photo { position: absolute; left: 0; right: 0; bottom: 48px; text-align: center; font-size: 14px; font-weight: 600; opacity: .85; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; color: var(--ink); border-radius: 26px 26px 0 0; padding: 22px 20px 24px; display: grid; gap: 10px; }
.sheet .tag { font-size: 12px; font-weight: 600; color: var(--success); }
.sheet .tag.muted { color: var(--muted); }
.sheet h3 { font-size: 19px; line-height: 1.3; }
.sheet h3.sm { font-size: 17px; }
.sheet p { font-size: 13px; color: var(--muted); }
.sheet .row { display: flex; justify-content: space-between; font-size: 13px; }
.sheet .row span { color: var(--muted); } .sheet .row b { font-weight: 600; }
.sheet .cta { text-align: center; background: var(--brand); color: #fff; border-radius: 10px; padding: 13px; font-size: 14px; font-weight: 600; }
.sheet .cta.out { background: #fff; color: var(--ink); border: 1px solid #c9ced8; }
.screen.light { background: #fff; color: var(--ink); }
.screen.light h3 { position: absolute; top: 58px; left: 20px; font-size: 20px; }
.hist { position: absolute; top: 112px; left: 20px; right: 20px; }
.hist li { padding: 14px 0 12px; border-bottom: 1px solid var(--line); }
.hist b { display: block; font-size: 15px; font-weight: 600; }
.hist span { font-size: 12px; color: var(--muted); }

/* sections */
section { padding: 88px 0; }
.sec-title { text-align: center; }
.sec-title h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 700; }
.sec-title p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.trust { padding: 64px 0; }
.trust .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.trust h3 { font-size: 20px; margin-top: 14px; }
.trust p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.trust span { display: block; width: 32px; height: 3px; background: var(--brand); }
.alt { background: var(--surface); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 28px 32px; text-align: center; }
.step .mini { height: 348px; display: flex; justify-content: center; }
.step .mini .phone { transform: scale(.6); transform-origin: top center; }
.step h3 { font-size: 21px; margin-top: 20px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.3; letter-spacing: -0.02em; }
.split .copy p { margin-top: 18px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.list { margin-top: 24px; }
.list li { padding: 14px 0; border-top: 1px solid var(--line); font-weight: 500; }
.list li:last-child { border-bottom: 1px solid var(--line); }
.duo { display: flex; justify-content: center; gap: 28px; }
.duo figure { margin: 0; text-align: center; font-size: 14px; color: var(--muted); font-weight: 500; }
.duo .phone { transform: scale(.82); transform-origin: top center; margin-bottom: -100px; }
.brands { background: var(--brand-weak); padding: 72px 0; }
.brands .wrap { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.brands h2 { font-size: 30px; letter-spacing: -0.02em; }
.brands p { margin-top: 12px; color: var(--muted); max-width: 640px; }
.brands .btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* faq */
.faq .wrap { display: grid; grid-template-columns: 340px 1fr; gap: 80px; }
.faq h2 { font-size: 34px; letter-spacing: -0.02em; }
.faq .side p { margin-top: 14px; color: var(--muted); }
.faq .side a { display: inline-block; margin-top: 14px; color: var(--brand); font-weight: 600; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 18px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-size: 24px; line-height: 1; font-weight: 400; }
details[open] summary::after { content: "\2212"; }
details .a { padding: 0 0 24px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.closing { background: var(--surface); padding: 72px 0; }
.closing .wrap { display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.closing h2 { font-size: 34px; letter-spacing: -0.02em; }
.closing p { margin-top: 10px; color: var(--muted); font-size: 17px; }
.closing .get { justify-content: flex-start; margin-top: 22px; }

/* footer */
.foot { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 36px; font-size: 14px; color: var(--muted); }
.closing + .foot { border-top: 0; }
.foot .cols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.foot h4 { margin: 0 0 12px; color: var(--ink); font-size: 14px; }
.foot li { margin-bottom: 8px; }
.foot .about { margin-top: 12px; line-height: 1.6; max-width: 280px; }
.foot .legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(14,18,32,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* inner pages */
.page-head { background: linear-gradient(180deg, var(--brand-weak), #fff); padding: 72px 0 56px; }
.page-head .crumb { color: var(--brand); font-weight: 600; font-size: 14px; }
.page-head h1 { margin-top: 14px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1.25; }
.page-head p { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 760px; }
.status { display: flex; align-items: center; gap: 12px; background: var(--success-weak); color: var(--success); font-weight: 600; font-size: 15px; padding: 12px 18px; border-radius: 10px; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--success); }
.doc { display: grid; grid-template-columns: 280px 1fr; gap: 80px; padding-top: 24px; padding-bottom: 96px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: 14px; }
.toc b { display: block; color: var(--muted); margin-bottom: 10px; }
.toc a { display: block; padding: 8px 12px; border-radius: 6px; }
.toc a:hover { background: var(--brand-weak); text-decoration: none; }
.summary { background: var(--surface); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 44px; }
.summary b { display: block; font-size: 17px; margin-bottom: 8px; }
.summary p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.doc article { margin-bottom: 44px; scroll-margin-top: 96px; }
.doc article h2 { font-size: 24px; letter-spacing: -0.01em; margin-bottom: 14px; }
.doc article p { color: var(--ink-2); line-height: 1.8; }
.doc article p + p { margin-top: 12px; }
.contact { background: var(--surface); padding: 72px 0 80px; }
.contact h2 { font-size: 28px; margin-bottom: 28px; }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); }
.channels div { padding: 0 32px; border-left: 1px solid var(--line); }
.channels div:first-child { padding-left: 0; border-left: 0; }
.channels b { font-size: 20px; display: block; }
.channels span { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }
.channels a.mail { display: block; margin-top: 8px; color: var(--brand); font-size: 17px; font-weight: 600; }
.note { margin-top: 28px; color: var(--muted); font-size: 14px; }
.support-faq { padding: 24px 0 72px; }
.support-faq .wrap { display: grid; grid-template-columns: 280px 1fr; gap: 80px; }

@media (max-width: 960px) {
  .nav ul { display: none; }
  .nav.open ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
  .nav.open ul li { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: block; }
  .stage { gap: 12px; height: 520px; }
  .stage .phone:nth-child(1), .stage .phone:nth-child(3) { display: none; }
  .trust .wrap, .steps, .channels { grid-template-columns: 1fr; }
  .channels div { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .channels div:first-child { border-top: 0; padding-top: 0; }
  .split, .faq .wrap, .support-faq .wrap, .doc { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; }
  .brands .wrap, .closing .wrap { flex-direction: column; align-items: flex-start; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .qr { display: none; }
  .step .mini { height: 348px; }
  .duo { flex-direction: column; align-items: center; }
  section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
