/* =========================================================
   Flomo Brand Site — Core styles
   Font: Pretendard | Primary: #0032c8
   ========================================================= */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

:root {
  --blue: #0032c8;
  --blue-600: #0028a0;
  --navy: #080b25;        /* dark section bg */
  --ink: #030c26;         /* near-black brand text */
  --text: #16181d;
  --muted: #6b7280;
  --muted-2: #9aa0aa;
  --line: #e7e9ee;
  --bg-soft: #f4f6fa;
  --card: #e9edf6;
  --white: #ffffff;

  --header-h: 60px;
  --maxw: 1200px;
  --pad: 24px;

  --radius: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 10px 40px rgba(8, 11, 37, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
/* overflow-x: clip (not hidden) — clips horizontal overflow WITHOUT creating a
   scroll container, so position: sticky on the landing montage keeps working. */
html, body { overflow-x: clip; max-width: 100%; }

body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* keeps hyphenated runs (registration numbers, phone numbers) on one line */
.nb { white-space: nowrap; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =========================================================
   Buttons / pills
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; padding: 0 16px; border-radius: 100px;
  font-weight: 700; font-size: 14px; line-height: 1;
  border: 1px solid transparent; transition: background .2s var(--ease), color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost-dark { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.35); color:#fff; }
.btn-ghost-dark:hover { background: rgba(255,255,255,.28); }
.btn-ghost-light { background: rgba(255,255,255,.0); border-color: var(--ink); color: var(--ink); }
.btn-ghost-light:hover { background: rgba(3,12,38,.06); }
.btn-white { background:#fff; color:#000; }
.btn-white:hover { background:#eef1f6; }

.btn-lg { height: 48px; padding: 0 28px; font-size: 15px; }

/* =========================================================
   Header / GNB
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h);
  z-index: 100; display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  --logo-color: #fff; --nav-color: #fff;
}
.site-header .gnb {
  width: 100%; max-width: 1512px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: clamp(20px, 4vw, 154px);
}
.site-header .logo { width: 90px; }
.site-header .logo svg { width: 90px; height: 20px; }
.site-header .logo svg .logo-fill { fill: var(--logo-color); transition: fill .35s; }

.gnb-nav { display: flex; align-items: center; gap: 36px; }
.gnb-menu { display: flex; align-items: center; gap: 36px; list-style: none; margin: 0; padding: 0; }
.gnb-menu > li > a {
  font-weight: 700; font-size: 15px; color: var(--nav-color); transition: color .35s, opacity .2s;
  position: relative; padding: 4px 0;
}
.gnb-menu > li > a:hover { opacity: .7; }
.gnb-menu > li.has-dropdown { position: relative; }

/* dropdown */
.gnb-dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-radius: 8px; padding: 18px 20px; display: flex; flex-direction: column; gap: 16px;
  min-width: 150px; box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.gnb-dropdown a { font-weight: 700; font-size: 14px; color: #111; text-align: center; white-space: nowrap; }
.gnb-dropdown a:hover { color: var(--blue); }
.has-dropdown:hover .gnb-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.gnb-cta { display: flex; align-items: center; gap: 8px; }

/* scrolled state over dark content — add a subtle top gradient for legibility */
.site-header.is-scrolled:not(.is-light) {
  background: linear-gradient(180deg, rgba(8,11,37,.78) 0%, rgba(8,11,37,.34) 100%);
}
/* carry the fade a little past the bar so bright content (the glass cards on
   mobile) doesn't collide hard with the logo as it scrolls underneath */
.site-header.is-scrolled:not(.is-light)::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 34px;
  background: linear-gradient(180deg, rgba(8,11,37,.34), transparent);
  pointer-events: none;
}

/* light theme header (white bg, dark text) */
.site-header.is-light {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  --logo-color: var(--ink); --nav-color: var(--ink);
}
.site-header.is-light .btn-ghost-dark { background: transparent; border-color: var(--ink); color: var(--ink); }
.site-header.is-light .btn-ghost-dark:hover { background: rgba(3,12,38,.06); }
.site-header.is-light .btn-white { background: var(--blue); color: #fff; }
.site-header.is-light .btn-white:hover { background: var(--blue-600); }

/* mobile menu toggle */
.gnb-toggle { display: none; width: 40px; height: 40px; background: none; border: 0; position: relative; }
.gnb-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--nav-color);
  transition: transform .3s var(--ease), opacity .2s, background .35s; }
.gnb-toggle span:nth-child(1){ top: 13px; } .gnb-toggle span:nth-child(2){ top: 19px; } .gnb-toggle span:nth-child(3){ top: 25px; }
body.menu-open .gnb-toggle span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
body.menu-open .gnb-toggle span:nth-child(2){ opacity: 0; }
body.menu-open .gnb-toggle span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   Mobile nav drawer
   ========================================================= */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: rgba(8,11,37,.97);
  backdrop-filter: blur(6px); display: flex; flex-direction: column; padding: 90px 28px 40px;
  transform: translateY(-100%); transition: transform .4s var(--ease); visibility: hidden;
}
body.menu-open .mobile-nav { transform: translateY(0); visibility: visible; }
.mobile-nav a { color: #fff; font-weight: 700; }
.mobile-nav .m-item { font-size: 22px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.mobile-nav .m-sub { padding-left: 14px; }
.mobile-nav .m-sub a { display:block; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.7); padding: 8px 0; }
.mobile-nav .m-cta { display: flex; gap: 10px; margin-top: 28px; }
.mobile-nav .m-cta .btn { flex: 1; height: 46px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--bg-soft); color: var(--muted); padding: 56px 0 64px; }
.site-footer .logo svg { width: 84px; height: 19px; }
.site-footer .logo svg .logo-fill { fill: #9aa3b2; }
.site-footer .f-info { margin-top: 18px; font-size: 13px; line-height: 1.9; color: #8a929e; }
.site-footer .f-copy { margin-top: 14px; font-size: 12px; color: #aab1bc; }
.site-footer a:hover { color: var(--blue); }

/* =========================================================
   Generic page (inner) hero header offset
   ========================================================= */
/* 내부 페이지는 마지막 요소가 푸터에 딱 붙어 보여서 아래 여백을 준다.
   단, 하단이 전체폭 밴드(.cta-band)로 끝나는 페이지는 밴드가 푸터에
   맞닿는 게 정상이므로 여백을 빼준다. */
.page { padding-top: var(--header-h); padding-bottom: clamp(64px, 8vw, 104px); }
.page:has(> .cta-band:last-child) { padding-bottom: 0; }

/* Inner page title block */
.page-title { text-align: center; padding: 72px 0 26px; }
.page-title h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--ink); margin: 0; letter-spacing: -.02em; }
.page-title p { margin: 14px 0 0; color: var(--muted); font-size: 15px; }

/* Tabs (pill) */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 26px 0 40px; }
.tab {
  height: 38px; padding: 0 18px; border-radius: 100px; border: 1px solid var(--line);
  background: #fff; color: #4b5563; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; transition: all .2s var(--ease);
}
.tab:hover { border-color: #c7ccd6; }
.tab.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Card grid */
.cards { display: grid; gap: 20px; }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feat-card {
  background: var(--card); border-radius: var(--radius); padding: 26px 24px; min-height: 150px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat-card h4 { margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.4; white-space: pre-line; }
.fc-illus { align-self: flex-end; width: min(170px, 82%); }
.fc-illus svg { width: 100%; height: auto; display: block; }

/* Section heading (centered) */
.sec-head { text-align: center; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--ink); margin: 0; letter-spacing: -.02em; }
.sec-head p { margin: 14px auto 0; max-width: 640px; color: var(--muted); font-size: 15px; line-height: 1.8; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Service-style dark hero band + capability sections
   ========================================================= */
.svc-hero {
  position: relative; background: #000; color: #fff; text-align: center;
  padding: clamp(120px, 16vh, 190px) 20px clamp(80px, 12vh, 120px);
  overflow: hidden;
}
/* photographic backdrop per product (set via [data-bg]) — slowly drifting so the
   band doesn't read as a flat block, with a scrim on top for copy legibility */
.svc-hero::before {
  content: ""; position: absolute; inset: -4%;
  background-size: cover; background-position: center;
  /* 배경이 아주 천천히 확대되며 위아래로 떠다닌다 + 포인터에 따라 살짝 기운다 */
  animation: svcDrift 26s ease-in-out infinite alternate;
  transform: translate3d(calc(var(--sx, 0) * -14px), calc(var(--sy, 0) * -10px), 0);
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
@keyframes svcDrift {
  from { scale: 1;    translate: 0 -1.4%; }
  to   { scale: 1.07; translate: 0  1.4%; }
}
.svc-hero[data-bg="control"]::before { background-image: url("../assets/img/bg/svc_control.jpg"); }
.svc-hero[data-bg="auth"]::before    { background-image: url("../assets/img/bg/svc_auth.jpg"); }
.svc-hero[data-bg="app"]::before     { background-image: url("../assets/img/bg/svc_app.jpg"); }
.svc-hero[data-bg="company"]::before { background-image: url("../assets/img/bg/svc_company.jpg"); }

.svc-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(3,6,20,.78) 0%, rgba(3,6,20,.5) 42%, rgba(3,6,20,.92) 100%),
    radial-gradient(90% 120% at 50% -10%, rgba(17,33,79,.55) 0%, transparent 68%);
}
/* pages with no photo keep the original flat gradient */
.svc-hero:not([data-bg])::before {
  background: radial-gradient(90% 120% at 50% -10%, #11214f 0%, #05060f 55%, #000 100%);
  animation: none; inset: 0;
}
.svc-hero > * { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .svc-hero::before { animation: none; }
}
.svc-hero h1, .svc-hero h2 { margin: 0; font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(30px, 4.6vw, 70px); line-height: 1.2; }
.svc-hero p { margin: 22px auto 0; max-width: 760px; color: rgba(255,255,255,.82);
  font-size: clamp(15px, 1.6vw, 22px); line-height: 1.6; }
.svc-hero .btn { margin-top: 36px; }

.capability-nav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  padding: 16px var(--pad);
}
.capability-nav a {
  font-weight: 700; font-size: clamp(13px, 1.4vw, 18px); color: #444;
  border: 1px solid var(--line); border-radius: 4px; padding: 10px 18px; transition: all .2s var(--ease);
}
.capability-nav a:hover { border-color: #b9c0cd; }
.capability-nav a.is-active { background: #0024b6; border-color: #0024b6; color: #fff; }

.cap-section { padding: clamp(56px, 8vw, 90px) 0; }
.cap-section .sec-head h2 { font-size: clamp(26px, 3.4vw, 42px); }
.cap-section .sec-head p { white-space: pre-line; }

.product-block + .product-block { border-top: 1px solid var(--line); }

/* =========================================================
   Use-cases (활용분야) — category tabs + large square cards
   ========================================================= */
.uc-cat { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 30px 0 8px; }
.uc-cat button {
  font-weight: 700; font-size: clamp(14px, 1.5vw, 18px); color: #222;
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 11px 20px; transition: all .2s var(--ease);
}
.uc-cat button:hover { border-color: #b9c0cd; }
.uc-cat button.is-active { background: #0024b6; border-color: #0024b6; color: #fff; }

.uc-group { padding: clamp(48px, 7vw, 80px) 0 0; }
.uc-group:last-child { padding-bottom: clamp(56px, 8vw, 96px); }
.uc-group .sec-head { margin-bottom: 34px; }
.uc-group .sec-head h2 { font-size: clamp(26px, 3.4vw, 42px); }

.uc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1016px; margin-inline: auto; }
.uc-card {
  position: relative; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden;
  background: linear-gradient(150deg, #d6dbe6 0%, #c3c8d2 55%, #b7bdca 100%);
  display: flex; align-items: flex-start; padding: 38px 36px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.uc-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 80% 90%, rgba(0,50,200,.12), transparent 60%);
}
.uc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.uc-card h4 { position: relative; z-index: 1; margin: 0; font-size: clamp(19px, 2vw, 25px);
  font-weight: 700; color: rgba(0,0,0,.82); line-height: 1.45; white-space: pre-line; letter-spacing: -.01em; }
.uc-card .uc-illus { position: absolute; right: 7%; bottom: 7%; width: 60%; z-index: 1; }
.uc-illus svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 16px 30px rgba(8,11,37,.12)); }

@media (max-width: 720px) {
  .uc-cards { grid-template-columns: 1fr; max-width: 480px; }
  .uc-card { aspect-ratio: 16 / 10; padding: 28px; }
  .uc-card .uc-illus { width: 42%; right: 5%; bottom: 8%; }
}

/* =========================================================
   Support (고객지원) — shared
   ========================================================= */
.pill-tabs { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 8px 0 44px; }
.pill-tabs a {
  font-weight: 700; font-size: clamp(14px, 1.5vw, 18px); color: #222;
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 11px 20px; transition: all .2s var(--ease);
}
.pill-tabs a:hover { border-color: #b9c0cd; }
.pill-tabs a.is-active { background: #0024b6; border-color: #0024b6; color: #fff; }

.support-wrap { max-width: 1000px; margin-inline: auto; }

/* list (notices / downloads) */
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 4px; border-bottom: 1px solid var(--line); }
.list-row:first-child { border-top: 1px solid var(--line); }
.list-row .lr-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.list-row .lr-title { font-weight: 700; font-size: 18px; color: #16181d; }
.list-row a.lr-title:hover { color: var(--blue); }
.list-row .lr-date { font-size: 15px; color: #999; }
.list-row .lr-dl {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 100px; font-weight: 700; font-size: 14px; color: #444;
}
.list-row .lr-dl:hover { border-color: var(--blue); color: var(--blue); }

/* pagination */
.pagination { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 48px 0 8px; }
.pagination .pg-nums { display: flex; gap: 10px; }
.pagination a, .pagination span {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: #999; border-radius: 3px; user-select: none;
}
.pagination a:hover { color: #16181d; }
.pagination .is-current { background: #f0f4ff; color: var(--blue); }
.pagination .pg-edge { color: #c2c2c2; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 26px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-weight: 700; font-size: 18px; color: #16181d; }
.faq-ic { position: relative; width: 28px; height: 28px; flex-shrink: 0; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; background: #16181d;
  transition: transform .3s var(--ease), opacity .3s; }
.faq-ic::before { left: 4px; right: 4px; top: 13px; height: 2px; }
.faq-ic::after { top: 4px; bottom: 4px; left: 13px; width: 2px; }
.faq-item.open .faq-ic::after { transform: scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 4px 28px; color: #555; font-size: 16px; line-height: 1.75; }
.faq-item.open .faq-a { max-height: 600px; }

/* detail */
.detail-head { padding: 8px 4px 22px; border-bottom: 2px solid #16181d; }
.detail-head h2 { margin: 0; font-size: 26px; font-weight: 700; color: #16181d; }
.detail-head .d-date { margin-top: 12px; font-size: 15px; color: #999; }
.detail-body { padding: 36px 4px; font-size: 16px; line-height: 1.9; color: #333; border-bottom: 1px solid var(--line); min-height: 260px; }
.detail-foot { display: flex; justify-content: center; margin-top: 40px; }
.detail-foot .btn { height: 46px; padding: 0 32px; }

/* =========================================================
   Contact form (문의하기)
   ========================================================= */
.contact-wrap { max-width: 620px; margin-inline: auto; }
.field { margin-bottom: 22px; }
.field > label { display: block; font-weight: 700; font-size: 14px; color: #16181d; margin-bottom: 8px; }
.field > label .req { color: var(--blue); }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 13px 14px;
  font-family: inherit; font-size: 15px; color: #16181d; background: #fff; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder, .field textarea::placeholder { color: #b5bbc4; }

.check-row { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 4px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #444; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--blue); }

.file-row { display: flex; gap: 10px; }
.file-row input[type="text"] { flex: 1; }
.file-btn { flex-shrink: 0; padding: 0 18px; border: 1px solid var(--line); border-radius: 8px;
  background: #f7f8fa; font-weight: 700; font-size: 14px; color: #444; }
.file-btn:hover { border-color: #b9c0cd; }

.agree-row { margin: 6px 0 30px; }
.agree-row a { color: var(--blue); text-decoration: underline; font-weight: 700; }
.contact-submit { display: flex; justify-content: center; margin-bottom: 8px; }
.contact-submit .btn { height: 52px; padding: 0 60px; font-size: 16px; min-width: 280px; }
.form-note { text-align: center; color: var(--muted); font-size: 14px; margin: -8px 0 36px; }

/* form validation + submit status */
.field input.is-invalid, .field textarea.is-invalid {
  border-color: #e2445c; background: #fff6f7;
}
.form-status {
  max-width: 620px; margin: 0 auto 20px; padding: 13px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 600; line-height: 1.6; text-align: center;
}
.form-status.is-info  { background: #eef3ff; color: #1c3fb0; }
.form-status.is-error { background: #fdeef0; color: #b3182f; }

/* =========================================================
   Support — notice list / detail / FAQ extras
   ========================================================= */
.list-row .lr-tag {
  display: inline-block; margin-right: 10px; padding: 3px 10px; border-radius: 100px;
  background: #eef3ff; color: var(--blue); font-size: 12px; font-weight: 700;
  vertical-align: 2px;
}
.list-row { transition: background .2s var(--ease), padding-left .25s var(--ease); }
.list-row:hover { background: #fafbfe; padding-left: 10px; }

.detail-head .d-tag {
  margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .12em;
  color: var(--blue); text-transform: uppercase;
}
.notice-nav { display: grid; gap: 12px; margin-top: 36px; }
.nd-link {
  display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px;
  font-weight: 700; color: #16181d; transition: all .2s var(--ease);
}
.nd-link span {
  display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800;
  letter-spacing: .1em; color: var(--muted-2);
}
.nd-link:hover { border-color: var(--blue); color: var(--blue); transform: translateX(4px); }

.faq-cta {
  margin-top: 56px; padding: 40px 24px; text-align: center;
  background: var(--bg-soft); border-radius: var(--radius-lg);
}
.faq-cta p { margin: 0 0 20px; font-weight: 700; color: var(--ink); font-size: 17px; }

/* =========================================================
   구축 사례 (회사소개)
   ========================================================= */
.proof-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proof-group {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px;
  background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.proof-group:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cfd8ea; }
.proof-group .pg-tag {
  display: inline-block; padding: 5px 12px; border-radius: 100px;
  background: #eef3ff; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .04em;
}
.proof-group h3 {
  margin: 14px 0 22px; font-size: 20px; font-weight: 800; color: var(--ink);
  line-height: 1.42; letter-spacing: -.02em; word-break: keep-all;
}
.proof-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.proof-group li { display: grid; gap: 5px; padding-left: 14px; position: relative; }
.proof-group li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--blue);
}
.proof-group li b { font-size: 15px; font-weight: 700; color: var(--text); }
.proof-group li span { font-size: 14px; color: var(--muted); line-height: 1.6; word-break: keep-all; }

.proof-confid {
  max-width: 720px; margin: 16px auto 0; text-align: center;
  font-size: 13px; line-height: 1.7; color: var(--muted-2); word-break: keep-all;
}
.proof-note {
  max-width: 720px; margin: 44px auto 0; padding: 20px 24px; text-align: center;
  border-radius: var(--radius); background: var(--bg-soft);
  font-size: 15px; line-height: 1.75; color: #4b5563; word-break: keep-all;
}

/* =========================================================
   도입 절차 (layout.js가 #process 자리에 주입)
   ========================================================= */
/* 이 섹션은 layout.js가 주입하느라 .cap-section 을 안 쓰므로
   세로 여백을 직접 잡아준다 (안 주면 위 섹션에 딱 붙는다) */
.process { background: var(--bg-soft); padding: clamp(64px, 9vw, 104px) 0; }
.process .sec-head { margin-bottom: 44px; }
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.step {
  position: relative; padding: 30px 24px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
}
/* connector between steps */
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -13px; width: 10px; height: 2px;
  background: #c9d3e8;
}
.step-n {
  display: block; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--blue);
}
.step h4 { margin: 10px 0 10px; font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.step p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--muted); word-break: keep-all; }

/* =========================================================
   하단 문의 유도 밴드 (layout.js가 #cta-band 자리에 주입)
   ========================================================= */
.cta-band {
  padding: clamp(72px, 11vw, 120px) 0; text-align: center; color: #fff;
  background: radial-gradient(120% 140% at 50% -20%, #0a1030 0%, rgba(0,26,110,.92) 48%, #0032c8 100%);
}
.cta-band h2 {
  margin: 0; font-size: clamp(24px, 3.4vw, 42px); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.32; word-break: keep-all;
}
.cta-band p {
  margin: 18px auto 0; max-width: 640px; color: rgba(255,255,255,.8);
  font-size: clamp(14px, 1.5vw, 17px); line-height: 1.75; word-break: keep-all;
}
.cta-band-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* 활용분야 시나리오별 문의 버튼 */
.uc-ask { display: flex; justify-content: center; margin-top: 40px; }

/* =========================================================
   법적 고지 페이지 (개인정보처리방침)
   ========================================================= */
.legal { padding-bottom: 40px; }
.legal-lead {
  margin: 0 0 40px; padding: 22px 24px; border-radius: var(--radius);
  background: var(--bg-soft); color: #4b5563; font-size: 15px; line-height: 1.8; word-break: keep-all;
}
.legal section { margin-bottom: 40px; }
.legal h2 {
  margin: 0 0 14px; font-size: 19px; font-weight: 800; color: var(--ink);
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.legal p { margin: 0 0 12px; font-size: 15px; line-height: 1.85; color: #4b5563; word-break: keep-all; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal li { font-size: 15px; line-height: 1.9; color: #4b5563; word-break: keep-all; }
.legal a { color: var(--blue); text-decoration: underline; }
.legal-box {
  padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px;
}
.legal-box p { margin: 0 0 6px; font-size: 15px; }
.legal-box p:last-child { margin-bottom: 0; }

.site-footer .f-links { margin-top: 14px; }
.site-footer .f-links a { font-weight: 700; }

/* =========================================================
   Interaction layer (js/interactions.js)
   ========================================================= */
.page--flush { padding-top: 0; }
.site-header.is-compact.is-light { box-shadow: 0 6px 24px rgba(8,11,37,.07); }

/* reading progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: linear-gradient(90deg, var(--blue), #6f9bff);
  transform: scaleX(0); transform-origin: 0 50%; pointer-events: none;
}

/* back to top */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--blue); box-shadow: 0 8px 26px rgba(0,50,200,.32);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-600); }
.to-top::before {
  content: ""; position: absolute; left: 50%; top: 52%;
  width: 10px; height: 10px; border-left: 2px solid #fff; border-top: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* button ripple + press feedback */
.btn { position: relative; overflow: hidden; }
.btn:active { transform: scale(.97); }
.btn-ripple {
  position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%; background: currentColor; opacity: .32; pointer-events: none;
  animation: ripple .6s var(--ease) forwards;
}
@keyframes ripple { to { transform: scale(22); opacity: 0; } }

/* cards pick up a pointer-tracked highlight */
.feat-card, .uc-card { position: relative; isolation: isolate; }
.feat-card::before, .uc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
    rgba(0,50,200,.09), transparent 70%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.feat-card:hover::before, .uc-card:hover::before { opacity: 1; }
.feat-card { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.feat-card:hover { transform: translateY(-6px); }
.fc-illus, .uc-illus { transition: transform .45s var(--ease); }
.feat-card:hover .fc-illus { transform: translateY(-4px) scale(1.05); }
.uc-card:hover .uc-illus { transform: translateY(-6px) scale(1.04); }

/* nav + tab pills */
.gnb-menu > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .3s var(--ease);
}
.gnb-menu > li > a:hover::after, .gnb-menu > li.is-active > a::after { transform: scaleX(1); }
.pill-tabs a, .capability-nav a { transition: all .22s var(--ease); }
.pill-tabs a:hover, .capability-nav a:hover { transform: translateY(-2px); }

/* footer link */
.site-footer a { transition: color .2s var(--ease); }
.site-footer a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scroll-progress, .btn-ripple { display: none; }
  .btn:active { transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .gnb-nav { display: none; }
  .gnb-toggle { display: block; }
  .cards.cols-3 { grid-template-columns: 1fr 1fr; }
  .proof-groups { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 560px) {
  :root { --pad: 18px; }
  .cards.cols-3, .cards.cols-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none !important; }
  .proof-group { padding: 26px 22px; }
  .cta-band-row { flex-direction: column; align-items: stretch; }
  .cta-band-row .btn { width: 100%; }
  .uc-ask .btn { width: 100%; }
}

/* ---- mobile refinements added after the 375/768 responsive pass ---- */
@media (max-width: 560px) {
  /* three CTAs wrapped into a ragged 1 + 2 layout that ran to both edges */
  .closing .cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .closing .cta-row .btn { width: 100%; }

  .site-footer .f-info { word-break: keep-all; }

  .to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
  .faq-cta { padding: 32px 20px; }
  .faq-cta .btn { width: 100%; }
}

/* Scrollable pill rows had no affordance — items simply vanished at the right
   edge. Fade the trailing edge so it reads as "there is more this way". */
@media (max-width: 640px) {
  .capability-nav, .pill-tabs, .uc-cat {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
            mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
  }
  .capability-nav { padding-right: 30px; }
}

/* ---- mobile typography / nav refinements ---- */
@media (max-width: 640px) {
  /* 모바일에선 위아래 여백이 내용만큼 커져서 남색 띠가 필요 이상으로 길어 보였다 */
  .svc-hero { padding-top: 84px; padding-bottom: 46px; }
  .svc-hero p { margin-top: 14px; }
  .svc-hero .btn { margin-top: 24px; }
  .svc-hero h1, .svc-hero h2 { font-size: clamp(20px, 5.4vw, 36px); word-break: keep-all; line-height: 1.32; }
  .svc-hero p { font-size: 14px; word-break: keep-all; }
  .cap-section .sec-head h2, .uc-group .sec-head h2 { word-break: keep-all; }
  .sec-head p { word-break: keep-all; font-size: 14px; line-height: 1.7; }
  .cap-section .sec-head p { white-space: normal; }
  /* horizontally scrollable pill rows instead of cramped wrapping */
  .capability-nav, .pill-tabs, .uc-cat {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .capability-nav::-webkit-scrollbar, .pill-tabs::-webkit-scrollbar, .uc-cat::-webkit-scrollbar { display: none; }
  .capability-nav a, .pill-tabs a, .uc-cat button { white-space: nowrap; flex-shrink: 0; }
  .statement h2, .closing h2, .hero h1 { word-break: keep-all; }
  .list-row { flex-wrap: wrap; }
}
