:root {
  color-scheme: dark;
  --bg: #101010;
  --surface: #1b1b1b;
  --text: #f5f5f7;
  --muted: #b3b3b8;
  --line: #393939;
  --accent: #ff9200;
  --radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--accent); text-underline-offset: .25em; }
a:hover { color: #ffb64d; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: #ff920026; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -.035em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); margin-bottom: 18px; }
h2 { font-size: 1.65rem; margin-bottom: 18px; }
h3 { font-size: 1.13rem; margin-top: 28px; margin-bottom: 10px; }
p { margin-bottom: 18px; }
ul, ol { padding-left: 1.35rem; }
li + li { margin-top: 8px; }
[id] { scroll-margin-top: 90px; }
.skip-link { position: absolute; z-index: 5; top: -80px; left: 12px; padding: 12px; background: var(--text); color: var(--bg); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 3; background: #101010f2; border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1160px; min-height: 68px; margin: auto; padding: 10px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 750; letter-spacing: .025em; white-space: nowrap; }
.brand img { border-radius: 10px; width: 36px; height: 36px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; text-decoration: none; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--accent); }
main { max-width: 1160px; padding: 56px 28px 88px; margin: 0 auto; }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 30px; }
.breadcrumb a { color: var(--muted); }
.eyebrow { color: var(--accent); font-size: 13px; letter-spacing: .06em; font-weight: 700; margin-bottom: 12px; }
.lead { font-size: 1.15rem; max-width: 720px; color: var(--muted); line-height: 1.7; }
.meta { color: var(--muted); font-size: 13px; margin: 22px 0 32px; }
.meta span { display: inline-block; margin-right: 14px; }
.scope-note { border-left: 3px solid var(--accent); padding: 12px 18px; margin: 24px 0 40px; background: var(--surface); font-size: 14px; color: var(--muted); }
.scope-note strong { color: var(--text); }
.doc-layout { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 54px; align-items: start; }
.toc { position: sticky; top: 102px; max-height: calc(100vh - 128px); overflow-y: auto; font-size: 14px; }
.toc h2 { font-size: 13px; margin-bottom: 12px; color: var(--muted); letter-spacing: 0; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 9px 14px; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.toc a[aria-current="location"] { color: var(--accent); background: #ff920014; box-shadow: inset 3px 0 0 var(--accent); font-weight: 700; }
.doc-content { min-width: 0; max-width: 760px; }
.doc-section { border-top: 1px solid var(--line); padding-top: 32px; margin-bottom: 48px; }
.doc-section:first-child { border-top: 0; padding-top: 0; }
.section-number { color: var(--accent); font-size: 13px; font-weight: 700; display: block; margin-bottom: 10px; }
.heading-link { color: inherit; text-decoration: none; }
.heading-link:hover { color: var(--accent); }
.example { padding: 20px 22px; background: var(--surface); border-radius: var(--radius); margin: 20px 0; font-size: 15px; }
.example > :last-child { margin-bottom: 0; }
.example-label { color: var(--accent); font-size: 12px; font-weight: 700; display: block; margin-bottom: 8px; }
.definition-list { margin: 20px 0; }
.definition-list dt { font-weight: 700; margin-top: 18px; }
.definition-list dd { margin: 6px 0 0; color: var(--muted); }
.table-scroll { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
caption { text-align: left; padding: 14px; color: var(--muted); }
th, td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--surface); font-weight: 650; }
tr:last-child td, tr:last-child th { border-bottom: none; }
.model-pricing th:nth-child(-n+2), .model-pricing td:nth-child(2),
.quote-pricing tbody th, .quote-pricing td { white-space: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; background: var(--accent); color: #101010; border: 1px solid var(--accent); border-radius: 100px; text-decoration: none; font-weight: 700; font-size: 15px; }
.button:hover { background: #ffac33; color: #101010; }
.button.secondary { background: transparent; color: var(--text); border-color: var(--line); }
.button.secondary:hover { border-color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.service-hero { display: grid; grid-template-columns: minmax(0, 1fr) 160px; align-items: center; gap: 42px; padding: 32px 0 56px; }
.hero-icon { width: 160px; height: 160px; border-radius: 36px; }
.service-hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); max-width: 760px; }
.service-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin: 20px 0 48px; }
.service-link { display: block; padding: 26px 0; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; }
.service-link h3 { margin: 0 0 8px; font-size: 1.25rem; }
.service-link p { margin: 0; color: var(--muted); font-size: 15px; }
.service-link:hover h3 { color: var(--accent); }
.news-list { list-style: none; padding: 0; margin: 30px 0; border-top: 1px solid var(--line); }
.news-list li { margin: 0; border-bottom: 1px solid var(--line); }
.news-link { display: block; padding: 26px 0; color: var(--text); text-decoration: none; }
.news-link h2 { font-size: 1.25rem; margin: 10px 0; }
.news-link p { margin: 0; color: var(--muted); }
.news-link:hover h2 { color: var(--accent); }
.news-meta { font-size: 13px; color: var(--muted); display: flex; gap: 14px; }
.news-meta .category { color: var(--accent); }
.narrow { max-width: 820px; }
.empty-state { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); }
.empty-state strong { color: var(--text); display: block; font-size: 1.2rem; margin-bottom: 8px; }
details { border-top: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; min-height: 44px; display: list-item; font-weight: 650; padding: 8px 0; }
details p { margin-top: 14px; color: var(--muted); }
.back-top { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; font-size: 14px; }
.site-footer { border-top: 1px solid var(--line); padding: 38px 28px 44px; color: var(--muted); font-size: 12px; }
.footer-inner { max-width: 1104px; margin: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 20px; }
.footer-nav a { display: inline-flex; min-height: 44px; align-items: center; color: var(--text); font-size: 14px; }
.site-footer p { margin-bottom: 6px; }
.site-footer .operator { color: var(--text); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
@media (max-width: 760px) {
  [id] { scroll-margin-top: 130px; }
  .header-inner { padding: 8px 20px; gap: 8px; flex-wrap: wrap; }
  .site-nav { gap: 2px 16px; }
  main { padding: 34px 20px 60px; }
  .doc-layout { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; max-height: none; padding: 18px; background: var(--surface); border-radius: var(--radius); }
  .toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: none; gap: 0 10px; }
  .toc a { padding: 8px 0; min-height: 44px; }
  .doc-layout .toc a[aria-current="location"] { padding-left: 10px; }
  .doc-section { margin-bottom: 38px; padding-top: 26px; }
  .service-hero { grid-template-columns: 1fr; gap: 24px; padding-top: 12px; }
  .hero-icon { width: 76px; height: 76px; border-radius: 18px; grid-row: 1; }
  .service-links { gap: 0 24px; }
  th, td { padding: 12px; }
}
@media (max-width: 420px) {
  .brand { font-size: 13px; }
  .brand img { width: 30px; height: 30px; border-radius: 8px; }
  .site-nav a { font-size: 13px; }
  .service-links { grid-template-columns: 1fr; }
  .site-nav { gap: 2px 13px; }
  .toc ol { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media print {
  :root { color-scheme: light; }
  body { color: #111; background: white; }
  .site-header, .site-footer, .toc, .back-top, .skip-link { display: none; }
  main { padding: 0; }
  .doc-layout { display: block; }
  .doc-content { max-width: none; }
  .doc-section { break-inside: avoid; }
  a, .lead, .meta, .scope-note, .definition-list dd { color: inherit; }
}

/* Actual app crops share one reading column with their instructions. */
.guide-intro { font-size: 1.08rem; }
.capture-note { color: var(--muted); font-size: 13px; }
.step-index { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
.step-index a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--text); }
.step-index a:hover { border-color: var(--accent); color: var(--accent); }
.guide-step { padding: 28px 0; border-top: 1px solid var(--line); }
.step-number { margin: 0 0 8px; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.guide-step h3 { margin: 0 0 18px; font-size: 1.4rem; }
.step-layout { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.step-copy { width: 100%; min-width: 0; font-size: 15px; }
.step-copy > :first-child { margin-top: 0; }
.step-copy > :last-child { margin-bottom: 0; }
.step-copy strong { color: var(--text); }
.guide-shot { margin: 0 0 22px; width: 100%; max-width: 480px; }
.step-layout > .guide-shot { margin-bottom: 0; }
.guide-shot img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.guide-shot > a { display: block; border-radius: 12px; }
.guide-shot figcaption { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.guide-shot figcaption a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 10px; white-space: nowrap; }
.guide-details { width: 100%; padding: 8px 0 0; }
.guide-details summary { max-width: 480px; }
.guide-details > .guide-shot { margin: 12px 0 0; }
.guide-details > p { margin: 8px 0 16px; font-size: 15px; }
.sample-fields { margin: 18px 0; padding: 18px 20px; background: var(--surface); border-radius: 12px; }
.sample-fields dt { font-size: 12px; color: var(--accent); margin-top: 12px; }
.sample-fields dt:first-child { margin-top: 0; }
.sample-fields dd { margin: 4px 0 0; }
.step-check { padding-left: 14px; border-left: 2px solid var(--accent); }
@media (max-width: 760px) {
  .guide-step { padding: 24px 0; }
  .guide-step h3 { font-size: 1.25rem; }
  .step-layout { gap: 16px; }
  .step-index { gap: 6px; }
  .guide-shot { max-width: 100%; }
  .guide-details summary { max-width: none; }
  .sample-fields { padding: 16px; }
}
@media print { .guide-shot { max-width: 360px; } .guide-step { break-inside: auto; } }
