@font-face {
  font-family: 'Public Sans';
  src: url('/static/fonts/PublicSans.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Pretendard;
  src: url('/static/fonts/PretendardVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --canvas: #020618;
  --panel: #080e21;
  --inset: #0f172b;
  --line: #1d293d;
  --ring: #314158;
  --muted: #90a1b9;
  --pale: #e2e8f0;
  --signal: #00dc82;
  --mono: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Pretendard, monospace;
  font-family: 'Public Sans', Pretendard, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  word-break: keep-all;
  scroll-padding-top: 88px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--pale); }
[hidden] { display: none !important; }
::selection { background: #00643e; color: white; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1,h2,h3 { color: #fff; }
button, a, summary { touch-action: manipulation; }
.icon { width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; }
.container { width: min(100% - 96px, 1280px); margin-inline: auto; }
.topbar { height: 64px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.nav-inner, .footer-inner, .brand, .topbar nav, .dash-link, .hero-actions, .button, .endpoint-inner, .inline-link, .file-path, .editor-tabs, .editor-tabs button, .editor-status, .editor-status span, .endpoint-label, .endpoint-code, .section-head, .guide-action, .text-link, .aside-title { display: flex; align-items: center; }
.nav-inner { height: 100%; }
.brand { gap: 9px; color: white; font-size: 21px; font-weight: 720; letter-spacing: -.9px; white-space: nowrap; }
.brand strong { font-weight: 680; letter-spacing: -.8px; }
.brand img { display:block; }
.topbar nav { height: 100%; margin-left: 60px; gap: 30px; }
.topbar nav a { height: 100%; display: grid; align-content: center; font-size: 14px; font-weight: 570; color: var(--muted); position: relative; }
.topbar nav a[aria-current=page], .topbar nav a:hover, footer nav a:hover { color: white; }
.topbar nav a[aria-current=page]::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: var(--signal); }
.dash-link { gap: 14px; margin-left: auto; border: 1px solid var(--ring); padding: 8px 12px; border-radius: 6px; font-size: 13px; line-height: 18px; font-weight: 600; }
.dash-link .icon { width: 15px; height: 15px; }
.dash-link:hover, .secondary:hover { background: var(--inset); border-color: var(--muted); }
.skip { position: absolute; left: 12px; top: -200px; padding: 10px; background: var(--inset); z-index: 10; }
.skip:focus { top: 10px; }
.hero { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(36px,5vw,88px); padding-block: clamp(58px,6vw,96px); }
.protocol-label { display: flex; align-items: center; gap: 10px; font: 570 12px/1.4 'Public Sans', Pretendard, sans-serif; letter-spacing: .015em; color: #a8bacb; }
.protocol-dot { background: var(--signal); width: 7px; height: 7px; display: inline-block; border-radius: 1px; }
.protocol-label i { height: 10px; width: 1px; background: var(--ring); }
.hero h1 { font-size: clamp(48px,5.35vw,76px); letter-spacing: -.057em; line-height: 1.13; font-weight: 710; margin-top: 23px; white-space: nowrap; }
h1 em { color: var(--signal); font-style: normal; }
.hero-desc { color: #a8b5c8; font-size: clamp(15px,1.3vw,18px); line-height: 1.72; margin-top: 23px; max-width: 450px; }
.hero-actions { gap: 10px; margin-top: 30px; }
.button { min-height: 43px; gap: 10px; padding: 9px 16px; border-radius: 6px; font-size: 15px; line-height: 23px; font-weight: 650; }
.button.primary { background: var(--signal); color: #06271d; border: 1px solid var(--signal); }
.button.primary:hover { background: #34eda0; border-color: #34eda0; }
.button.secondary { border: 1px solid var(--ring); color: var(--pale); }
.secondary .icon { width: 16px; height: 16px; }
.editor { min-width: 0; border: 1px solid #304056; border-radius: 8px; background: var(--panel); overflow: hidden; }
.editor-head { min-height: 44px; padding: 0 16px; height: 44px; display:flex; align-items:center; justify-content:space-between; gap: 8px; border-bottom: 1px solid var(--line); }
.file-path { font: 12px var(--mono); gap: 9px; color:var(--muted); white-space:nowrap; }
.file-path .icon { width:16px; height:16px; color:#9eb3c8; }
.file-path b {color:#4c5c76; font-weight:400;}
.file-path strong {color: var(--pale); font-weight:400;}
.example-label { font: 500 11px Pretendard,sans-serif; color:var(--muted); }
.editor-tabs { height: 44px; gap: 4px; padding-inline: 12px; border-bottom:1px solid var(--line); }
.editor-tabs button { border:0; border-radius:5px; background:transparent; color:var(--muted); font-size:12px; font-weight:560; gap:7px; padding:6px 10px; }
.editor-tabs button[aria-selected=true] { background: #19243a; color:white; }
.editor-tabs button:hover { color:white; }
.editor-tabs .icon { width:14px; height:14px; }
.example-panel, .source-panel { height: clamp(222px,18.5vw,263px); }
.example-panel { position: relative; isolation:isolate; overflow:hidden; background: #051521; }
.plot { position: absolute; inset: 0; z-index: -1; }
.plot svg { width:100%; height:100%; display:block; }
.plot-caption,.plot-foot {position:absolute; left:17px; right:17px; display:flex; align-items:center;}
.plot-caption {top:13px; gap:7px; font-size:14px; font-weight:600; color:#d7eee6; letter-spacing:-.03em;}
.plot-mark {width:10px;height:10px;border:1px solid #9ccbb9; transform: rotate(45deg);}
.plot-type {margin-left:auto;font: 10px var(--mono);color:#92a8a4; letter-spacing:.02em;}
.plot-foot { bottom:12px; justify-content:space-between; font:9px var(--mono); color:#8ba49f; letter-spacing:.09em; }
.source-panel { overflow:auto; padding:12px 18px; }
.source-title { font:11px var(--mono); color:var(--muted); }
.source-title span { margin-left:10px; color:#75859b; font-family:Pretendard,sans-serif; }
.source-panel ol { margin:10px 0 0; padding-left:25px; color:#6e809c; font:12px/1.58 var(--mono); }
.source-panel li {padding-left:6px;}
.source-panel code { font:inherit; color:var(--pale); white-space:pre; }
.source-panel code i { color:#88c4ec; font-style:normal; }
.source-panel code b { color:#a5b8d3; font-weight:400; }
.source-panel code strong { color:#69dba0; font-weight:400; }
.source-panel code.code-comment {color:var(--muted);}
.editor-status { border-top:1px solid var(--line); height:32px; padding-inline:15px; justify-content:space-between; font:10px var(--mono); color:#8a9ab1; }
.editor-status span { gap:6px; }
.editor-status .icon { width:12px; height:12px; }
.endpoint-strip {border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#050a1c;}
.endpoint-inner {min-height:70px; gap:24px;}
.endpoint-label { gap:11px; font-size:13px; font-weight:650; color:var(--pale); }
.endpoint-label .icon {color:var(--signal);width:17px;height:17px;}
.endpoint-code { min-width:0; gap:10px; border-left:1px solid var(--line); padding-left:24px; }
.endpoint-code code { color:#adbbce; font:13px/1.6 var(--mono); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.copy-icon {background:transparent; color:var(--muted); display:grid; place-items:center; padding:6px; border:0; border-radius:4px; }
.copy-icon .icon {width:14px;height:14px;}
.copy-icon:hover,.copy-button:hover {background:var(--inset); color:white;}
.inline-link { gap:8px; color:#bccbdd; font-size:13px; font-weight:580; text-decoration:none; white-space:nowrap; }
.inline-link .icon {width:15px;height:15px;}
.inline-link:hover,.guide-action:hover,.text-link:hover { color:var(--signal); }
.endpoint-inner > .inline-link {margin-left:auto;}
.features {padding-block:58px 70px;}
.section-head {justify-content:space-between; border-bottom:1px solid var(--line); padding-bottom:25px;}
.section-head h2 {font-size:clamp(29px,3.25vw,43px); font-weight:700; letter-spacing:-.055em; line-height:1.2;}
.feature-grid {display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:34px; margin-top:30px;}
.feature-grid article > .icon {width:22px;height:22px;color:var(--signal);margin-bottom:15px;}
.feature-grid h3 {font-size:17px;letter-spacing:-.035em;font-weight:650; margin-bottom:8px;}
.feature-grid p {font-size:14px; line-height:1.65;color:var(--muted);}
footer {border-top:1px solid var(--line);}
.footer-inner {min-height:78px;justify-content:space-between;}
footer .brand {color:#bac8d8;font-size:16px;gap:7px;}
footer nav {display:flex; gap:24px; color:var(--muted); font-size:13px;}
.notice {position:fixed; bottom:22px; left:50%; transform:translateX(-50%); padding:9px 16px; background:#142238; border:1px solid var(--ring); border-radius:6px; z-index:10; color:var(--pale); font-size:14px; text-align:center; pointer-events:none;}
.notice:empty {display:none;}
.clipboard-field {position:fixed;inset:0 auto auto -10000px;}
.guide-layout { display:grid; grid-template-columns:210px minmax(0,790px); column-gap:clamp(32px,5vw,88px); padding-block:56px 76px; }
.aside-inner { position:sticky; top:26px; }
.aside-title { font-size:14px; font-weight:650; gap:9px; }
.aside-title .icon {color:var(--signal);}
.guide-aside nav {display:flex; flex-direction:column; align-items:stretch; margin-top:17px; padding:2px 0 2px 11px; border-left:1px solid var(--line); gap:3px;}
.guide-aside nav a { font-size:14px; color:var(--muted); padding:8px 10px; border-radius:5px;}
.guide-aside nav a:hover { color:var(--pale);}
.guide-aside nav a[aria-current=location] { background:var(--inset); color:white;}
.guide-header { padding:0 0 30px; border-bottom:1px solid var(--line); }
.doc-path {display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);margin-bottom:22px;}
.doc-path a:hover {color:white;}
.doc-path .icon {width:12px;height:12px;}
.guide-header h1 { font-size:clamp(38px,4vw,54px); line-height:1.1; font-weight:700; letter-spacing:-.055em; }
.guide-body p, .guide-body dd, .flow-list li { color:#a8b6c9; font-size:16px; line-height:1.72; }
.guide-header p {margin-top:14px;}
.guide-body section { padding-block:33px 34px; border-bottom:1px solid var(--line); scroll-margin-top:18px; }
.guide-body section:last-child { border-bottom: 0; }
.guide-body h2 {font-size:27px; letter-spacing:-.045em; font-weight:690; margin-bottom:14px; }
.guide-body :not(pre)>code { font: .84em/1.5 var(--mono); color:#d9e6f2; overflow-wrap:anywhere; }
.guide-action, .text-link { font-size:14px; color:var(--signal); gap:7px; width:fit-content; margin-top:15px; font-weight:580; }
.guide-action .icon,.text-link .icon {width:15px;height:15px;}
.guide-action:hover,.text-link:hover {text-decoration:underline;}
.connect-specs {border:1px solid var(--line); border-radius:8px; background:var(--panel); margin:18px 0 12px;}
.connect-specs>div {display:grid; grid-template-columns:100px minmax(0,1fr); gap:10px; padding:10px 16px; align-items:center;}
.connect-specs>div+div { border-top:1px solid var(--line); }
.connect-specs dt {color:var(--muted);font-size:13px;}
.connect-specs dd {display:flex; align-items:center; gap:8px; margin:0; font-size:14px; color:var(--pale); flex-wrap:wrap;}
.config-detail {margin-top:10px; border:1px solid var(--line); border-radius:6px;}
.config-detail summary {padding:12px 14px; list-style:none; display:flex; justify-content:space-between; align-items:center; cursor:pointer; font-size:14px;font-weight:600;}
.config-detail summary::-webkit-details-marker {display:none;}
.config-detail summary .icon { width:14px; height:14px; }
.config-detail[open] summary .icon {transform:rotate(90deg);}
.config-detail>div {padding:2px 14px 15px;min-width:0;}
.config-detail p {font-size:14px;}
.codebox {background:var(--panel); border:1px solid var(--line); border-radius:6px; min-width:0; overflow:hidden; margin-top:14px;}
.codebox-top {display:flex; align-items:center; justify-content:space-between; padding:6px 12px; color:var(--muted); font:12px var(--mono); border-bottom:1px solid var(--line);}
.copy-button {display:inline-flex; align-items:center; gap:5px; font:12px Pretendard,sans-serif; color:var(--muted); padding:5px 7px; background:transparent; border:0; border-radius:4px;}
.copy-button .icon {width:13px;height:13px;}
.codebox pre {margin:0; padding:14px; overflow:auto; white-space:pre; font:12px/1.65 var(--mono);}
.codebox pre code {font:inherit;}
.guide-body blockquote {margin:18px 0 22px; border-left:2px solid var(--signal); padding:12px 18px; background:var(--panel); font-size:16px; line-height:1.65;}
.flow-list {margin:0; padding-left:24px;}
.flow-list li {padding:4px 0 7px 4px;}
.flow-list li::marker {color:var(--muted); font:11px var(--mono);}
.flow-list strong,.flow-list span {display:block;}
.flow-list strong {color:var(--pale);font-size:15px;}
.flow-list span {font-size:14px;}
.guide-body p.doc-note {background:var(--inset); padding:10px 14px; margin-top:15px; border-radius:6px; display:flex; align-items:center; gap:10px; font-size:14px;}
.doc-note .icon {color:var(--signal); width:16px;}
.table-scroll {overflow-x:auto; border:1px solid var(--line); border-radius:6px; margin-top:17px;}
table {width:100%; border-collapse:collapse; text-align:left;}
th,td {font-size:14px; padding:11px 15px; line-height:1.5;}
th {background:var(--panel); font-weight:600; color:var(--pale);}
td {border-top:1px solid var(--line); color:var(--muted);}
.troubleshoot {margin:0;}
.troubleshoot dt {font-weight:640; margin:17px 0 4px; font-size:15px;}
.troubleshoot dd {margin:0;font-size:15px;}
@media(max-width:1000px) {
  .container {width:calc(100% - 64px);}
  .hero {grid-template-columns: .95fr 1.05fr; gap:30px;}
  .hero h1 {font-size:clamp(42px,5.45vw,56px);}
  .hero-desc {font-size:15px;}
  .feature-grid {gap:22px;}
  .guide-layout {grid-template-columns:165px minmax(0,1fr); gap:30px;}
}
@media(max-width:720px) {
  .container {width:calc(100% - 40px);}
  .topbar {height:60px;}
  .brand {font-size:18px;gap:6px;}
  .brand img {width:25px;height:25px;}
  .topbar nav {gap:18px;margin-left:25px;}
  .topbar nav a {font-size:13px;}
  .dash-link {font-size:12px;padding:6px 8px;gap:7px;}
  .hero {grid-template-columns:1fr;gap:32px;padding-block:44px 34px;}
  .hero h1 {font-size:clamp(44px,8.8vw,61px); margin-top:18px;}
  .hero-desc {max-width:450px; margin-top:16px;}
  .hero-actions {margin-top:21px;}
  .example-panel,.source-panel {height:clamp(186px,39vw,248px);}
  .features {padding-block:35px 40px;}
  .section-head {padding-bottom:18px;}
  .feature-grid {grid-template-columns:1fr 1fr;gap:26px 20px;margin-top:24px;}
  .feature-grid article > .icon {margin-bottom:10px;}
  .feature-grid h3 {font-size:16px;}
  .endpoint-inner {gap:12px;min-height:64px;}
  .endpoint-label {gap:7px;}
  .endpoint-code {padding-left:12px;gap:3px;}
  .endpoint-inner > .inline-link {font-size:12px;}
  .guide-layout {display:block;padding-block:24px 38px;}
  .guide-aside {margin-bottom:24px;}
  .aside-inner {position:static;}
  .aside-title {display:none;}
  .guide-aside nav {flex-direction:row; flex-wrap:wrap; border:0;padding:0; margin:0; gap:4px;}
  .guide-aside nav a {font-size:12px; padding:6px 8px; background:var(--panel);}
  .guide-header {padding-bottom:22px;}
  .guide-body section {padding-block:25px;}
}
@media(max-width:480px) {
  .container {width:calc(100% - 32px);}
  .topbar nav {margin-left:auto;gap:14px;}
  .dash-link {margin-left:15px;}
  .dash-link .icon {display:none;}
  .endpoint-inner {display:grid; grid-template-columns:1fr auto; gap:2px 6px; padding-block:12px;}
  .endpoint-code {order:3; grid-column:1/-1; border:0; padding:0;}
  .endpoint-inner > .inline-link {align-self:center;}
  .hero {padding-top:35px;}
  .features .inline-link {font-size:12px;}
  .connect-specs>div {grid-template-columns:69px minmax(0,1fr);padding:10px; gap:5px;}
  .connect-specs dd {gap:4px;}
  .footer-inner {min-height:66px;}
  footer nav {gap:15px;font-size:12px;}
  th,td {padding:8px;}
}
@media(max-width:360px) {
  .topbar nav {gap:10px;}
  .dash-link {margin-left:10px;}
  .brand { font-size:16px; }
  .hero h1 {font-size:42px;}
}
