/* Logpin — 공통 스타일 */
@font-face {
  font-family: "Pretendard";
  src: url("fonts/PretendardVariable.woff2") format("woff2-variations"), url("fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 45 920;
  font-display: swap;
}

:root {
  --blue: #1F5BFF;
  --blue-d: #1D46C7;
  --blue-l: #7FA0FF;
  --blue-ll: #9DB6FF;
  --blue-bg: #EEF3FF;
  --blue-bg2: #F3F6FF;
  --ink: #0F1623;
  --sub: #4A5361;
  --mut: #5F6875;
  --line: #E3E8F0;
  --line2: #EEF1F6;
  --bg2: #F4F6FA;
  --navy: #0A1020;
  --navy2: #0F1623;
  --navy3: #16213A;
  --nline: #1F2A42;
  --ntext: #AEB8CB;
  --amber: #8A5200;
  --amber-bg: #FFF3DC;
  --amber-l: #F5C46B;
  --r-lg: 24px;
  --r-md: 16px;
  --wrap: 1080px;
  --pad: 100px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 17px; line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding: 0 20px; }
.sec { padding: 120px 0; }
.sec-sm { padding: 88px 0; }
.bg2 { background: var(--bg2); }
.dark { background: var(--navy); color: #E8ECF5; position: relative; overflow: hidden; }
.dark .sub, .dark p { color: var(--ntext); }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.gap8 { gap: 8px; } .gap12 { gap: 12px; } .gap16 { gap: 16px; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; } .mt48 { margin-top: 48px; }
.center { text-align: center; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.25; font-weight: 700; }
.h1, .h2 { font-weight: 800; letter-spacing: -0.04em; }
.num, .wk-num, .price { font-weight: 800; font-variant-numeric: tabular-nums; }
.kpi-row b, .wk-foot b, .bars > div, .stats b { font-variant-numeric: tabular-nums; }
.h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.24; }
.h2 { font-size: clamp(27px, 3.4vw, 40px); line-height: 1.3; }
.h3 { font-size: clamp(20px, 2vw, 23px); letter-spacing: -0.02em; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--sub); line-height: 1.6; margin: 18px 0 0; max-width: 620px; }
.sub { color: var(--sub); }
.mut { color: var(--mut); font-size: 14px; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line2); }
.hd .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.logo svg { width: 25px; height: 25px; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 16px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.hd-cta { display: flex; gap: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; align-items: center; justify-content: center; }
.mnav { display: none; }
.mnav.open { display: flex; flex-direction: column; padding: 8px 20px 20px; border-top: 1px solid var(--line2); background: #fff; }
.mnav a { padding: 14px 0; border-bottom: 1px solid var(--line2); font-size: 17px; font-weight: 600; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 26px; border: 0; border-radius: 14px; font-size: 17px; font-weight: 700; white-space: nowrap; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; border-radius: 12px; font-weight: 600; }
.btn-p { background: var(--blue); color: #fff; }
.btn-p:hover { background: #1A4FE6; }
.btn-d { background: var(--ink); color: #fff; }
.btn-w { background: #fff; color: var(--ink); }
.btn-o { background: #fff; border: 1px solid #D5D9DF; color: var(--ink); }
.btn-od { background: transparent; border: 1px solid #2B3A62; color: #fff; }
.btn[disabled] { opacity: .55; cursor: default; }
.link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.dark .link { color: var(--blue-ll); }

/* ---------- form ---------- */
.field-label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.input { width: 100%; height: 60px; padding: 0 20px; border: 1.5px solid #D5D9DF; border-radius: 14px; background: #fff; font-size: 17px; outline: none; }
.input:focus { border-color: var(--blue); border-width: 2px; }
.input::placeholder { color: #7A818C; }
.inline-form { display: flex; gap: 8px; max-width: 540px; }
.inline-form .input { flex: 1; min-width: 0; }
.check { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 15px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--blue); flex-shrink: 0; }
.err { color: #C62828; font-size: 14px; margin-top: 8px; }

/* ---------- chips, cards ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 13px; border: 1px solid #DCE3F2; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: #2A3A6B; }
.dark .pill { border-color: #26324D; background: #121A2E; color: #C9D4EC; }
.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.tag-a { background: var(--amber-bg); color: var(--amber); }
.tag-b { background: var(--blue-bg); color: #2A3A8C; }
.tag-g { background: #F1F3F7; color: var(--sub); }
.tag-n { background: var(--nline); color: #C9D4EC; }
.card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; background: #fff; }
.card-soft { border-radius: var(--r-lg); padding: 32px; background: var(--bg2); }
.card-dark { border-radius: var(--r-lg); padding: 28px; background: var(--navy2); color: #E8ECF5; border: 1px solid #26324D; }
.icon-box { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-bg); color: var(--blue); flex-shrink: 0; }
.dark .icon-box, .card-dark .icon-box { background: var(--navy3); color: var(--blue-ll); }
.list-rows { display: flex; flex-direction: column; }
.list-rows > * { display: block; padding: 16px 0; border-top: 1px solid var(--line); }
.list-rows > *:last-child { border-bottom: 1px solid var(--line); }
.dark .list-rows > *, .card-dark .list-rows > * { border-color: var(--nline); }
.check-ic { color: var(--blue); flex-shrink: 0; }
.blur { filter: blur(8px); user-select: none; }

/* ---------- live dot ---------- */
.live { position: relative; display: inline-block; width: 8px; height: 8px; }
.live::before, .live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--blue); }
.dark .live::before, .dark .live::after, .card-dark .live::before, .card-dark .live::after { background: var(--blue-l); }
.live::after { animation: ping 1.8s ease-out infinite; }

/* ---------- backgrounds ---------- */
.bg-grid::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#EDF0F6 1px, transparent 1px), linear-gradient(90deg, #EDF0F6 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 30%, transparent 80%); }
.dark.bg-grid::before, .dark .bg-grid::before { background-image: linear-gradient(rgba(127, 160, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 160, 255, .06) 1px, transparent 1px); -webkit-mask-image: none; mask-image: none; }
.glow { position: absolute; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(31, 91, 255, .18), rgba(31, 91, 255, 0) 66%); }
.rel { position: relative; }

/* ---------- motion ---------- */
@keyframes ping { 0% { transform: scale(1); opacity: .7 } 100% { transform: scale(3.4); opacity: 0 } }
@keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }
@keyframes flow { from { background-position: 0 0 } to { background-position: 28px 0 } }
@keyframes flowy { from { background-position: 0 0 } to { background-position: 0 28px } }
@keyframes scanY { 0% { transform: translateY(0) } 50% { transform: translateY(200px) } 100% { transform: translateY(0) } }
@keyframes lineIn { 0%, 6% { opacity: 0; transform: translateY(6px) } 16%, 84% { opacity: 1; transform: none } 94%, 100% { opacity: 0 } }
@keyframes grow { from { transform: scaleY(0) } to { transform: scaleY(1) } }
@keyframes draw { from { stroke-dashoffset: 640 } to { stroke-dashoffset: 0 } }
@keyframes bar { from { width: 0 } to { width: 100% } }
@keyframes wave { 0% { transform: scale(.02); opacity: 1 } 45% { transform: scale(1); opacity: 1 } 88% { transform: scale(1); opacity: 1 } 100% { transform: scale(1); opacity: 0 } }
@keyframes ring { 0% { transform: scale(.02); opacity: .9 } 45% { transform: scale(1); opacity: 0 } 100% { opacity: 0 } }
@keyframes spin { to { transform: rotate(360deg) } }
@keyframes dash { to { stroke-dashoffset: -40 } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }
.anim-in { animation: fadeUp .45s ease-out both; }
.reveal .grow-bar { transform-origin: bottom; transform: scaleY(0); }
.reveal.on .grow-bar { animation: grow 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.reveal .draw-line { stroke-dasharray: 640; stroke-dashoffset: 640; }
.reveal.on .draw-line { animation: draw 2.4s ease-out both; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal .grow-bar { transform: none; } .reveal .draw-line { stroke-dashoffset: 0; } }

/* ---------- footer ---------- */
.ft { background: var(--bg2); padding: 56px 0 48px; font-size: 15px; }
.ft-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
.ft-grid b { display: block; margin-bottom: 12px; }
.ft-grid a { display: block; padding: 5px 0; }
.ft-biz { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mut); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .nav { gap: 20px; font-size: 15px; } }
@media (max-width: 960px) {
  body { font-size: 16px; }
  .sec { padding: 64px 0; }
  .sec-sm { padding: 56px 0; }
  .split, .g2, .g3 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav, .hd-cta .btn-o { display: none; }
  .menu-btn { display: inline-flex; }
  .hd .wrap { height: 60px; }
  .card, .card-soft { padding: 22px; }
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inline-form { flex-direction: column; }
  .inline-form .input { flex: none; width: 100%; }
  .inline-form .btn { width: 100%; }
  .hide-m { display: none !important; }
}
@media (min-width: 961px) { .hide-d { display: none !important; } }

/* ---------- IT 느낌: 고정폭 데이터 글꼴, 앱 창 틀, 분석 표시, 상태 표시줄 ---------- */
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-500.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
.mono { font-family: "JetBrains Mono", Pretendard, ui-monospace, Menlo, monospace; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.win { overflow: hidden; border: 1px solid #D9DFEA; border-radius: 14px; background: #fff; box-shadow: 0 18px 44px rgba(10, 16, 32, .16); }
.dark .win { border-color: #2B3A62; }
.win-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #F4F6FA; border-bottom: 1px solid #E3E8F0; }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D5D9DF; }
.win-bar span { margin-left: 8px; font-size: 12px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win img { display: block; width: 100%; height: auto; }
.anno { position: relative; }
.anno-pt { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 2.5px solid var(--blue); border-radius: 50%; background: rgba(31, 91, 255, .12); opacity: 0; transform: scale(.4); transition: opacity .4s ease, transform .5s cubic-bezier(.2, .9, .3, 1.3); pointer-events: none; }
.anno-pt::after { content: ""; position: absolute; inset: -2.5px; border-radius: 50%; border: 2.5px solid var(--blue); animation: ping 1.8s ease-out infinite; }
.anno-tag { position: absolute; z-index: 2; display: inline-flex; flex-direction: column; gap: 2px; padding: 7px 10px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 12px; line-height: 1.35; white-space: nowrap; box-shadow: 0 8px 20px rgba(10, 16, 32, .28); opacity: 0; transform: translateY(6px); transition: opacity .4s ease .35s, transform .4s ease .35s; pointer-events: none; }
.anno-tag b { font-size: 14px; color: #9DB6FF; }
.reveal.on .anno-pt { opacity: 1; transform: none; }
.reveal.on .anno-tag { opacity: 1; transform: none; }
.statusbar { border-bottom: 1px solid var(--line2); background: #FAFBFD; font-size: 12px; color: var(--mut); }
.statusbar .wrap { display: flex; align-items: center; gap: 16px; height: 34px; overflow: hidden; white-space: nowrap; }
.statusbar .ok { display: inline-flex; align-items: center; gap: 7px; color: #1D7A4E; }
.statusbar .ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22A06B; box-shadow: 0 0 0 3px rgba(34, 160, 107, .18); }
.statusbar .sep { color: #C3CAD4; }
@media (max-width: 960px) { .statusbar .hide-sm { display: none; } .statusbar .wrap { gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .anno-pt, .anno-tag { opacity: 1; transform: none; } }
.anno-tag.one { flex-direction: row; align-items: baseline; gap: 6px; padding: 5px 9px; }
.anno-tag.one b { font-size: 13px; }
@media (max-width: 420px) { .anno-tag { font-size: 11px; padding: 5px 8px; } .anno-tag b { font-size: 12.5px; } }

/* ---------- 서비스 드롭다운 ---------- */
.dd { position: relative; display: inline-flex; }
.dd-btn { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; font: inherit; font-size: 16px; font-weight: 500; line-height: inherit; color: inherit; cursor: pointer; }
.dd-btn:hover, .dd-btn.on, .dd.open .dd-btn { color: var(--blue); }
.dd-btn svg { transition: transform .2s; } .dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 14px); left: -16px; z-index: 50; display: none; width: 300px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 18px 44px rgba(15, 22, 35, .14); }
.dd.open .dd-menu, .dd:focus-within .dd-menu { display: block; }
@media (hover: hover) { .dd:hover .dd-menu { display: block; } .dd:hover .dd-btn { color: var(--blue); } }
.dd-menu a { display: flex; flex-direction: column; gap: 2px; padding: 11px 12px; border-radius: 10px; }
.dd-menu a:hover { background: var(--bg2); }
.dd-menu b { font-size: 15px; color: var(--ink); } .dd-menu span { font-size: 13px; color: var(--mut); font-weight: 400; }

.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }  /* 버튼과 메뉴 사이 틈을 메워 마우스가 지나가도 닫히지 않게 */
