:root {
  color-scheme: light;
  --ink: #0b1730;
  --ink-soft: #33435f;
  --muted: #66748c;
  --line: #d9e2ef;
  --paper: #ffffff;
  --canvas: #f4f7fb;
  --navy: #071328;
  --navy-2: #102445;
  --blue: #487dff;
  --blue-soft: #e8efff;
  --mint: #19a98f;
  --mint-light: #dff8f2;
  --amber: #bf7200;
  --amber-light: #fff1d6;
  --red: #c44254;
  --red-light: #ffe8ec;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px rgb(11 23 48 / 9%);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.72;
  word-break: keep-all;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #79a7ff; outline-offset: 3px; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 1000; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 840px); margin-inline: auto; }
.section { padding: 88px 0; }
.section.compact { padding: 58px 0; }
.section.white { background: var(--paper); }
.section.dark { background: var(--navy); color: #f5f9ff; }
.section.dark p, .section.dark .lede { color: #b9c9e4; }
.eyebrow { margin: 0 0 12px; color: var(--mint); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow.light { color: #78ead7; }
h1, h2, h3, h4 { margin: 0 0 .55em; line-height: 1.2; letter-spacing: -.035em; }
h1 { font-size: clamp(2.45rem, 6vw, 4.7rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.24rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.06rem; }
p { margin: 0 0 1.1em; }
.lede { max-width: 760px; color: var(--ink-soft); font-size: clamp(1.08rem, 2vw, 1.28rem); overflow-wrap: anywhere; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; padding: 7px 13px; border: 1px solid rgb(121 167 255 / 35%); border-radius: 999px; background: rgb(72 125 255 / 10%); color: #d8e5ff; font-size: .82rem; font-weight: 700; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #45d6bd; box-shadow: 0 0 0 5px rgb(69 214 189 / 13%); }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgb(217 226 239 / 80%); background: rgb(255 255 255 / 92%); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; width: 142px; flex: 0 0 auto; }
.brand img { display: block; }
.site-nav { display: flex; align-items: center; gap: 5px; }
.site-nav a { padding: 8px 11px; border-radius: 8px; color: var(--ink-soft); font-size: .88rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--blue-soft); color: #2459d4; }
.nav-cta { margin-left: 5px; background: var(--ink) !important; color: #fff !important; }
.menu-button { display: none; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); padding: 8px 11px; font-weight: 750; }

.hero { position: relative; overflow: hidden; padding: 104px 0 92px; background: var(--navy); color: #fff; }
.hero::before { content: ""; position: absolute; width: 700px; height: 700px; right: -180px; top: -330px; border-radius: 50%; background: radial-gradient(circle, rgb(69 214 189 / 20%), transparent 65%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr); gap: 56px; align-items: center; }
.hero h1 span { color: #78ead7; }
.hero .lede { color: #bccce7; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 19px; border: 1px solid transparent; border-radius: 10px; font-weight: 800; text-decoration: none; }
.button.primary { background: #eef5ff; color: #0d3478; }
.button.secondary { border-color: rgb(255 255 255 / 30%); color: #fff; background: rgb(255 255 255 / 7%); }
.button.dark { background: var(--ink); color: #fff; }
.button.ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.button:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgb(0 0 0 / 12%); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: #9fb1cf; font-size: .82rem; }
.hero-notes span::before { content: "✓"; margin-right: 7px; color: #69e0ca; font-weight: 900; }

.live-panel { position: relative; border: 1px solid rgb(121 167 255 / 25%); border-radius: 22px; background: rgb(16 36 69 / 88%); padding: 18px; box-shadow: 0 30px 80px rgb(0 0 0 / 30%); }
.panel-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 2px 14px; color: #dbe8ff; font-size: .8rem; font-weight: 750; }
.fresh { display: inline-flex; align-items: center; gap: 7px; color: #78ead7; }
.fresh::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #45d6bd; box-shadow: 0 0 0 4px rgb(69 214 189 / 13%); }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-kpi { border: 1px solid rgb(121 167 255 / 16%); border-radius: 13px; background: rgb(7 19 40 / 66%); padding: 13px; }
.mini-kpi strong { display: block; color: #fff; font-size: 1.38rem; line-height: 1.25; }
.mini-kpi span { color: #9fb1cf; font-size: .7rem; }
.usage-chart { display: flex; align-items: end; gap: 7px; height: 132px; margin-top: 13px; border-radius: 13px; padding: 18px 14px 10px; background: rgb(7 19 40 / 58%); }
.bar { flex: 1; min-width: 7px; border-radius: 5px 5px 2px 2px; background: linear-gradient(#79a7ff, #487dff); opacity: .88; }
.bar:nth-child(3n) { background: linear-gradient(#69e0ca, #19a98f); }
.network-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; margin-top: 10px; padding: 10px 12px; border-radius: 11px; background: rgb(7 19 40 / 58%); color: #c6d4eb; font-size: .74rem; }
.network-row strong { color: #f5f9ff; }
.pill { display: inline-flex; align-items: center; min-height: 27px; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.pill.ok { color: #087260; background: var(--mint-light); }
.pill.warn { color: #885000; background: var(--amber-light); }
.pill.danger { color: #9f2338; background: var(--red-light); }
.pill.info { color: #2f5fc4; background: var(--blue-soft); }

.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.trust-item { padding: 26px 18px; border-right: 1px solid var(--line); text-align: center; }
.trust-item:first-child { border-left: 1px solid var(--line); }
.trust-item strong { display: block; font-size: 1.12rem; }
.trust-item span { color: var(--muted); font-size: .8rem; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 26px; box-shadow: 0 4px 16px rgb(11 23 48 / 3%); }
.card p:last-child { margin-bottom: 0; }
.icon-box { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 13px; background: var(--blue-soft); color: #2459d4; font-weight: 900; }
.icon-box.mint { background: var(--mint-light); color: #087260; }
.icon-box.amber { background: var(--amber-light); color: #885000; }
.feature-card { position: relative; overflow: hidden; }
.feature-card::after { content: ""; position: absolute; width: 100px; height: 100px; right: -42px; bottom: -48px; border-radius: 50%; background: var(--blue-soft); }
.feature-card h3 { position: relative; z-index: 1; }
.feature-card p { color: var(--muted); font-size: .92rem; }
.feature-list { padding: 0; margin: 18px 0 0; list-style: none; }
.feature-list li { position: relative; padding: 7px 0 7px 23px; color: var(--ink-soft); font-size: .9rem; }
.feature-list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }

.metric-feature { display: grid; grid-template-columns: .88fr 1.12fr; gap: 54px; align-items: center; }
.metric-canvas { border: 1px solid var(--line); border-radius: 22px; background: #fff; padding: 22px; box-shadow: var(--shadow); }
.tab-row { display: flex; gap: 6px; margin-bottom: 18px; }
.tab { padding: 7px 13px; border-radius: 8px; background: #f0f4fa; color: var(--muted); font-size: .78rem; font-weight: 800; }
.tab.active { background: var(--ink); color: #fff; }
.line-chart { height: 190px; position: relative; overflow: hidden; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0 45px, #edf1f6 46px); }
.line-chart svg { width: 100%; height: 100%; }
.drill-path { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; color: var(--muted); font-size: .78rem; }
.drill-path span:not(:last-child)::after { content: "→"; margin-left: 6px; color: #a4afbf; }

.screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.screenshot-card { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 12px 34px rgb(11 23 48 / 7%); }
.screenshot-card.featured { grid-column: 1 / -1; }
.screenshot-frame { aspect-ratio: 16 / 10; position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #edf3ff, #e8fbf6); }
.screenshot-frame img { width: 100%; height: 100%; object-fit: cover; }
.screenshot-placeholder { width: calc(100% - 34px); height: calc(100% - 34px); padding: 24px; border: 1px dashed #a9b9d1; border-radius: 13px; background: rgb(255 255 255 / 74%); text-align: center; color: var(--ink-soft); }
.screenshot-placeholder[hidden], .screenshot-frame img[hidden] { display: none; }
.placeholder-title { display: block; margin-top: 14%; color: var(--ink); font-size: 1.2rem; font-weight: 800; }
.placeholder-bars { width: 76%; height: 28%; margin: 8% auto 0; border-radius: 8px; background: repeating-linear-gradient(to right, #79a7ff 0 8%, transparent 8% 12%); opacity: .55; }
.screenshot-card figcaption { padding: 19px 21px 21px; }
.screenshot-card figcaption strong { display: block; margin-bottom: 4px; }
.screenshot-card figcaption span { color: var(--muted); font-size: .84rem; }
.mobile-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.screenshot-card.mobile { width: 100%; max-width: 430px; justify-self: center; }
.screenshot-card.mobile .screenshot-frame { aspect-ratio: 390 / 844; }
.screenshot-card.mobile .screenshot-frame img { object-fit: contain; }
.screenshots-page h1, .screenshots-page h2, .screenshots-page h3 { word-break: keep-all; }

.architecture { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: stretch; margin-top: 40px; }
.architecture-node { display: grid; place-items: center; min-height: 130px; padding: 20px; border: 1px solid rgb(121 167 255 / 25%); border-radius: 16px; background: #102445; text-align: center; }
.architecture-node strong { display: block; color: #fff; }
.architecture-node span { color: #9fb1cf; font-size: .78rem; }
.architecture-arrow { align-self: center; color: #78ead7; font-size: 1.6rem; }

.callout { border-left: 4px solid var(--blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--blue-soft); padding: 19px 22px; }
.callout.warning { border-left-color: var(--amber); background: var(--amber-light); }
.callout.success { border-left-color: var(--mint); background: var(--mint-light); }
.callout.danger { border-left-color: var(--red); background: var(--red-light); }
.callout p:last-child { margin-bottom: 0; }
.code-block { position: relative; overflow-x: auto; border-radius: 13px; background: #071328; color: #d9e7ff; padding: 20px 22px; font: .84rem/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; }
code { padding: .12em .34em; border-radius: 5px; background: #e9eef6; color: #183a70; font: .85em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.code-block code { padding: 0; color: inherit; background: transparent; }

.doc-hero { padding: 72px 0 52px; border-bottom: 1px solid var(--line); background: linear-gradient(140deg, #fff 0%, #edf4ff 100%); }
.doc-hero h1 { max-width: 850px; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; color: var(--muted); font-size: .8rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span:not(:last-child)::after { content: "/"; margin-left: 7px; }
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 54px; padding: 62px 0 94px; }
.toc { position: sticky; top: 104px; align-self: start; }
.toc strong { display: block; margin-bottom: 12px; font-size: .82rem; }
.toc a { display: block; margin: 3px 0; padding: 6px 9px; border-radius: 7px; color: var(--muted); font-size: .78rem; text-decoration: none; }
.toc a:hover { background: var(--blue-soft); color: #2459d4; }
.prose { min-width: 0; }
.prose h2 { margin-top: 2em; padding-top: .3em; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.7em; }
.prose li { margin: .35em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0 32px; background: #fff; font-size: .86rem; }
.prose th, .prose td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: #eef3fa; color: var(--ink); }
.step-list { list-style: none; margin: 28px 0; padding: 0; counter-reset: step; }
.step-list > li { position: relative; min-height: 54px; margin: 0 0 22px; padding-left: 64px; counter-increment: step; }
.step-list > li::before { content: counter(step); position: absolute; left: 0; top: -3px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--ink); color: #fff; font-weight: 850; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: "✓"; position: absolute; left: 2px; color: var(--mint); font-weight: 900; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); background: #fff; }
.faq summary { padding: 19px 5px; cursor: pointer; color: var(--ink); font-weight: 800; }
.faq details p { padding: 0 5px 20px; color: var(--ink-soft); }

.cta-band { border-radius: 28px; background: linear-gradient(130deg, #102445, #163d68); color: #fff; padding: 48px; }
.cta-band p { max-width: 670px; color: #bed0eb; }
.site-footer { padding: 54px 0 28px; background: #061022; color: #aebed8; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.footer-logo { width: 130px; margin-bottom: 17px; }
.footer-grid h3 { color: #f5f9ff; font-size: .88rem; letter-spacing: 0; }
.footer-grid a { display: block; width: fit-content; margin: 7px 0; color: #aebed8; font-size: .82rem; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgb(217 226 239 / 13%); font-size: .76rem; }

.reveal-pending { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal-pending.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-pending { opacity: 1; transform: none; transition: none; }
  .button:hover { transform: none; }
}

@media (max-width: 980px) {
  .menu-button { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 20px; right: 20px; top: 69px; flex-direction: column; align-items: stretch; gap: 2px; max-height: calc(100vh - 90px); overflow-y: auto; border: 1px solid var(--line); border-radius: 13px; background: #fff; padding: 9px; box-shadow: var(--shadow); }
  .site-nav[data-open] { display: flex; }
  .site-nav a { padding: 11px 13px; }
  .nav-cta { margin: 4px 0 0; text-align: center; }
  .hero-grid, .metric-feature { grid-template-columns: 1fr; }
  .hero-grid { gap: 46px; }
  .live-panel { max-width: 690px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .architecture { grid-template-columns: 1fr; }
  .architecture-arrow { transform: rotate(90deg); justify-self: center; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 17px; word-break: normal; }
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 66px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .kpi-row .mini-kpi:last-child { grid-column: 1 / -1; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 1px solid var(--line); }
  .grid-2, .grid-3, .grid-4, .screenshot-grid, .mobile-gallery { grid-template-columns: 1fr; }
  .screenshot-card.featured { grid-column: auto; }
  .card { padding: 22px; }
  .doc-hero { padding: 54px 0 38px; }
  .doc-layout { grid-template-columns: 1fr; gap: 18px; padding: 40px 0 70px; }
  .toc { position: static; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 10px; }
  .toc strong { display: none; }
  .toc a { flex: 0 0 auto; border: 1px solid var(--line); background: #fff; }
  .prose table { display: block; overflow-x: auto; white-space: nowrap; }
  .cta-band { padding: 31px 23px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  h1 { font-size: 2.25rem; }
  .brand { width: 124px; }
  .nav-wrap { min-height: 68px; }
  .site-nav { top: 62px; left: 12px; right: 12px; }
  .trust-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-item { border-left: 1px solid var(--line); }
  .network-row { grid-template-columns: 1fr auto; }
  .network-row .pill { grid-column: 1 / -1; width: fit-content; }
}
