/* =========================================================
   fmsoft.co.kr — site design system
   2007년 시스템트레이딩 솔루션 → Consensus(AI 투자 컨센서스)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;700&family=Nanum+Myeongjo:wght@700;800&family=Nanum+Gothic:wght@400;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  /* fmsoft Alpha Solution 제안서(PPTX)에서 실제로 쓰인 색·톤을 그대로 가져옴 */
  --paper: #f6f7f9;
  --paper-raised: #ffffff;
  --ink: #101828;
  --ink-soft: #475467;
  --ink-faint: #7b8494;
  --line: #dfe3e8;
  --line-soft: #edf0f3;

  --accent: #1d4ed8;
  --accent-strong: #173ea6;
  --accent-soft: #e8eefc;
  --accent-ink: #17316f;

  --consensus: #008cc2;
  --consensus-soft: #e1f1f8;
  --consensus-ink: #045577;

  --good: #6a9e4e;
  --good-soft: #eaf3e3;

  --shadow-sm: 0 1px 2px rgba(26, 36, 64, .06);
  --shadow-md: 0 8px 28px rgba(26, 36, 64, .1);
  --radius: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nanum Gothic", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent-soft); color: var(--accent-ink); }

h1, h2, h3, h4 { font-family: "Raleway", "Nanum Gothic", sans-serif; font-weight: 700; text-wrap: balance; letter-spacing: 0; margin: 0; color: var(--ink); }
p { margin: 0; }
.num { font-family: "IBM Plex Mono", monospace; font-variant-numeric: tabular-nums; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------------------------------------------------------
   nav
   --------------------------------------------------------- */
.site-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background .25s, border-color .25s, backdrop-filter .25s;
}
.site-nav .container { display: flex; align-items: stretch; gap: 28px; height: 80px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 29px; color: var(--ink); margin-right: auto; }
.brand svg { width: 27px; height: 27px; flex: none; color: var(--accent); }

.nav-links { display: flex; align-items: stretch; gap: 4px; }
.nav-links a {
  position: relative; display: flex; align-items: center; padding: 0 14px; border-radius: 0; font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  transition: color .15s, background .15s; letter-spacing: 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 6px; right: 6px; top: 0; height: 0;
  background: #62d4bd; transition: height .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--line-soft); }
.nav-links a:hover::after, .nav-links a.active::after { height: 3px; }
.nav-links a.active { color: var(--accent-strong); font-weight: 700; }

/* language switcher: 한국어 / English / 日本語 / 中文 */
.lang-switch { position: relative; display: flex; align-items: center; }
.lang-current {
  display: flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--paper-raised); color: var(--ink-soft);
  font: inherit; font-size: 13.5px; font-weight: 600; white-space: nowrap;
  transition: color .15s, background .15s, border-color .15s;
}
.lang-current svg { width: 15px; height: 15px; flex: none; }
.lang-current .lang-caret { width: 12px; height: 12px; opacity: .7; transition: transform .18s; }
.lang-switch.open .lang-current .lang-caret { transform: rotate(180deg); }
.lang-current:hover { color: var(--ink); border-color: var(--ink-faint); }

.lang-menu {
  position: absolute; top: calc(100% - 12px); right: 0; z-index: 60;
  min-width: 148px; margin: 0; padding: 6px; list-style: none;
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s, transform .16s, visibility .16s;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: block; width: 100%; text-align: left; cursor: pointer;
  padding: 8px 12px; border: none; border-radius: 6px; background: none;
  font: inherit; font-size: 14px; color: var(--ink-soft);
}
.lang-menu button:hover { background: var(--line-soft); color: var(--ink); }
.lang-menu button.active { color: var(--accent-strong); font-weight: 700; background: var(--line-soft); }

/* over the dark hero nav the switcher has to invert */
body.has-hero-photo .site-nav .lang-current {
  color: #fff; background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.32);
}
body.has-hero-photo .site-nav .lang-current:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.55); }

/* homepage: nav sits on a permanent dark tint over the hero photo (matches original .stuck_container),
   darkening further once scrolled (matches original .isStuck) */
body.has-hero-photo .site-nav {
  background: rgba(7, 13, 24, .34); border-bottom-color: rgba(255,255,255,.12); backdrop-filter: blur(12px);
}
body.has-hero-photo .site-nav.nav-solid {
  background: rgba(7, 13, 24, .94); box-shadow: 0 1px 12px rgba(0,0,0,.18);
}
body.has-hero-photo .site-nav .brand,
body.has-hero-photo .site-nav .nav-links a,
body.has-hero-photo .site-nav .nav-toggle {
  color: #fff; border-color: rgba(255,255,255,.4);
}
body.has-hero-photo .site-nav .brand svg { color: #fff; }
body.has-hero-photo .site-nav .nav-links a:hover { color: #fff; background: rgba(255,255,255,.14); }
body.has-hero-photo .site-nav .nav-links a.active { color: #fff; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 10px 20px; border-radius: 9px; font-size: 14.5px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #000; box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-strong); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--paper-raised); }
.btn-ghost:hover { border-color: var(--ink-faint); }
.btn-lg { padding: 13px 26px; font-size: 15.5px; border-radius: 10px; }

.nav-toggle { display: none; }

/* ---------------------------------------------------------
   hero
   --------------------------------------------------------- */
.hero { padding: 88px 0 64px; }
.hero.hero-photo {
  position: relative; margin-top: -80px; min-height: 525px; padding: 148px 0 43px; overflow: hidden; color: #fff;
  background-color: #07111f;
  background-image: linear-gradient(90deg, rgba(5,13,25,.96) 0%, rgba(5,13,25,.86) 52%, rgba(5,13,25,.72) 100%), url('/static/images/header_bg.jpg');
  background-position: center, center 34%;
  background-size: cover, cover;
  background-repeat: no-repeat;
}
.hero.hero-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(255,255,255,.18); }
.hero.hero-photo .container { position: relative; z-index: 1; }
.hero-home-grid { min-height: 334px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, .75fr); gap: 70px; align-items: center; }
.hero-copy { align-self: center; }
.hero-kicker { color: #76e2cc; font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 600; margin-bottom: 22px; }
.hero-copy h1 { color: #fff; font-size: clamp(42px, 3.8vw, 56px); line-height: 1.12; font-weight: 700; }
.hero-copy h1 span { color: #76e2cc; }
.hero-summary { max-width: 650px; margin-top: 18px; color: rgba(255,255,255,.8); font-size: 15px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-primary, .hero-secondary { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border-radius: 6px; font-size: 13.5px; font-weight: 700; transition: transform .18s, background .18s, border-color .18s; }
.hero-primary { gap: 16px; background: #76e2cc; color: #07111f; }
.hero-primary svg { width: 18px; height: 18px; }
.hero-secondary { color: #fff; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.hero-primary:hover, .hero-secondary:hover { transform: translateY(-2px); }
.hero-secondary:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.75); }
.hero-context { align-self: center; margin: 0; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.3); }
.context-label { margin-bottom: 8px; color: #76e2cc; font-size: 11px; font-weight: 700; }
.hero-context blockquote { margin: 0; color: #fff; font-family: "Nanum Myeongjo", serif; font-size: 17px; font-weight: 700; line-height: 1.6; word-break: keep-all; }
.context-vision { margin-top: 10px; color: rgba(255,255,255,.65); font-size: 12px; line-height: 1.6; word-break: keep-all; }
.context-products { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 16px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.18); }
.context-products a { min-width: 0; padding: 11px 12px; background: rgba(7,17,31,.58); transition: background .18s; }
.context-products a:hover { background: rgba(255,255,255,.12); }
.context-products b, .context-products span { display: block; }
.context-products b { color: #fff; font-size: 12px; }
.context-products span { margin-top: 4px; overflow: hidden; color: rgba(255,255,255,.55); font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.context-meta { display: flex; gap: 22px; padding-top: 9px; color: rgba(255,255,255,.48); font-family: "IBM Plex Mono", monospace; font-size: 8px; }
.context-meta b { margin-right: 4px; color: #fff; font-size: 12px; font-weight: 600; }
.hero-scroll { display: none; }
.hero-scroll span { position: absolute; top: 8px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #76e2cc; animation: scrollCue 1.8s ease-in-out infinite; }
@keyframes scrollCue { 0%,100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(8px); opacity: 1; } }
.architecture-block { padding-top: 18px !important; padding-bottom: 18px !important; background: var(--paper); }
.architecture-block .flow-diagram { max-width: 1040px; margin: 0 auto; }
.hero-panel {
  max-width: 860px; margin: 0 auto; padding: 28px 48px;
  background: rgba(8,14,32,.55); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.hero.hero-photo .statement {
  font-family: "Raleway", "Nanum Gothic", sans-serif; font-weight: 600; color: #fff;
  font-size: clamp(15px, 1.65vw, 19px); line-height: 2; max-width: 780px;
  text-align: center; margin: 0 auto;
}
.hero.hero-photo .hero-cta { justify-content: center; margin-top: 20px; }
.btn-play {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.4); border-radius: 40px;
  padding: 6px 22px 6px 6px; color: #fff; font-weight: 700; font-size: 15px;
  transition: background .15s;
}
.btn-play:hover { background: rgba(255,255,255,.26); }
.btn-play .play-circle {
  flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.75); display: flex; align-items: center; justify-content: center;
}
.btn-play .play-circle svg { width: 13px; height: 13px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  font-size: 13px; font-weight: 700; color: var(--accent-strong); letter-spacing: .04em;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1.headline { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.28; font-weight: 900; max-width: 820px; }
h1.headline .accent { color: var(--accent); }
h1.headline .accent.is-consensus { color: var(--consensus); }
.lede { font-size: 17.5px; color: var(--ink-soft); max-width: 600px; margin-top: 22px; line-height: 1.8; }
.hero-cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

/* ---------------------------------------------------------
   trust strip / stats
   --------------------------------------------------------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.stat-row .stat { background: var(--paper-raised); padding: 20px 20px; }
.stat-row .stat .v { font-family: "IBM Plex Mono", monospace; font-size: 21px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stat-row .stat .l { font-size: 12px; color: var(--ink-faint); margin-top: 6px; line-height: 1.5; }

/* ---------------------------------------------------------
   sections
   --------------------------------------------------------- */
section.block { padding: 84px 0; }
section.block.tight { padding: 56px 0; }
.block-head { max-width: 640px; margin-bottom: 44px; }
.block-head .eyebrow { margin-bottom: 14px; }
.block-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.block-head p { color: var(--ink-soft); font-size: 16px; margin-top: 14px; }

.block-alt { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* pivot statement */
.pivot { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.pivot-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; background: var(--paper-raised); }
.pivot-card .k { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink-faint); margin-bottom: 10px; }
.pivot-card h3 { font-size: 20px; margin-bottom: 10px; }
.pivot-card p { color: var(--ink-soft); font-size: 14.5px; }
.pivot-arrow { text-align: center; font-size: 30px; font-weight: 300; color: var(--ink-faint); }
.pivot-card.now { border-color: var(--consensus); background: linear-gradient(180deg, var(--consensus-soft), var(--paper-raised) 65%); }
.pivot-card.now .k { color: var(--consensus-ink); }
.pivot-link { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--accent-strong); }
.pivot-card.now .pivot-link { color: var(--consensus-ink); }

/* feature grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px;
  background: var(--paper-raised); box-shadow: none; transition: transform .18s, border-color .18s, box-shadow .18s;
}
.feature-card:hover { transform: translateY(-3px); border-color: #c8d0dc; box-shadow: 0 12px 28px rgba(16,24,40,.08); }
.feature-card .ico { width: 36px; height: 36px; border-radius: 9px; background: var(--consensus-soft); color: var(--consensus-ink); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-card .ico svg { width: 19px; height: 19px; }
.feature-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; font-family: "Nanum Gothic", sans-serif; }
.feature-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; }
.feature-card .tag {
  display: inline-block; margin-top: 12px; font-size: 10.5px; font-weight: 700; padding: 3px 8px;
  border-radius: 20px; background: var(--good-soft); color: var(--good); letter-spacing: .02em;
}

/* consensus promo band */
.promo {
  border-radius: 8px; padding: 48px 44px; background: #101828;
  color: #f4f2ea; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.promo h3 { color: #fff; font-size: 26px; margin-bottom: 10px; }
.promo p { color: #c7c9c3; font-size: 15px; max-width: 460px; }
.promo .btn-accent { flex: none; }

/* global vision */
.global-vision {
  position: relative; min-height: 470px; display: flex; align-items: center; overflow: hidden;
  color: #fff; background-color: #16212a;
  background-image: linear-gradient(90deg, rgba(8,18,25,.66), rgba(8,18,25,.48)), url('/static/images/parallax1.jpg');
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat;
  background-attachment: scroll, fixed;
}
.global-vision::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,12,18,.08), rgba(5,12,18,.22)); }
.global-vision .container { position: relative; z-index: 1; width: 100%; }
.global-vision-copy { max-width: 850px; margin: 0 auto; text-align: center; }
.global-vision-label { margin-bottom: 13px; color: #76e2cc; font-size: 12px; font-weight: 700; }
.global-vision h2 { color: #fff; font-size: clamp(27px, 3vw, 39px); line-height: 1.35; font-weight: 700; }
.global-vision h2::after { content: ""; display: block; width: 42px; height: 2px; margin: 22px auto; background: #76e2cc; }
.global-vision-copy > p:last-child { color: rgba(255,255,255,.86); font-size: 15px; line-height: 1.9; text-shadow: 0 1px 2px rgba(0,0,0,.35); }

/* video embed */
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: var(--shadow-md); max-width: 760px; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cap { font-size: 12.5px; color: var(--ink-faint); margin-top: 12px; max-width: 760px; }

/* timeline (history page) */
.timeline { position: relative; max-width: 760px; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; left: 84px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.tl-item { position: relative; display: grid; grid-template-columns: 68px 1fr; gap: 24px; padding-bottom: 42px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-year { font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 14px; color: var(--accent-strong); text-align: right; padding-top: 2px; }
.tl-dot { position: absolute; left: 80px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper-raised); border: 2px solid var(--accent); }
.tl-item.now .tl-dot { border-color: var(--consensus); background: var(--consensus); }
.tl-item.now .tl-year { color: var(--consensus-ink); }
.tl-body h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; font-family: "Nanum Gothic", sans-serif; }
.tl-body p { font-size: 14px; color: var(--ink-soft); max-width: 560px; }

/* client roster */
.roster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.roster-item { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-raised); }
.roster-item .name { font-weight: 700; font-size: 14.5px; }
.roster-item .year { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; color: var(--accent-strong); display: inline-block; }
.roster-item p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }

/* architecture flow diagram — left data sources -> OMS/PMS/RMS -> 주문 -> outputs, animated flowing dots */
.flow-diagram { position: relative; width: 100%; aspect-ratio: 1000 / 600; container-type: inline-size; }
.flow-diagram > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow-diagram .fd-el { position: absolute; transform: translate(-50%, -50%); text-align: center; }
.fd-node {
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .5cqw;
  border-radius: 50%; background: var(--paper-raised); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 1.55cqw; font-weight: 700; color: var(--ink); line-height: 1.15;
}
.fd-node.fd-hub { font-size: 1.75cqw; border-color: var(--accent); border-width: 1.5px; }
.fd-node.fd-highlight {
  background: radial-gradient(circle at 32% 26%, #a9e2fb 0%, #4fa8dd 42%, #1568a8 78%, #0c4d84 100%);
  color: #fff; border: none;
  box-shadow: inset 0 -6px 10px rgba(4,40,70,.35), inset 0 4px 8px rgba(255,255,255,.55), 0 6px 16px rgba(21,104,168,.35);
}
.fd-node span.fd-sub { display: block; font-size: .62em; font-weight: 500; opacity: .8; }
/* 긴 라벨은 원의 좁아지는 폭 안에 들어오도록 축소 */
.fd-node span.fd-label-sm { font-size: .68em; letter-spacing: -.01em; }
.fd-node svg { display: block; flex: none; width: 2.6cqw; height: 2.6cqw; color: var(--ink-soft); }
.fd-group {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm);
  padding: 1.4cqw .9cqw; display: flex; flex-direction: column; justify-content: center; gap: .45cqw; align-items: stretch;
}
.fd-group .fd-chip {
  font-size: 1.15cqw; font-weight: 600; color: var(--ink-soft); background: var(--line-soft);
  border-radius: 5px; padding: .3cqw .6cqw; white-space: nowrap;
}
.fd-list { text-align: left; font-size: 1.1cqw; color: var(--ink-soft); line-height: 1.5; }
.fd-list b { display: block; font-size: 1.1em; color: var(--ink); margin-bottom: 2px; }

/* v2: individual per-node layout (grey background throughout, hub icon, glossy OMS/PMS/RMS badges) */
.fd-hub2 {
  width: 8.4cqw; height: 8.4cqw; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex: none;
  background: linear-gradient(155deg, #2c4289, #16244e);
  box-shadow: 0 10px 24px rgba(20,32,70,.35);
}
.fd-hub2 svg { width: 3.6cqw; height: 3.6cqw; color: #fff; }
.fd-src {
  width: 13.6cqw; min-height: 4.2cqw; padding: .4cqw .7cqw;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm);
  font-size: 1.1cqw; font-weight: 700; color: var(--ink-soft); line-height: 1.2;
}
.fd-suite { display: flex; flex-direction: column; align-items: center; gap: .55cqw; }
.fd-suite .fd-suite-img {
  width: 11.6cqw; height: 11.6cqw; border-radius: 50%; overflow: hidden; flex: none;
  border: 3px solid #fff; box-shadow: 0 10px 26px rgba(20,32,70,.22), 0 0 0 1px var(--line);
}
.fd-suite .fd-suite-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fd-suite .fd-suite-label { font-size: 1.3cqw; font-weight: 800; color: var(--accent-strong); }
.fd-out {
  width: 15cqw; min-height: 4.2cqw; padding: .4cqw .8cqw;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-sm);
  font-size: 1.05cqw; font-weight: 600; color: var(--ink-soft); line-height: 1.2;
}
.fd-out.fd-out-sm { min-height: 3.2cqw; font-size: .95cqw; padding: .3cqw .8cqw; }

/* pptx deck recreation (Alpha솔루션.pptx, converted 1:1 — layout/color/font/backgrounds faithful to the original) */
.deck { display: flex; flex-direction: column; gap: 26px; max-width: 900px; margin: 0 auto; }
.slide-wrap { width: 100%; }
.slide {
  position: relative; width: 100%; aspect-ratio: 960 / 540;
  container-type: inline-size;
  border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.slide.sl-photo {
  background: linear-gradient(90deg, rgba(0,0,0,.863) 0%, rgba(54,91,157,.863) 100%), var(--slide-bg-img) center / cover no-repeat;
}
.slide .sl-el { position: absolute; }
.slide .sl-cell-photo { background-size: cover; background-position: center; }
.slide .sl-text { display: flex; align-items: center; }
.slide .sl-quote { line-height: .8; font-weight: 700; }
.slide .sl-icon-badge {
  border: 1.5px solid rgba(255,255,255,.85); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.slide .sl-icon-badge svg { width: 55%; height: 55%; }
.slide .sl-img { border: 1px solid rgba(255,255,255,.25); }
.slide-cap { text-align: center; font-size: 12px; color: var(--ink-faint); margin-top: 10px; }

/* Alpha Solution: module suite */
.suite { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.suite-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; background: var(--paper-raised); box-shadow: var(--shadow-sm); }
.suite-card .code { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--accent-strong); font-weight: 600; letter-spacing: .03em; margin-bottom: 8px; }
.suite-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; font-family: "Nanum Gothic", sans-serif; }
.suite-card .role { font-size: 12.5px; color: var(--ink-faint); margin-bottom: 14px; }
.suite-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.suite-card li { font-size: 13.5px; color: var(--ink-soft); padding-left: 16px; position: relative; }
.suite-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* capability map: 금융 이해 + 데이터 역량 -> 4 skills -> Alpha Solution / Consensus */
.capmap { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 12px; }
.capmap-row { display: flex; align-items: stretch; justify-content: center; gap: 14px; flex-wrap: wrap; }
.capmap-pill {
  border: 1px solid var(--line); background: var(--paper-raised); border-radius: 12px; padding: 18px 24px;
  font-size: 14.5px; font-weight: 700; text-align: center; box-shadow: var(--shadow-sm); display: flex; align-items: center;
}
.capmap-plus { align-self: center; color: var(--ink-faint); font-size: 22px; font-weight: 300; }
.capmap-arrow { color: var(--ink-faint); font-size: 20px; line-height: 1; }
.capmap-tag {
  font-size: 13px; font-weight: 600; color: var(--ink-soft); background: var(--line-soft);
  border-radius: 20px; padding: 9px 18px;
}
.capmap-output {
  display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 28px; background: var(--paper-raised); font-weight: 700; font-size: 15.5px; text-align: center;
  min-width: 200px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s;
}
.capmap-output:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.capmap-output span { font-weight: 500; font-size: 12px; color: var(--ink-faint); }
.capmap-output.alpha { border-color: var(--accent); }
.capmap-output.consensus { border-color: var(--consensus); }

/* day pipeline (pre/intra/post market) */
.pipeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.pipe-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-raised); overflow: hidden; }
.pipe-card .head { padding: 16px 20px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: baseline; justify-content: space-between; }
.pipe-card .head h4 { font-size: 15.5px; font-weight: 700; font-family: "Nanum Gothic", sans-serif; }
.pipe-card .head .t { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--ink-faint); }
.pipe-card .body { padding: 16px 20px; }
.pipe-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pipe-card .tags span { font-size: 11.5px; color: var(--ink-soft); background: var(--line-soft); border-radius: 6px; padding: 4px 8px; }
.pipe-card.mid .head { background: var(--accent-soft); }

/* table (consensus pricing / menu) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin-top: 8px; }
table.plan-table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 460px; }
table.plan-table th, table.plan-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); }
table.plan-table thead th { background: var(--line-soft); font-size: 11.5px; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-faint); font-weight: 700; }
table.plan-table tbody tr:last-child td { border-bottom: none; }
table.plan-table td.num { font-family: "IBM Plex Mono", monospace; font-variant-numeric: tabular-nums; }

/* contact card */
.contact-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-raised); padding: 32px 34px; box-shadow: var(--shadow-sm); }
.contact-card h3 { font-size: 19px; margin-bottom: 22px; }
.contact-row { display: flex; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line-soft); }
.contact-row:first-of-type { border-top: none; }
.contact-row .k { flex: none; width: 108px; font-size: 12.5px; color: var(--ink-faint); font-weight: 600; padding-top: 1px; }
.contact-row .v { font-size: 14.5px; color: var(--ink); }
.contact-row .v a { color: var(--accent-strong); }
.map-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-raised); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.map-card iframe { border: 0; width: 100%; flex: 1; min-height: 260px; filter: grayscale(.25) contrast(1.02); }
.map-card .cap { padding: 14px 18px; font-size: 12.5px; color: var(--ink-faint); border-top: 1px solid var(--line-soft); }

/* footer */
footer.site-foot { border-top: 1px solid var(--line); background: var(--paper-raised); padding: 44px 0 30px; }
footer.site-foot .foot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 26px; }
footer.site-foot .foot-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; }
footer.site-foot .foot-brand svg { width: 19px; height: 19px; color: var(--accent); }
footer.site-foot .foot-links { display: flex; gap: 6px; flex-wrap: wrap; }
footer.site-foot .foot-links a { font-size: 13.5px; color: var(--ink-soft); padding: 6px 10px; white-space: nowrap; }
footer.site-foot .foot-links a:hover { color: var(--ink); }
footer.site-foot .foot-legal { font-size: 12px; color: var(--ink-faint); line-height: 1.9; border-top: 1px solid var(--line-soft); padding-top: 20px; }
footer.site-foot .foot-legal b { color: var(--ink-soft); font-weight: 600; }
footer.site-foot .sponsor { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink-faint); }
footer.site-foot .sponsor img { height: 16px; width: auto; opacity: .75; }

/* ---------------------------------------------------------
   responsive
   --------------------------------------------------------- */
@media (max-width: 880px) {
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 80px;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 20px 16px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper-raised);
  }
  .grid-3, .grid-2, .pivot, .roster, .contact-wrap, .suite, .pipeline { grid-template-columns: 1fr; }
  .hero-home-grid { grid-template-columns: 1fr; gap: 36px; min-height: auto; }
  .hero-context { padding: 24px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.25); }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .capmap-row { flex-direction: column; align-items: stretch; }
  .capmap-plus, .capmap-arrow { text-align: center; }
  .pivot-arrow { transform: rotate(90deg); }
  section.block { padding: 56px 0; }
  .promo { flex-direction: column; align-items: flex-start; padding: 34px 26px; }
  .timeline::before { left: 6px; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; padding-left: 22px; }
  .tl-dot { left: 2px; }
  .tl-year { text-align: left; }
  footer.site-foot .foot-top { flex-direction: column; }
  .global-vision { min-height: 500px; background-attachment: scroll; }
}

@media (max-width: 560px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .lang-current { padding: 6px 8px; font-size: 12.5px; gap: 4px; }
  .lang-current > svg:first-of-type { display: none; }
  .hero.hero-photo { min-height: 760px; padding: 124px 0 68px; background-position: 62% center; }
  .hero-copy h1 { font-size: 40px; }
  .hero-summary { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-primary, .hero-secondary { width: 100%; }
  .hero-context blockquote { font-size: 17px; line-height: 1.65; }
  .context-vision { display: none; }
  .context-products { margin-top: 18px; }
  .global-vision { min-height: 540px; background-position: center, 58% center; }
  .global-vision h2 { font-size: 26px; }
  .global-vision-copy > p:last-child { font-size: 13px; line-height: 1.85; }
  .trust-logos { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scroll span { animation: none; }
  .flow-diagram animateMotion { display: none; }
}
