:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #61708a;
  --line: #dfe6f0;
  --paper: #ffffff;
  --canvas: #f5f8fc;
  --navy: #142a55;
  --blue: #1677ff;
  --blue-dark: #075bd0;
  --blue-pale: #edf5ff;
  --green: #127a5b;
  --green-pale: #eaf8f2;
  --amber: #9c6200;
  --amber-pale: #fff7e3;
  --red: #df2b38;
  --shadow: 0 16px 42px rgba(30, 55, 92, 0.11);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); line-height: 1.65; word-break: keep-all; }
a { color: inherit; }

.manual-header { background: rgba(255, 255, 255, .95); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.manual-header-inner, .page-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.manual-header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; font-size: 18px; text-decoration: none; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(145deg, #1e88ff, #0754ce); color: #fff; font-size: 15px; box-shadow: 0 6px 14px rgba(22, 119, 255, .28); }
.header-links { display: flex; align-items: center; gap: 18px; color: #4d5c76; font-size: 14px; }
.header-links a { text-decoration: none; }
.header-links a:hover { color: var(--blue); }
.button-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 12px; background: var(--blue); color: #fff !important; font-weight: 750; text-decoration: none; box-shadow: 0 8px 18px rgba(22, 119, 255, .22); }
.button-link:hover { background: var(--blue-dark); }

.hero { position: relative; overflow: hidden; padding: 84px 0 72px; background: radial-gradient(circle at 76% 15%, rgba(44, 145, 255, .2), transparent 30%), linear-gradient(135deg, #f8fbff, #edf5ff 58%, #f5f9ff); border-bottom: 1px solid #e2ebf8; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 999px; pointer-events: none; }
.hero::before { width: 390px; height: 390px; right: -120px; bottom: -220px; border: 62px solid rgba(31, 137, 255, .08); }
.hero::after { width: 180px; height: 180px; left: -65px; top: -98px; background: rgba(80, 161, 255, .06); }
.hero-content { position: relative; max-width: 800px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 15px; color: var(--blue-dark); font-size: 14px; font-weight: 800; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 17px; color: #102449; font-size: clamp(34px, 5vw, 54px); line-height: 1.2; letter-spacing: -.06em; }
.hero-lead { max-width: 650px; margin-bottom: 28px; color: #52627c; font-size: clamp(17px, 2vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button-link.secondary { background: #fff; border: 1px solid #cbd8ec; color: #27446f !important; box-shadow: none; }
.button-link.secondary:hover { background: #f8fbff; }

.landing-content { padding: 60px 0 82px; }
.section-heading { max-width: 710px; margin-bottom: 27px; }
.section-heading h2 { margin-bottom: 9px; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.045em; line-height: 1.28; }
.section-heading p { margin: 0; color: var(--muted); }
.guide-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, 1fr); gap: 22px; }
.guide-card { min-height: 260px; padding: 31px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); box-shadow: 0 8px 27px rgba(31, 57, 95, .06); }
.guide-card.primary { border-color: #bcd8ff; background: linear-gradient(145deg, #fff, #f3f8ff); }
.card-kicker { margin-bottom: 11px; color: var(--blue-dark); font-size: 13px; font-weight: 800; }
.guide-card h3 { margin-bottom: 10px; font-size: 24px; letter-spacing: -.045em; }
.guide-card p { color: var(--muted); }
.guide-card .button-link { margin-top: 12px; }

.quick-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 38px 0 58px; }
.flow-step { position: relative; min-height: 119px; padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.flow-step:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -22px; z-index: 1; color: #8da5ca; font-size: 21px; transform: translateY(-50%); }
.flow-number { display: block; margin-bottom: 9px; color: var(--blue); font-size: 12px; font-weight: 850; }
.flow-step strong { display: block; font-size: 15px; letter-spacing: -.02em; }
.flow-step span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.notice { display: flex; gap: 13px; padding: 18px 20px; border: 1px solid #d8e5f8; border-radius: 15px; background: #f7fbff; color: #435777; font-size: 14px; }
.notice-icon { flex: 0 0 auto; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #ddecff; color: #126ae3; font-weight: 900; }
.manual-footer { padding: 28px 0 38px; border-top: 1px solid var(--line); background: #fff; color: #697791; font-size: 13px; }
.manual-footer-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; }

.guide-hero { padding: 56px 0 46px; }
.guide-hero h1 { font-size: clamp(32px, 4.5vw, 47px); }
.guide-hero .hero-lead { max-width: 720px; }
.guide-layout { display: grid; grid-template-columns: 246px minmax(0, 1fr); align-items: start; gap: 42px; padding: 38px 0 80px; }
.manual-toc { position: sticky; top: 91px; padding: 19px 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 20px rgba(38, 63, 103, .04); }
.manual-toc strong { display: block; padding: 0 9px 10px; font-size: 14px; }
.manual-toc a { display: block; padding: 8px 9px; border-radius: 9px; color: #586780; font-size: 13px; line-height: 1.35; text-decoration: none; }
.manual-toc a:hover { background: #edf5ff; color: #075bd0; }
.manual-toc .toc-sub { padding-left: 21px; font-size: 12px; }
.guide-main { min-width: 0; }
.guide-summary { display: grid; grid-template-columns: auto 1fr; gap: 17px; align-items: center; padding: 20px 22px; margin-bottom: 44px; border: 1px solid #bcd8ff; border-radius: 18px; background: linear-gradient(110deg, #eff7ff, #fff); }
.guide-summary-badge { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--blue); color: #fff; font-size: 21px; box-shadow: 0 8px 16px rgba(22, 119, 255, .21); }
.guide-summary strong { display: block; margin-bottom: 3px; font-size: 16px; }
.guide-summary p { margin: 0; color: #587096; font-size: 14px; }
.manual-section { scroll-margin-top: 96px; padding: 2px 0 54px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.manual-section:last-child { border-bottom: 0; }
.section-label { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; margin-bottom: 11px; border-radius: 999px; background: var(--blue-pale); color: var(--blue-dark); font-size: 12px; font-weight: 850; }
.manual-section h2 { margin-bottom: 10px; color: #132b53; font-size: clamp(25px, 3.1vw, 33px); line-height: 1.28; letter-spacing: -.05em; }
.manual-section > p { max-width: 750px; color: var(--muted); }
.step-list { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: step; }
.step-list > li { position: relative; min-height: 30px; padding: 0 0 17px 40px; color: #3e4e69; }
.step-list > li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e7f2ff; color: #0965dc; font-size: 13px; font-weight: 850; }
.step-list strong { color: var(--ink); }
.capture-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.capture-grid.single { grid-template-columns: minmax(0, 560px); }
.capture-card { margin: 0; overflow: hidden; border: 1px solid #d7e0ed; border-radius: 19px; background: #fff; box-shadow: 0 10px 27px rgba(24, 52, 91, .07); }
.capture-card img { display: block; width: 100%; height: auto; background: #eef2f7; }
.capture-card figcaption { padding: 15px 17px 17px; color: #566681; font-size: 13px; line-height: 1.55; }
.capture-card figcaption strong { display: block; margin-bottom: 2px; color: #1c3153; font-size: 14px; }
.annotation-key { display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px; margin-right: 6px; border-radius: 50%; background: var(--red); color: white; font-size: 11px; font-weight: 850; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 23px; }
.info-card { padding: 18px 19px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.info-card h3 { margin-bottom: 7px; color: #20385e; font-size: 16px; letter-spacing: -.03em; }
.info-card p { margin: 0; color: var(--muted); font-size: 14px; }
.info-card ul { margin: 10px 0 0; padding-left: 19px; color: var(--muted); font-size: 14px; }
.info-card li + li { margin-top: 4px; }
.callout { display: flex; gap: 12px; margin: 22px 0 0; padding: 16px 18px; border: 1px solid #d6e7ff; border-radius: 14px; background: #f8fbff; color: #435a7e; font-size: 14px; }
.callout.warning { border-color: #f2d99e; background: var(--amber-pale); color: #765420; }
.callout.success { border-color: #bce7d7; background: var(--green-pale); color: #276c5a; }
.callout-title { display: block; margin-bottom: 2px; font-weight: 850; color: inherit; }
.status-pending { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border-radius: 999px; background: var(--amber-pale); color: var(--amber); font-size: 12px; font-weight: 800; }
.troubleshoot-list { display: grid; gap: 12px; margin-top: 22px; }
.troubleshoot-item { padding: 17px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.troubleshoot-item strong { display: block; margin-bottom: 4px; color: #243958; }
.troubleshoot-item p { margin: 0; color: var(--muted); font-size: 14px; }
.manual-footer a { color: #355883; }

@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; gap: 25px; }
  .manual-toc { position: static; display: flex; gap: 4px; overflow-x: auto; padding: 10px; white-space: nowrap; }
  .manual-toc strong { display: none; }
  .manual-toc a { flex: 0 0 auto; padding: 8px 10px; border: 1px solid #e4ebf5; }
  .manual-toc .toc-sub { display: none; }
  .quick-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow-step:not(:last-child)::after { display: none; }
}

@media (max-width: 650px) {
  .manual-header-inner, .page-shell, .manual-footer-inner { width: min(100% - 28px, 1180px); }
  .manual-header-inner { min-height: 60px; }
  .header-links a:not(.button-link) { display: none; }
  .button-link { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .hero { padding: 58px 0 51px; }
  h1 { font-size: 34px; }
  .hero-lead { font-size: 16px; }
  .landing-content { padding: 40px 0 58px; }
  .guide-grid, .info-grid, .capture-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 0; padding: 24px; }
  .quick-flow { grid-template-columns: 1fr 1fr; margin: 26px 0 40px; }
  .flow-step { min-height: 104px; padding: 15px; }
  .guide-hero { padding: 42px 0 35px; }
  .guide-layout { padding: 22px 0 52px; }
  .guide-summary { grid-template-columns: 1fr; gap: 12px; padding: 18px; margin-bottom: 32px; }
  .manual-section { padding-bottom: 38px; margin-bottom: 33px; }
  .capture-card { border-radius: 15px; }
  .manual-footer-inner { display: block; }
  .manual-footer-inner p + p { margin-top: 7px; }
}

@media print {
  .manual-header, .manual-toc, .hero-actions, .manual-footer { display: none; }
  body { background: #fff; }
  .hero { padding: 22px 0; background: #fff; }
  .guide-layout { display: block; padding-top: 20px; }
  .manual-section { break-inside: avoid; }
}
