:root {
  --navy-950: #07111f;
  --navy-900: #0b1729;
  --navy-800: #12233d;
  --navy-700: #183153;
  --purple: #6857ff;
  --purple-2: #954ee8;
  --cyan: #46d7e8;
  --gold: #f2c75c;
  --green: rgba(221.765,185.36,108.11,1);
  --ink: #172033;
  --muted: rgba(120.367,111.277,91.987,1);
  --line: #dde3ee;
  --surface: #f5f7fb;
  --white: rgba(255,255,255,1);
  --shadow: 0 24px 70px rgba(10, 24, 48, .14);
  --radius: 24px;
  --container: min(1217px, calc(100% - 40px));
}

@font-face { font-family: "Bebob FA Brands"; src: url("/assets/vendor/icons/fa-brands-400.woff2") format("woff2"); font-display: block; }
@font-face { font-family: "Bebob FA Solid"; src: url("/assets/vendor/icons/fa-solid-900.woff2") format("woff2"); font-weight: 900; font-display: block; }
@font-face { font-family: "Bebob Ionicons 4"; src: url("/assets/vendor/icons/ionicons.woff2") format("woff2"); font-display: block; }
@font-face { font-family: "Bebob Ionicons 2"; src: url("/assets/vendor/icons/ionicons-2.woff") format("woff"); font-display: block; }
@font-face { font-family: "Bebob Simple Line"; src: url("/assets/vendor/icons/Simple-Line-Icons.woff2") format("woff2"); font-display: block; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.7;
  word-break: keep-all;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.container { width: var(--container); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; padding: 10px 16px; background: rgba(255,255,255,1); }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 76px;
  color: rgba(255,255,255,1);
  background: rgba(8, 18, 34, .88);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .12em; }
.brand-logo { width: 112px; height: auto; object-fit: contain; }
.brand-mark {
  width: 42px; height: 28px; position: relative;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  clip-path: polygon(0 50%, 24% 0, 76% 0, 100% 50%, 76% 100%, 24% 100%);
  box-shadow: 0 0 22px rgba(70,215,232,.45);
}
.brand-mark::after { content: ""; position: absolute; inset: 4px; background: var(--navy-900); clip-path: inherit; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { position: relative; font-size: 14px; color: rgba(255,255,255,0.78); transition: .25s ease; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -25px; height: 2px; background: rgba(255,255,255,1); transition: .25s; }
.nav a:hover, .nav a.active { color: rgba(255,255,255,1); }
.nav a.active::after, .nav a:hover::after { left: 0; right: 0; }
.nav-cta, .button.primary {
  color: rgba(255,255,255,1) !important;
  background: linear-gradient(135deg, #5545ef, #8a47ed);
  box-shadow: 0 12px 28px rgba(91, 67, 238, .32);
}
.nav-cta { padding: 10px 19px; border-radius: 999px; font-weight: 800; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; color: rgba(255,255,255,1); background: rgba(255,255,255,0.08); font-size: 22px; }

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: rgba(255,255,255,1);
  background: var(--navy-950);
  isolation: isolate;
}
.hero.compact { min-height: 610px; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -2; }
.hero::before { background-image: var(--hero-image); background-position: center; background-size: cover; transform: scale(1.05); animation: heroFloat 9s ease-in-out infinite; }
.hero::after { z-index: -1; background: linear-gradient(100deg, rgba(5,13,27,.95), rgba(7,19,37,.64) 62%, rgba(7,19,37,.85)); }
.hero-grid { padding: 150px 0 90px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .6fr); align-items: center; gap: 64px; }
.hero-grid.center { grid-template-columns: 1fr; text-align: center; }
.hero-content { max-width: 870px; }
.hero-grid.center .hero-content { margin: auto; }
.eyebrow, .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  font-size: 14px;
  letter-spacing: .03em;
}
.hero h1 { margin: 26px 0 22px; font-size: clamp(40px, 5.3vw, 72px); line-height: 1.15; letter-spacing: -.055em; }
.hero.compact h1 { font-size: clamp(38px, 4.7vw, 64px); }
.hero p { max-width: 760px; margin: 0; color: rgba(255,255,255,0.75); font-size: 18px; }
.hero-grid.center p { margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-grid.center .hero-actions { justify-content: center; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; transition: .25s ease; cursor: pointer;
}
.button:hover { transform: translateY(-3px); }
.button.outline { color: rgba(255,255,255,1); border-color: rgba(255,255,255,0.48); background: rgba(7,17,31,.18); }
.button.dark { color: rgba(255,255,255,1); background: var(--navy-900); }
.button.light { color: var(--purple); background: rgba(255,255,255,1); }
.hero-aside { padding: 28px; border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); background: rgba(9,25,46,.56); backdrop-filter: blur(14px); }
.hero-aside strong { display: block; margin-bottom: 8px; color: var(--cyan); font-size: 30px; }
.hero-aside p { font-size: 15px; }
.hero-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 48px; }
.hero-metric { padding: 16px 18px; border: 1px solid rgba(255,255,255,0.11); border-radius: 16px; background: rgba(7,17,31,.48); font-size: 14px; }
.hero-metric span { color: var(--cyan); margin-right: 7px; }
.breadcrumb { margin-bottom: 18px; color: rgba(255,255,255,0.55); font-size: 14px; }
.breadcrumb b { color: rgba(255,255,255,1); }

.section { padding: 112px 0; }
.section.soft { background: var(--surface); }
.section.dark { color: rgba(255,255,255,1); background: var(--navy-950); }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { text-wrap: balance; }              /* 폭에 맞춰 줄을 균형있게 자동 분배 */
.bebob-evaluation .section-head { max-width: 1040px; } /* 긴 헤드라인이 넓은 폭에 맞게 2줄로 */
/* 평가 스토리 설명: 넓은 폭에서 줄이 과하게 길어지지 않게 가독 폭 제한 + 자연 줄바꿈 */
.evaluation-story h3 { text-wrap: balance; }
.evaluation-story p { max-width: 760px; text-wrap: pretty; }
.kicker { display: block; margin-bottom: 12px; color: var(--purple); font-weight: 900; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.dark .kicker { color: var(--cyan); }
.section h2 { margin: 0 0 18px; font-size: clamp(32px, 4vw, 50px); line-height: 1.2; letter-spacing: -.045em; }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }
.dark .section-head p { color: rgba(255,255,255,0.66); }
.gold { color: var(--gold); }
.split { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.card {
  position: relative; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,1);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-7px); border-color: rgba(104,87,255,.3); box-shadow: var(--shadow); }
.dark .card { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.045); }
.card-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 26px; border-radius: 16px; color: rgba(255,255,255,1); background: linear-gradient(135deg,var(--purple),var(--cyan)); font-size: 23px; }
.platform-icon {
  display: inline-block; min-width: 54px; margin-bottom: 24px;
  color: #b49b45; font-size: 48px; line-height: 1;
  font-style: normal; text-align: left;
  filter: drop-shadow(0 8px 20px rgba(180,155,69,.16));
  transition: transform .3s ease, color .3s ease;
}
.card:hover .platform-icon { color: var(--gold); transform: translateY(-4px) scale(1.04); }
.icon-windows::before { content: "\f32f"; font-family: "Bebob Ionicons 4"; }
.icon-apple::before { content: "\f179"; font-family: "Bebob FA Brands"; }
.icon-web::before { content: "\e037"; font-family: "Bebob Simple Line"; }
.icon-android::before { content: "\f225"; font-family: "Bebob Ionicons 2"; }
.icon-linux::before { content: "\f2c5"; font-family: "Bebob Ionicons 2"; }
.icon-cube::before { content: "\f1b2"; font-family: "Bebob FA Solid"; font-weight: 900; }
.card h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.35; }
.card p { margin: 0; color: var(--muted); }
.dark .card p { color: rgba(255,255,255,0.62); }
.tech-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.tech-tags span { padding: 5px 9px; border-radius: 999px; color: rgba(114.985,105.195,84.423,1); background: #f0f2f8; font-size: 14px; }
.dark .tech-tags span { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); }
.ai-label {
  position: absolute;
  z-index: 4;
  top: 17px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 31px;
  padding: 0 10px 0 17px;
  color: #dffcff;
  border: 1px solid rgba(98,231,255,.55);
  border-radius: 6px;
  background:
    linear-gradient(180deg,rgba(77,103,132,.95),rgba(20,33,54,.98)),
    #162438;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -4px 8px rgba(0,0,0,0.25),
    0 0 0 2px rgba(25,42,66,.7),
    0 7px 15px rgba(16,28,49,.25);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-shadow: 0 0 8px rgba(91,233,255,.8);
  transform-origin: 10px 50%;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, color .35s ease;
}
.ai-label::before {
  position: absolute;
  left: -7px;
  top: 7px;
  width: 14px;
  height: 14px;
  border: 3px solid #34465c;
  border-radius: 50%;
  background: #63eeff;
  box-shadow:
    inset 0 0 0 2px #122033,
    0 0 0 2px #17283e,
    0 0 12px rgba(83,231,255,.75);
  content: "";
  transition: transform .45s ease, background .25s ease, box-shadow .25s ease;
}
.ai-label::after {
  position: absolute;
  left: -34px;
  top: -20px;
  width: 72px;
  height: 72px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cdefs%3E%3Cfilter id='g' x='-30%25' y='-30%25' width='160%25' height='160%25'%3E%3CfeGaussianBlur stdDeviation='.7' result='b'/%3E%3CfeMerge%3E%3CfeMergeNode in='b'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round' filter='url(%23g)'%3E%3Cpath d='M48.5 39.6L53.1 40.1' stroke='%23bdfaff' stroke-width='0.30'/%3E%3Cpath d='M53.1 40.1L57.4 36.9' stroke='%23bdfaff' stroke-width='0.24'/%3E%3Cpath d='M57.4 36.9L62.2 39.3' stroke='%23bdfaff' stroke-width='0.19'/%3E%3Cpath d='M62.2 39.3L66.8 38.9' stroke='%23bdfaff' stroke-width='0.14'/%3E%3Cpath d='M57.4 36.9L54.3 23.0' stroke='%23efffff' stroke-width='0.21'/%3E%3Cpath d='M54.3 23.0L59.5 21.6' stroke='%23efffff' stroke-width='0.14'/%3E%3Cpath d='M48.1 42.5L53.3 42.8' stroke='%2376efff' stroke-width='0.30'/%3E%3Cpath d='M53.3 42.8L57.8 45.7' stroke='%2376efff' stroke-width='0.24'/%3E%3Cpath d='M57.8 45.7L63.4 43.6' stroke='%2376efff' stroke-width='0.19'/%3E%3Cpath d='M63.4 43.6L67.5 48.3' stroke='%2376efff' stroke-width='0.14'/%3E%3Cpath d='M45.9 46.1L49.7 50.8' stroke='%23efffff' stroke-width='0.30'/%3E%3Cpath d='M49.7 50.8L53.9 55.1' stroke='%23efffff' stroke-width='0.24'/%3E%3Cpath d='M53.9 55.1L61.0 56.3' stroke='%23efffff' stroke-width='0.19'/%3E%3Cpath d='M61.0 56.3L62.7 63.4' stroke='%23efffff' stroke-width='0.14'/%3E%3Cpath d='M43.1 47.9L45.7 51.6' stroke='%23988cff' stroke-width='0.30'/%3E%3Cpath d='M45.7 51.6L46.0 56.2' stroke='%23988cff' stroke-width='0.24'/%3E%3Cpath d='M46.0 56.2L50.2 59.2' stroke='%23988cff' stroke-width='0.19'/%3E%3Cpath d='M50.2 59.2L49.5 64.3' stroke='%23988cff' stroke-width='0.14'/%3E%3Cpath d='M46.0 56.2L55.7 54.9' stroke='%237defff' stroke-width='0.21'/%3E%3Cpath d='M55.7 54.9L59.4 57.4' stroke='%237defff' stroke-width='0.14'/%3E%3Cpath d='M39.9 48.5L41.6 54.0' stroke='%23ffffff' stroke-width='0.30'/%3E%3Cpath d='M41.6 54.0L39.3 59.6' stroke='%23ffffff' stroke-width='0.24'/%3E%3Cpath d='M39.3 59.6L42.1 65.1' stroke='%23ffffff' stroke-width='0.19'/%3E%3Cpath d='M42.1 65.1L39.6 70.7' stroke='%23ffffff' stroke-width='0.14'/%3E%3Cpath d='M37.5 48.1L35.6 53.4' stroke='%237defff' stroke-width='0.30'/%3E%3Cpath d='M35.6 53.4L33.5 58.6' stroke='%237defff' stroke-width='0.24'/%3E%3Cpath d='M33.5 58.6L32.6 64.2' stroke='%237defff' stroke-width='0.19'/%3E%3Cpath d='M32.6 64.2L31.0 69.6' stroke='%237defff' stroke-width='0.14'/%3E%3Cpath d='M33.9 46.0L30.0 50.1' stroke='%23c9fbff' stroke-width='0.30'/%3E%3Cpath d='M30.0 50.1L24.0 51.9' stroke='%23c9fbff' stroke-width='0.24'/%3E%3Cpath d='M24.0 51.9L22.5 58.8' stroke='%23c9fbff' stroke-width='0.19'/%3E%3Cpath d='M22.5 58.8L17.6 62.0' stroke='%23c9fbff' stroke-width='0.14'/%3E%3Cpath d='M30.0 50.1L36.8 60.6' stroke='%2376efff' stroke-width='0.21'/%3E%3Cpath d='M36.8 60.6L33.0 66.5' stroke='%2376efff' stroke-width='0.14'/%3E%3Cpath d='M32.1 43.1L26.7 43.5' stroke='%23bdfaff' stroke-width='0.30'/%3E%3Cpath d='M26.7 43.5L21.8 45.6' stroke='%23bdfaff' stroke-width='0.24'/%3E%3Cpath d='M21.8 45.6L18.1 50.4' stroke='%23bdfaff' stroke-width='0.19'/%3E%3Cpath d='M18.1 50.4L12.5 50.8' stroke='%23bdfaff' stroke-width='0.14'/%3E%3Cpath d='M31.6 39.0L27.0 38.8' stroke='%2376efff' stroke-width='0.30'/%3E%3Cpath d='M27.0 38.8L22.8 36.6' stroke='%2376efff' stroke-width='0.24'/%3E%3Cpath d='M22.8 36.6L17.9 39.9' stroke='%2376efff' stroke-width='0.19'/%3E%3Cpath d='M17.9 39.9L13.6 36.9' stroke='%2376efff' stroke-width='0.14'/%3E%3Cpath d='M32.1 36.8L28.4 34.5' stroke='%23efffff' stroke-width='0.30'/%3E%3Cpath d='M28.4 34.5L24.6 32.1' stroke='%23efffff' stroke-width='0.24'/%3E%3Cpath d='M24.6 32.1L20.2 31.3' stroke='%23efffff' stroke-width='0.19'/%3E%3Cpath d='M20.2 31.3L15.9 30.1' stroke='%23efffff' stroke-width='0.14'/%3E%3Cpath d='M24.6 32.1L29.0 21.4' stroke='%23ffffff' stroke-width='0.21'/%3E%3Cpath d='M29.0 21.4L25.9 18.1' stroke='%23ffffff' stroke-width='0.14'/%3E%3Cpath d='M34.1 33.9L31.7 29.2' stroke='%23988cff' stroke-width='0.30'/%3E%3Cpath d='M31.7 29.2L29.0 24.8' stroke='%23988cff' stroke-width='0.24'/%3E%3Cpath d='M29.0 24.8L23.3 22.9' stroke='%23988cff' stroke-width='0.19'/%3E%3Cpath d='M23.3 22.9L19.9 19.1' stroke='%23988cff' stroke-width='0.14'/%3E%3Cpath d='M37.1 32.0L36.3 27.6' stroke='%23ffffff' stroke-width='0.30'/%3E%3Cpath d='M36.3 27.6L34.8 23.5' stroke='%23ffffff' stroke-width='0.24'/%3E%3Cpath d='M34.8 23.5L35.8 18.7' stroke='%23ffffff' stroke-width='0.19'/%3E%3Cpath d='M35.8 18.7L30.9 15.4' stroke='%23ffffff' stroke-width='0.14'/%3E%3Cpath d='M40.7 31.5L40.5 26.7' stroke='%237defff' stroke-width='0.30'/%3E%3Cpath d='M40.5 26.7L42.4 22.0' stroke='%237defff' stroke-width='0.24'/%3E%3Cpath d='M42.4 22.0L38.3 17.1' stroke='%237defff' stroke-width='0.19'/%3E%3Cpath d='M38.3 17.1L42.1 12.3' stroke='%237defff' stroke-width='0.14'/%3E%3Cpath d='M42.4 22.0L48.3 18.6' stroke='%23bdfaff' stroke-width='0.21'/%3E%3Cpath d='M48.3 18.6L53.9 15.9' stroke='%23bdfaff' stroke-width='0.14'/%3E%3Cpath d='M42.4 31.8L42.4 26.0' stroke='%23c9fbff' stroke-width='0.30'/%3E%3Cpath d='M42.4 26.0L44.1 20.5' stroke='%23c9fbff' stroke-width='0.24'/%3E%3Cpath d='M44.1 20.5L46.4 15.2' stroke='%23c9fbff' stroke-width='0.19'/%3E%3Cpath d='M46.4 15.2L48.9 10.0' stroke='%23c9fbff' stroke-width='0.14'/%3E%3Cpath d='M46.5 34.5L49.8 31.5' stroke='%23bdfaff' stroke-width='0.30'/%3E%3Cpath d='M49.8 31.5L53.5 29.0' stroke='%23bdfaff' stroke-width='0.24'/%3E%3Cpath d='M53.5 29.0L58.4 28.1' stroke='%23bdfaff' stroke-width='0.19'/%3E%3Cpath d='M58.4 28.1L60.2 23.1' stroke='%23bdfaff' stroke-width='0.14'/%3E%3Cpath d='M48.1 37.4L53.3 34.6' stroke='%2376efff' stroke-width='0.30'/%3E%3Cpath d='M53.3 34.6L59.1 33.2' stroke='%2376efff' stroke-width='0.24'/%3E%3Cpath d='M59.1 33.2L64.4 30.8' stroke='%2376efff' stroke-width='0.19'/%3E%3Cpath d='M64.4 30.8L70.4 30.0' stroke='%2376efff' stroke-width='0.14'/%3E%3Cpath d='M59.1 33.2L57.0 20.2' stroke='%23988cff' stroke-width='0.21'/%3E%3Cpath d='M57.0 20.2L63.8 18.6' stroke='%23988cff' stroke-width='0.14'/%3E%3C/g%3E%3C/svg%3E");
  content: "";
  filter: drop-shadow(0 0 2px rgba(77,229,255,.82));
  opacity: 0;
  transform: scale(.15);
  transform-origin: 50% 50%;
  pointer-events: none;
}
.card:hover .ai-label {
  color: rgba(255,255,255,1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -4px 8px rgba(0,0,0,0.2),
    0 0 0 2px rgba(25,42,66,.8),
    0 0 20px rgba(63,220,255,.42);
  transform: translateX(3px) rotate(-1deg);
}
.card:hover .ai-label::before {
  background: rgba(255,255,255,1);
  box-shadow:
    inset 0 0 0 2px #38d8ed,
    0 0 0 2px #17283e,
    0 0 18px #52edff;
  animation: tesla-core-pulse .65s steps(2,end) infinite;
}
.card:hover .ai-label::after {
  animation: tesla-discharge .72s steps(2,end) infinite;
}
.feature-grid .card { overflow: hidden; }
.feature-grid .card::before {
  position: absolute;
  z-index: 1;
  top: -35px;
  right: -20px;
  width: 190px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(94,231,255,.22),rgba(108,93,255,.08) 38%,transparent 70%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: scale(.5);
}
.feature-grid .card:hover::before {
  animation: tesla-field .72s steps(2,end) infinite;
}
@keyframes tesla-discharge {
  0%, 12%, 100% { opacity: 0; transform: scale(.25) rotate(-2deg); }
  14%, 34% { opacity: 1; transform: scale(1) rotate(0); }
  36%, 48% { opacity: .2; transform: scale(.86) rotate(2deg); }
  50%, 76% { opacity: .95; transform: scale(1.04) rotate(-1deg); }
  78% { opacity: .15; transform: scale(.9); }
}
@keyframes tesla-core-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: inset 0 0 0 2px #38d8ed,0 0 0 2px #17283e,0 0 12px #52edff;
  }
  50% {
    transform: scale(1.3);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,1),0 0 0 2px #17283e,0 0 25px #52edff;
  }
}
@keyframes tesla-field {
  0%, 100% { opacity: .08; transform: scale(.72); }
  36% { opacity: .8; transform: scale(1.12); }
  58% { opacity: .22; transform: scale(.94); }
  74% { opacity: .65; transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .card:hover .ai-label::before,
  .card:hover .ai-label::after,
  .feature-grid .card:hover::before { animation: none; }
  .card:hover .ai-label::after { opacity: 1; transform: scale(1); }
}

.constellation { position: absolute; inset: 0; pointer-events: none; opacity: .3; background-image: radial-gradient(circle, rgba(255,255,255,1) 1px, transparent 1.5px); background-size: 74px 74px; mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, transparent); }

.section.dark { position: relative; overflow: hidden; }

/* 히어로 JS 이펙트 캔버스 (이미지 ::before 자리, 가독성 ::after 오버레이는 그대로 위에) */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.hero--js::before { display: none; }
.feature-grid { position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }

.clients-section {
  padding-top: 96px;
  background:
    linear-gradient(145deg, rgba(104,87,255,.06), transparent 32%),
    rgba(255,255,255,1);
}
.clients-heading {
  display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px;
  align-items: end; margin-bottom: 48px;
}
.clients-heading h2 {
  margin: 0; color: var(--navy-900); font-family: Georgia, serif;
  font-size: clamp(54px,7vw,92px); font-style: italic; font-weight: 500;
  letter-spacing: -.055em;
}
.clients-heading p {
  max-width: 650px; margin: 0 0 12px;
  color: var(--muted); font-size: 18px;
}
.client-logo-grid {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr));
  overflow: hidden; border: 1px solid rgba(231.019,226.446,216.743,1); border-radius: 24px;
  background: rgba(231.019,226.446,216.743,1); gap: 1px;
}
.client-logo {
  display: grid; min-height: 132px; padding: 20px;
  place-items: center; background: rgba(255,255,255,1);
  transition: background .25s ease;
}
.client-logo:hover { background: #f4f3ff; }
.client-logo img {
  width: 100%; max-width: 225px; max-height: 82px;
  object-fit: contain; transition: transform .25s ease, filter .25s ease;
}
.client-logo:hover img { transform: scale(1.055); }

/* Home clients: keep the emphasis on the logos, not their wrappers. */
.clients-section .client-logo-grid {
  grid-template-columns: repeat(6,minmax(0,1fr));
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  column-gap: 8px;
  row-gap: 28px;
}
.clients-section .client-logo {
  min-height: 72px;
  padding: 0;
  background: transparent;
}
.clients-section .client-logo:hover { background: transparent; }
.clients-section .client-logo img {
  max-width: 176px;
  max-height: 64px;
}

.customer-reviews {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(104,87,255,.035), transparent 24%),
    #f6f7fb;
}
.customer-reviews .section-head { max-width: 840px; }
.review-grid {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px; align-items: stretch;
}
.review-card {
  position: relative; display: flex; min-height: 390px; padding: 42px;
  flex-direction: column; justify-content: space-between;
  overflow: hidden; border: 1px solid rgba(232.616,227.48,216.582,1); border-radius: 24px;
  background: rgba(255,255,255,1); box-shadow: 0 18px 50px rgba(16,29,55,.07);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.review-card::after {
  content: ""; position: absolute; right: -85px; bottom: -100px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(104,87,255,.11), transparent 68%);
}
.review-card:hover { transform: translateY(-7px); border-color: rgba(104,87,255,.35); box-shadow: 0 26px 70px rgba(16,29,55,.13); }
.review-card-wide { grid-column: 1 / -1; min-height: 310px; }
.review-quote {
  height: 54px; color: var(--purple); font-family: Georgia, serif;
  font-size: 82px; line-height: .85;
}
.review-card blockquote {
  position: relative; z-index: 1; margin: 20px 0 34px;
  color: #30394d; font-size: 18px; line-height: 1.9;
}
.review-card-wide blockquote { max-width: 950px; font-size: 20px; }
.review-card footer {
  position: relative; z-index: 1; display: flex; padding-top: 22px;
  flex-direction: column; border-top: 1px solid rgba(239.083,235.582,228.152,1);
}
.review-card footer strong { color: var(--navy-800); font-size: 16px; }
.review-card footer span { color: var(--muted); font-size: 14px; }

.bebob-evaluation {
  color: rgba(255,255,255,1);
  background:
    radial-gradient(circle at 10% 15%, rgba(104,87,255,.18), transparent 28%),
    radial-gradient(circle at 90% 45%, rgba(70,215,232,.1), transparent 25%),
    #0d192c;
}
.bebob-evaluation .section-head p { color: rgba(255,255,255,0.64); }
.evaluation-stories { margin-top: 70px; border-top: 1px solid rgba(255,255,255,0.12); }
.evaluation-story {
  display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 42px;
  padding: 54px 0; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.evaluation-number {
  color: transparent; font-size: 62px; font-weight: 900; line-height: 1;
  -webkit-text-stroke: 1px rgba(242,199,92,.7);
}
.evaluation-label { display: block; margin-bottom: 8px; color: var(--gold); font-size: 14px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.evaluation-story h3 { margin: 0 0 16px; font-size: 32px; }
.evaluation-story p { max-width: 850px; margin: 8px 0; color: rgba(255,255,255,0.67); }
.evaluation-summary { margin: 92px 0 34px; text-align: center; }
.evaluation-summary h2 { margin-bottom: 0; }
.evaluation-benefits { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.benefit-card {
  min-height: 280px; padding: 28px; border: 1px dashed rgba(255,255,255,0.3);
  border-radius: 20px; background: rgba(255,255,255,0.035);
  transition: .3s ease;
}
.benefit-card:hover { transform: translateY(-6px); border-style: solid; border-color: var(--gold); background: rgba(255,255,255,0.06); }
.benefit-card > span { display: block; margin-bottom: 52px; color: var(--gold); font-size: 14px; font-weight: 900; }
.benefit-card h3 { margin: 0 0 14px; font-size: 21px; }
.benefit-card p { margin: 0; color: rgba(255,255,255,0.6); font-size: 14px; }
.evaluation-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  margin-top: 40px; padding: 32px 36px; border-radius: 20px;
  background: linear-gradient(110deg, rgba(104,87,255,.22), rgba(70,215,232,.08));
}
.evaluation-cta strong { font-size: 21px; }
.evaluation-cta p { margin: 4px 0 0; color: rgba(255,255,255,0.6); }


.timeline-dots { display: grid; gap: 18px; margin-top: 30px; }
.timeline-dot { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; color: rgba(255,255,255,0.7215686274509804); }
.timeline-dot i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--navy-950); background: var(--cyan); font-style: normal; font-weight: 900; }
.number-card .number { display: block; margin-bottom: 24px; color: var(--purple); font-size: 40px; font-weight: 900; line-height: 1; }
.quote-panel { padding: 42px; border-radius: var(--radius); color: rgba(255,255,255,1); background: linear-gradient(135deg, var(--navy-800), #34307c); box-shadow: var(--shadow); }
.quote-panel p { color: rgba(255,255,255,0.74); }
.accent-box { margin-top: 28px; padding: 22px 24px; border-left: 4px solid var(--purple); background: #f1efff; }
.check-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.check-item { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,1); }
.check-item::before { content: "✓"; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 50%; color: rgba(255,255,255,1); background: var(--green); font-weight: 900; }

.history-stats {
  position: relative; z-index: 4; width: 100%; max-width: none;
  margin: 0; padding: 0; background: rgba(255,255,255,1);
}
.history-stats .grid-4 {
  width: var(--container); margin: 0 auto; padding: 24px 0;
  gap: 0;
}
.history-stat {
  min-height: auto; padding: 7px 26px; color: var(--ink);
  border-right: 1px solid var(--line); border-radius: 0; background: transparent;
}
.history-stat:first-child { padding-left: 0; }
.history-stat:last-child { padding-right: 0; border-right: 0; }
.history-stat small {
  display: block; margin-bottom: 5px; color: var(--purple);
  font-size: 14px; font-weight: 900; letter-spacing: .14em;
}
.history-stat b { display: block; margin: 0 0 3px; font-size: 20px; line-height: 1.3; }
.history-stat p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.growth-section {
  color: rgba(255,255,255,1);
  background:
    radial-gradient(circle at 10% 25%, rgba(104,87,255,.2), transparent 30%),
    radial-gradient(circle at 90% 75%, rgba(70,215,232,.12), transparent 26%),
    var(--navy-950);
}
/* 도입부는 제목만 둔다. 성장 서사를 걷어내면서 오른쪽 문단을 없앴다. */
.growth-intro { margin-bottom: 48px; }
.growth-intro h2 { margin-bottom: 0; }
/* 등록 특허. 연도 배지 + 명칭 한 줄. 건수만 적고 수식은 붙이지 않는다. */
.pt-list {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px; margin: 0; padding: 0; list-style: none;
}
.pt-list li {
  display: flex; gap: 18px; align-items: flex-start; padding: 26px 24px;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 18px;
  background: rgba(255,255,255,0.045); backdrop-filter: blur(8px);
}
.pt-year {
  flex: none; padding: 5px 12px; border-radius: 999px;
  color: var(--navy-950); background: var(--gold);
  font-size: 14px; font-weight: 900; letter-spacing: .04em;
}
.pt-list b { display: block; font-size: 17px; line-height: 1.45; }
.pt-list p { margin: 6px 0 0; color: rgba(255,255,255,0.58); font-size: 14px; }
.history-line { max-width: none; margin: auto; }  /* 컨테이너(1217) 폭을 채워 연도별 목록 줄바꿈 감소 */
.portfolio-intro { min-height: 610px; display: grid; align-items: center; padding: 40px 0; color: rgba(255,255,255,1); background: linear-gradient(100deg, rgba(5,13,27,.95), rgba(7,19,37,.64) 62%, rgba(7,19,37,.85)), linear-gradient(135deg,#0a1830,#23376b); }
.portfolio-intro h1 { margin: 14px 0; font-size: clamp(34px,4vw,52px); line-height: 1.17; letter-spacing: -.045em; }
.portfolio-intro p { max-width: 780px; color: rgba(255,255,255,0.65); font-size: 15px; }

/* 서브페이지(포트폴리오·개발문의) 히어로 이미지 — 관리자에서 설정 시에만 적용 */
.portfolio-intro.has-hero-bg, .inquiry-hero.has-hero-bg { position: relative; overflow: hidden; }
.portfolio-intro.has-hero-bg::before, .inquiry-hero.has-hero-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--hero-image); background-size: cover; background-position: center;
}
.portfolio-intro.has-hero-bg::after, .inquiry-hero.has-hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, rgba(5,13,27,.9), rgba(7,19,37,.58) 60%, rgba(7,19,37,.8));
}
.portfolio-intro.has-hero-bg > .container, .inquiry-hero.has-hero-bg > .container { position: relative; z-index: 1; }
.inquiry-hero.has-hero-bg,
.inquiry-hero.has-hero-bg h1,
.inquiry-hero.has-hero-bg .breadcrumb,
.inquiry-hero.has-hero-bg .inquiry-lead { color: rgba(255,255,255,1); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.filter-button { padding: 9px 15px; color: rgba(255,255,255,0.68); border: 1px solid rgba(255,255,255,0.15); border-radius: 999px; background: transparent; cursor: pointer; }
.filter-button.active, .filter-button:hover { color: rgba(255,255,255,1); border-color: var(--purple); background: var(--purple); }
.portfolio-clients {
  padding: 40px 0 46px;
  color: #172133;
  background: #f4f6f9;
}
.portfolio-clients > .container {
  width: calc(100% - 48px);
  max-width: 1217px;
}
.portfolio-clients h2 {
  margin: 0 0 54px;
  text-align: center;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -.04em;
}
.portfolio-client-grid {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  column-gap: 5px;
  row-gap: 31px;
}
.portfolio-client-logo {
  display: grid;
  height: 72px;
  place-items: center;
}
/* 라이브 사이트와 동일: 로고 원본 크기 그대로(자체 흰 배경=흰 박스), 타일/필터/패딩 없음 */
.portfolio-client-logo img {
  display: block;
  width: 100%;
  max-width: 199px;
  height: 72px;
  object-fit: contain;
}
.portfolio-list { padding: 42px 0 56px; color: rgba(255,255,255,1); background: #091321; }
.portfolio-list > .container { width: calc(100% - 48px); max-width: 1217px; }
/* p 를 붙여 적는다. `.portfolio-intro p`(0,1,1) 가 클래스 하나짜리(0,1,0)를 이겨서
   작고 흐린 주석으로 만들려던 게 위 리드 문단과 똑같이 보였다.
   폭(max-width)은 기본 규칙에서 계속 물려받게 둔다. */
.portfolio-intro p.portfolio-intro-note { margin: 14px 0 0; color: rgba(255,255,255,0.58); font-size: 14px; }
.project {
  position: relative; margin: 0; padding: 48px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,0.22);
}
.project:first-child { padding-top: 20px; }
.project:last-child { border-bottom: 0; }
.project-head {
  display: block; margin-bottom: 16px;
}
.project-head h2 { margin: 0; font-size: clamp(18px,1.8vw,25px); line-height: 1.35; }
.project-head h2 span { color: rgba(255,255,255,0.68); font-size: .72em; font-weight: 500; }
/* 모노(컴퓨틱) 라벨: 키커 + 카테고리 태그 + 화면 수 */
.project-kicker { margin: 0 0 9px; color: #8a93ff; font: 600 11px/1 Consolas, "D2Coding", ui-monospace, monospace; letter-spacing: .14em; }
.project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 13px; font: 11px/1 Consolas, ui-monospace, monospace; }
.project-meta span { padding: 5px 9px; color: rgba(255,255,255,0.82); border: 1px solid rgba(255,255,255,0.22); border-radius: 5px; letter-spacing: .03em; }
.project-meta em { margin-left: 3px; color: rgba(255,255,255,0.45); font-style: normal; letter-spacing: .12em; }
.project-meta .meta-sep { width: 1px; height: 12px; margin: 0 4px; background: rgba(255,255,255,0.18); }
.project-meta .stack-chip { padding: 5px 9px; color: var(--cyan); border: 1px solid rgba(70,215,232,.32); border-radius: 5px; background: rgba(70,215,232,.07); letter-spacing: .02em; }
.project-meta .plat-chip { padding: 5px 9px; color: var(--gold); border: 1px solid rgba(242,199,92,.32); border-radius: 5px; background: rgba(242,199,92,.07); letter-spacing: .02em; }
.project-features { margin: 14px 0 0; color: rgba(255,255,255,0.52); font-size: 14px; line-height: 1.6; letter-spacing: -.01em; word-break: keep-all; }
.compact-project-row .project-head h2 { min-height: 0; }
.compact-project-row .project-kicker { margin-bottom: 6px; }
.project-gallery {
  display: grid; grid-template-columns: repeat(var(--gallery-columns,3),minmax(0,1fr)); gap: 10px;
}
.project-shot {
  overflow: hidden; margin: 0; aspect-ratio: var(--shot-ratio,396/250);
  border: 1px solid rgba(255,255,255,0.16); border-radius: 3px;
  background: #111e30; box-shadow: none;
}
.project-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-gallery.masonry { display: block; columns: 3; column-gap: 10px; }
.project-gallery.masonry .project-shot { break-inside: avoid; margin-bottom: 10px; }
.project-gallery.airhorn {
  grid-template-columns: 346fr 396fr repeat(3,146fr);
}
.project-gallery.airhorn .project-shot {
  height: 252px;
  aspect-ratio: auto;
}
.project-gallery.sand-shipping {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}
.project-gallery.sand-shipping .project-shot {
  flex: 0 0 calc((100% - 20px) * var(--shot-width) / 1208);
}
.project-overlap-strip {
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  margin-top: 8px;
  padding: 0 3px;
}
.project-overlap-shot {
  position: relative;
  flex: 0 0 171px;
  overflow: hidden;
  height: 250px;
  margin: 0 0 0 -18px;
  border: 1px solid rgba(255,255,255,0.16);
  background: #111e30;
}
.project-overlap-shot:first-child {
  z-index: 8;
  flex-basis: 174px;
  height: 254px;
  margin-left: 0;
}
.project-overlap-shot:nth-child(2) { z-index: 7; }
.project-overlap-shot:nth-child(3) { z-index: 6; }
.project-overlap-shot:nth-child(4) { z-index: 5; }
.project-overlap-shot:nth-child(5) { z-index: 4; }
.project-overlap-shot:nth-child(6) { z-index: 3; }
.project-overlap-shot:nth-child(7) { z-index: 2; }
.project-overlap-shot:nth-child(8) { z-index: 1; }
.project-overlap-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compact-project-row {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  padding: 48px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,0.22);
}
.compact-project-row .project {
  padding: 0;
  border: 0;
}
.compact-project-row .project-head h2 {
  min-height: 48px;
  font-size: 18px;
}
.compact-project-row .project-gallery {
  grid-template-columns: 1fr;
}
.project-shot:hover img { transform: scale(1.02); }

/* ── 다음 단계 페이저(푸터 위) ── */
.page-pager { background: var(--navy-950); border-top: 1px solid rgba(255,255,255,0.08); }
.pager-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 34px 0; }
.pager-prev { display: flex; flex-direction: column; gap: 5px; color: rgba(255,255,255,0.6); }
.pager-prev .pager-dir { font: 600 12px/1 Consolas, monospace; letter-spacing: .12em; }
.pager-prev b { color: rgba(255,255,255,0.92); font-size: 20px; font-weight: 700; }
.pager-prev:hover b { color: rgba(255,255,255,1); }
.pager-empty { visibility: hidden; }
.pager-next { display: flex; align-items: center; gap: 22px; min-width: min(460px, 72%); margin-left: auto; padding: 22px 28px; color: #1b2236; background: linear-gradient(135deg, #f4f3fc, #e9e6f6); border: 1px solid #e1ddf0; border-radius: 16px; box-shadow: 0 16px 38px -22px rgba(60,50,120,.45); transition: transform .2s, box-shadow .2s; }
.pager-next:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -22px rgba(60,50,120,.55); }
.pager-next-text { display: flex; flex-direction: column; gap: 6px; }
.pager-step { color: #6857ff; font: 600 10px/1 Consolas, monospace; letter-spacing: .14em; }
.pager-label { font-size: clamp(19px,2vw,25px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.pager-desc { color: rgba(102.534,95.657,81.064,1); font-size: 14px; }
.pager-arrow { margin-left: auto; font-size: 30px; line-height: 1; color: #6857ff; }
/* 다음 대상이 '개발문의'면 헤더 CTA와 같은 색 */
.pager-next--cta { color: rgba(255,255,255,1); background: linear-gradient(135deg, #5545ef, #8a47ed); border-color: transparent; box-shadow: 0 16px 38px -18px rgba(91,67,238,.6); }
.pager-next--cta:hover { box-shadow: 0 22px 48px -18px rgba(91,67,238,.72); }
.pager-next--cta .pager-step { color: rgba(255,255,255,0.78); }
.pager-next--cta .pager-desc { color: rgba(255,255,255,0.85); }
.pager-next--cta .pager-arrow { color: rgba(255,255,255,1); }
@media (max-width: 640px) {
  .pager-inner { flex-direction: column-reverse; align-items: stretch; gap: 14px; padding: 26px 0; }
  .pager-next { min-width: 0; }
  .pager-empty { display: none; }
}

.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 28px; align-items: start; }
.inquiry-hero {
  padding: 112px 0 96px;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 18%, rgba(104,87,255,.12), transparent 30%),
    linear-gradient(135deg,rgba(255,255,255,1) 0%,#f8f9fd 100%);
}
.inquiry-hero .breadcrumb { margin-bottom: 27px; color: var(--muted); }
.inquiry-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px,4.5vw,58px);
  line-height: 1.12;
  letter-spacing: -.05em;
}
.inquiry-lead {
  max-width: 720px;
  color: #4e596d;
  font-size: 17px;
  line-height: 1.75;
}
.inquiry-hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 33px;
}
.inquiry-private {
  padding: 13px 17px;
  color: #475269;
  border: 1px solid rgba(233.084,228.441,218.59,1);
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 700;
}
.inquiry-private span { margin-right: 6px; color: var(--purple); }
.inquiry-guide { padding: 82px 0 90px; background: rgba(255,255,255,1); }
.inquiry-section-title {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 9px;
}
.inquiry-section-title > span { color: var(--purple); font-size: 15px; font-weight: 900; }
.inquiry-section-title h2 { margin: 0; font-size: clamp(27px,3vw,40px); letter-spacing: -.035em; }
.inquiry-section-copy { margin: 0 0 42px; color: var(--muted); font-size: 16px; }
.inquiry-prep-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  border-top: 1px solid var(--line);
}
.inquiry-prep-card {
  display: grid;
  grid-template-columns: 54px minmax(0,1fr);
  gap: 23px;
  min-height: 232px;
  padding: 40px 34px;
  border-bottom: 1px solid var(--line);
}
.inquiry-prep-card:nth-child(odd) { border-right: 1px solid var(--line); }
.inquiry-prep-icon {
  display: grid;
  width: 48px;
  height: 48px;
  color: var(--purple);
  border: 1px solid rgba(104,87,255,.25);
  border-radius: 50%;
  place-items: center;
  background: rgba(104,87,255,.06);
  font-size: 14px;
  font-weight: 900;
}
.inquiry-prep-card span { color: var(--purple); font-size: 14px; font-weight: 900; }
.inquiry-prep-card h3 { margin: 8px 0 11px; font-size: 21px; }
.inquiry-prep-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.72; }
.inquiry-reassurance {
  margin: 36px 0 0;
  padding: 22px 25px;
  color: #364157;
  border-left: 3px solid var(--purple);
  background: #f7f8fc;
  font-weight: 750;
}
.inquiry-process {
  padding: 82px 0 90px;
  color: rgba(255,255,255,1);
  background: var(--navy-950);
}
.inquiry-process .inquiry-section-title h2 { color: rgba(255,255,255,1); }
.inquiry-process .inquiry-section-copy { color: rgba(255,255,255,0.62); }
.inquiry-process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 14px;
}
.inquiry-process-grid::before {
  position: absolute;
  top: 32px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg,var(--purple),var(--cyan));
  content: "";
}
.inquiry-process-grid article {
  position: relative;
  min-height: 238px;
  padding: 22px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.045);
}
.inquiry-process-grid article > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
  color: rgba(255,255,255,1);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 50%;
  place-items: center;
  background: var(--navy-900);
  font-size: 14px;
  font-weight: 900;
}
.inquiry-process-grid h3 { margin: 0 0 12px; color: rgba(255,255,255,1); font-size: 19px; }
.inquiry-process-grid p { margin: 0; color: rgba(255,255,255,0.62); font-size: 14px; line-height: 1.7; }
.inquiry-process-note { margin: 25px 0 0; color: rgba(255,255,255,0.48); font-size: 14px; }
.contact-info { position: sticky; top: 110px; padding: 34px; color: rgba(255,255,255,1); border-radius: var(--radius); background: var(--navy-900); }
.contact-info a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.contact-info small { display: block; color: var(--cyan); }
.contact-form { padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,1); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; border: 1px solid #d8deea; border-radius: 11px; background: #fbfcfe; outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(104,87,255,.1); }
.field textarea { min-height: 150px; resize: vertical; }
.file-field input[type="file"] {
  padding: 8px;
  color: rgba(104.785,95.73,76.516,1);
  background: #fbfcfe;
}
.file-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 14px;
  color: rgba(255,255,255,1);
  border: 0;
  border-radius: 8px;
  background: var(--navy-900);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.file-field input[type="file"]::file-selector-button:hover { background: var(--purple); }
/* .file-field small 규칙은 없앴다.
   이 안의 <small> 은 전부 .field-hint 아니면 .field-error 라 차지할 몫이 없는데,
   `.file-field small`(0,1,1) 이 그 둘(0,1,0)을 이겨 버려서
     · .field-hint 의 색을 #7c8aa0 → var(--muted) 로 바꿔 놓고
       (같은 폼의 다른 .field-hint 와 회색이 달라졌다)
     · .field-error 의 display:none 을 block 으로 되돌렸다
       (지금은 JS 가 감출 때 textContent 를 비워서 높이 0 이라 안 보일 뿐이다)
   .tk-stack span 이 .tk-ico 를 잡았던 것과 같은 사고다. */
.contact-form-actions { display: flex; gap: 10px; margin-top: 18px; }
.button.secondary {
  color: var(--text);
  border: 1px solid #d8deea;
  background: rgba(255,255,255,1);
}
.button.secondary:hover { color: var(--purple); border-color: var(--purple); }
.form-note { margin: 18px 0; color: var(--muted); font-size: 14px; }
.form-status { margin-top: 14px; color: var(--purple); font-weight: 800; }
.form-status.success { color: var(--green); }
.form-status.error { color: #e0556b; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.site-footer {
  position: relative; overflow: hidden; padding: 0;
  color: #7890b2; background: #1e293b;
}
.original-footer {
  display: grid; grid-template-columns: 1fr 1fr;
  width: var(--container); margin-inline: auto; min-height: 512px; padding: 52px 0 28px;
  grid-template-areas:
    "intro intro"
    "contact blank"
    "business blank"
    "legal legal";
  grid-template-rows: auto auto auto 1fr;
}
.footer-intro { grid-area: intro; }
.footer-logo-art { width: 136px; height: 30px; margin-bottom: 16px; object-fit: contain; }
.site-footer p { margin: 0; font-size: 14px; line-height: 1.3; }
.footer-statement { color: #b9d9e4; }
.footer-slogan { margin-top: 10px !important; color: #566d9f; }
.footer-contact-block { grid-area: contact; margin-top: 26px; }
.footer-business-block { grid-area: business; margin-top: 27px; }
.site-footer h3 { margin: 0 0 18px; color: rgba(255,255,255,1); font-size: 14px; font-weight: 500; }
.footer-contact-block p,
.footer-business-block p { color: #7188aa; line-height: 1.3; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: #a9c8dd; }
.footer-legal {
  grid-area: legal; display: flex; flex-wrap: wrap; justify-content: space-between;
  align-self: end; align-items: end; gap: 14px 40px; padding-top: 28px;
}
.footer-legal p:first-child { color: #55739a; }
.footer-legal p:last-child { color: #496181; white-space: nowrap; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.from-left { transform: translateX(-30px); }
.reveal.from-right { transform: translateX(30px); }
.reveal.visible { opacity: 1; transform: translate(0); }
@keyframes heroFloat { 0%,100% { transform: scale(1.05) translateY(-6px); } 50% { transform: scale(1.07) translateY(8px); } }

/* 원본 사이트에 가까운 컴팩트 스케일 */
:root { --container: min(1217px, calc(100% - 40px)); --radius: 20px; }
.site-header { height: 68px; }
.brand-logo { width: 104px; }
.nav { gap: 25px; }
.nav a { font-size: 14px; }
.nav a:not(.nav-cta)::after { bottom: -22px; }
.nav-cta { padding: 8px 16px; }
.hero { min-height: 670px; }
.hero.compact { min-height: 540px; }
.portfolio-intro { min-height: 540px; }
.hero-grid { padding: 126px 0 68px; gap: 52px; }
.hero h1 { margin: 21px 0 17px; font-size: clamp(36px, 4.55vw, 60px); }
.hero.compact h1 { font-size: clamp(34px, 4vw, 52px); }
.hero p { font-size: 16px; }
.eyebrow, .pill { padding: 6px 12px; font-size: 14px; }
.hero-actions { margin-top: 27px; gap: 10px; }
.button { min-height: 43px; padding: 0 19px; font-size: 14px; }
.hero-metrics { margin-top: 36px; gap: 10px; }
.hero-metric { padding: 12px 14px; font-size: 14px; }
.hero-aside { padding: 23px; }
.hero-aside strong { font-size: 26px; }
.hero-aside p { font-size: 14px; }
.section { padding: 82px 0; }
.section-head { margin-bottom: 36px; }
.kicker { margin-bottom: 10px; font-size: 14px; }
.section h2 { margin-bottom: 14px; font-size: clamp(28px, 3.35vw, 43px); }
.section-head p { font-size: 16px; }
.split { gap: 50px; }
.grid-3, .feature-grid { gap: 17px; }
.grid-4 { gap: 14px; }
.card { padding: 23px; }
.card h3 { margin-bottom: 9px; font-size: 19px; }
.card p { font-size: 14px; }
.platform-icon { min-width: 46px; margin-bottom: 18px; font-size: 40px; }
.tech-tags { margin-top: 17px; }
.tech-tags span { padding: 4px 8px; font-size: 14px; }
.ai-label { right: 13px; top: 14px; min-width: 58px; height: 29px; padding: 0 8px 0 15px; font-size: 14px; }
.clients-section { padding-top: 72px; }
.clients-heading { margin-bottom: 34px; gap: 54px; }
.clients-heading h2 { font-size: clamp(46px, 6vw, 74px); }
.clients-heading p { font-size: 16px; }
.client-logo-grid { border-radius: 20px; }
.client-logo { min-height: 102px; padding: 14px; }
.client-logo img { max-width: 195px; max-height: 64px; }
.review-grid { gap: 16px; }
.review-card { min-height: 320px; padding: 30px; }
.review-card-wide { min-height: 260px; }
.review-quote { height: 46px; font-size: 66px; }
.review-card blockquote { margin: 16px 0 27px; font-size: 15px; line-height: 1.82; }
.review-card-wide blockquote { font-size: 17px; }
.review-card footer { padding-top: 17px; }
.evaluation-stories { margin-top: 48px; }
.evaluation-story { grid-template-columns: 90px minmax(0,1fr); gap: 32px; padding: 38px 0; }
.evaluation-number { font-size: 48px; }
.evaluation-story h3 { margin-bottom: 11px; font-size: 25px; }
.evaluation-story p { font-size: 14px; }
.evaluation-summary { margin: 62px 0 25px; }
.evaluation-benefits { gap: 13px; }
.benefit-card { min-height: 225px; padding: 21px; }
.benefit-card > span { margin-bottom: 34px; font-size: 14px; }
.benefit-card h3 { font-size: 17px; }
.benefit-card p { font-size: 14px; }
.evaluation-cta { margin-top: 28px; padding: 23px 27px; }
.evaluation-cta strong { font-size: 17px; }
.site-footer { padding-top: 0; }

@media (max-width: 980px) {
  .nav {
    position: fixed; inset: 68px 0 0; z-index: 110; display: none;
    width: 100%; height: calc(100dvh - 68px); padding: 28px 24px;
    align-items: stretch; flex-direction: column; gap: 0;
    overflow-y: auto; background: #07111f;
  }
  .nav.open { display: flex; }
  .nav a { padding: 18px 4px; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 17px; }
  .nav a::after { display: none; }
  /* border-bottom 을 꺼 준다. 바로 위 `.nav a`(0,1,1) 가 메뉴 항목 사이 구분선을
     그리는데 `.nav-cta`(0,1,0) 로는 못 이겨서, 둥근 그라디언트 버튼 아래를
     1px 선이 가로지르고 있었다. 세로 여백(18px)은 손대지 않는다 — 손가락으로
     누르는 크기라 지금이 낫다. */
  /* `.nav a.nav-cta` 로 적는다. `.nav a`(0,1,1) 가 메뉴 항목 사이 구분선을 그리는데
     `.nav-cta`(0,1,0) 로는 못 이겨서, 둥근 그라디언트 버튼 아래를 1px 선이
     가로지르고 있었다. 세로 여백(18px)은 손대지 않는다 — 손가락으로 누르는
     크기라 지금이 낫다. */
  .nav a.nav-cta { margin-top: 18px; text-align: center; border-bottom: 0; }
  .menu-toggle { display: block; }
  .hero-grid, .split, .contact-layout { grid-template-columns: 1fr; }
  .inquiry-prep-grid { grid-template-columns: 1fr; }
  .inquiry-prep-card:nth-child(odd) { border-right: 0; }
  .inquiry-process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .inquiry-process-grid::before { display: none; }
  .hero-aside { max-width: 520px; }
  .grid-3, .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .history-stats .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 16px 0; }
  .history-stat { padding: 12px 18px; }
  .history-stat:first-child { padding-left: 18px; }
  .history-stat:nth-child(2) { border-right: 0; }
  .history-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .clients-heading { grid-template-columns: 1fr; gap: 12px; }
  .client-logo-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .clients-section .client-logo-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    row-gap: 22px;
  }
  .portfolio-client-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .review-card-wide { grid-column: auto; min-height: 390px; }
  .evaluation-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .check-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .original-footer { min-height: 560px; }
  .contact-info { position: static; }
}

@media (max-width: 640px) {
  :root { --container: min(100% - 28px, 1180px); --radius: 18px; }
  .site-header { height: 68px; }
  .nav { top: 68px; height: calc(100dvh - 68px); }
  .brand { font-size: 14px; }
  .brand-logo { width: 104px; }
  .hero, .hero.compact, .portfolio-intro { min-height: auto; }
  .portfolio-intro { padding: 100px 0 50px; }
  .hero-grid { padding: 108px 0 58px; gap: 28px; }
  .hero h1, .hero.compact h1 { font-size: 34px; }
  .hero p, .section-head p, .portfolio-intro p { font-size: 14px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .grid-3, .grid-4, .feature-grid, .check-grid, .project-gallery, .form-grid { grid-template-columns: 1fr; }
  .history-stats .grid-4 { grid-template-columns: 1fr; padding: 10px 0; }
  .history-stat,
  .history-stat:first-child,
  .history-stat:last-child { padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .history-stat:last-child { border-bottom: 0; }
  .client-logo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); border-radius: 16px; }
  .client-logo { min-height: 82px; padding: 10px; }
  .client-logo img { max-height: 50px; }
  .clients-section .client-logo-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    border-radius: 0;
    gap: 18px 8px;
  }
  .clients-section .client-logo {
    min-height: 58px;
    padding: 0;
  }
  .clients-section .client-logo img {
    max-width: 160px;
    max-height: 52px;
  }
  .portfolio-clients { padding: 38px 0; }
  .portfolio-clients h2 { margin-bottom: 32px; font-size: 40px; }
  .portfolio-client-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 8px; }
  .portfolio-client-logo, .portfolio-client-logo img { height: 58px; }
  .review-grid { grid-template-columns: 1fr; }
  .review-card, .review-card-wide { min-height: auto; padding: 23px; }
  .review-card blockquote, .review-card-wide blockquote { font-size: 14px; line-height: 1.78; }
  .evaluation-story { grid-template-columns: 1fr; gap: 14px; padding: 31px 0; }
  .evaluation-number { font-size: 40px; }
  .evaluation-story h3 { font-size: 23px; }
  .evaluation-benefits { grid-template-columns: 1fr; }
  .benefit-card { min-height: auto; }
  .benefit-card > span { margin-bottom: 28px; }
  .evaluation-cta { align-items: stretch; flex-direction: column; padding: 21px; }
  .card { padding: 20px; }
  .history-stats { margin-top: 0; padding-top: 0; }
  .project-gallery { gap: 10px; }
  .project { padding: 38px 0 44px; }
  .project-head { margin-bottom: 12px; }
  .project-head h2 { font-size: 18px; }
  .project-gallery, .project-gallery.masonry, .project-gallery.airhorn, .project-gallery.sand-shipping { display: grid; grid-template-columns: 1fr; grid-template-rows: auto; gap: 10px; columns: auto; }
  .project-gallery.sand-shipping .project-shot { width: auto; }
  .project-gallery.airhorn .project-shot { height: auto; aspect-ratio: var(--shot-ratio,396/250); }
  .project-overlap-strip {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
    overflow: visible;
    padding: 0;
  }
  .project-overlap-shot,
  .project-overlap-shot:first-child {
    width: auto;
    height: auto;
    margin: 0;
    aspect-ratio: 171/250;
  }
  .compact-project-row { grid-template-columns: 1fr; }
  .project-shot { aspect-ratio: auto; }
  .contact-form { padding: 24px; }
  .inquiry-hero { padding: 98px 0 64px; }
  .inquiry-lead br { display: none; }
  .inquiry-hero-actions { align-items: stretch; flex-direction: column; }
  .inquiry-private { border-radius: 14px; }
  .inquiry-guide { padding: 60px 0; }
  .inquiry-process { padding: 60px 0; }
  .inquiry-section-copy { margin-bottom: 28px; }
  .inquiry-prep-card { grid-template-columns: 43px minmax(0,1fr); gap: 15px; min-height: auto; padding: 30px 8px; }
  .inquiry-prep-icon { width: 40px; height: 40px; }
  .inquiry-process-grid { grid-template-columns: 1fr; }
  .inquiry-process-grid article { min-height: auto; }
  .inquiry-process-grid article > span { margin-bottom: 24px; }
  .field.full { grid-column: auto; }
  .original-footer {
    display: block; min-height: 790px; padding: 24px 0 28px;
  }
  .footer-logo-art { margin: 0 auto 22px; }
  .footer-statement { max-width: 350px; }
  .footer-slogan { max-width: 360px; margin-top: 28px !important; }
  .footer-contact-block { margin-top: 138px; }
  .footer-business-block { margin-top: 64px; }
  .footer-legal { display: block; margin-top: 90px; padding-top: 0; }
  .footer-legal p:last-child { max-width: 350px; margin: 35px auto 0; text-align: center; white-space: normal; }
  .pt-list { grid-template-columns: 1fr; }
}

/* ── 개발문의 접수 진행 레이어 팝업 ───────────────────────────── */
.iq-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.iq-modal.open { display: flex; }
.iq-modal__bd { position: absolute; inset: 0; background: rgba(6,12,24,.62); backdrop-filter: blur(5px); animation: iqFade .2s ease; }
.iq-modal__card { position: relative; width: min(440px,94vw); background: rgba(255,255,255,1); color: #1a2233; border-radius: 18px; padding: 34px 30px 26px; box-shadow: 0 30px 80px rgba(0,0,0,0.4); text-align: center; animation: iqPop .28s cubic-bezier(.2,.9,.3,1.25); }
@keyframes iqFade { from { opacity: 0; } }
@keyframes iqPop { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes iqSpin { to { transform: rotate(360deg); } }
.iq-ico { width: 62px; height: 62px; margin: 2px auto 16px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.iq-ico::before { content: ""; width: 54px; height: 54px; border-radius: 50%; border: 3px solid rgba(104,87,255,.18); border-top-color: #6857ff; animation: iqSpin .8s linear infinite; }
.iq-modal.is-done .iq-ico, .iq-modal.is-error .iq-ico { width: 62px; height: 62px; }
.iq-modal.is-done .iq-ico::before, .iq-modal.is-error .iq-ico::before { display: none; }
.iq-modal.is-done .iq-ico { background: rgba(250.437,245.833,236.062,1); }
.iq-modal.is-error .iq-ico { background: #fdecef; }
.iq-ico__sym { position: absolute; font-size: 32px; font-weight: 800; line-height: 1; display: none; }
.iq-modal.is-done .iq-ico__sym { display: block; color: rgba(190.446,140.745,35.282,1); }
.iq-modal.is-error .iq-ico__sym { display: block; color: #e0556b; }
.iq-title { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 4px; }
.iq-sub { font-size: 14px; color: rgba(125.003,116.511,98.491,1); margin: 0 0 18px; }
.iq-steps { list-style: none; margin: 0 0 16px; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 11px; }
.iq-step { display: flex; align-items: center; gap: 11px; font-size: 14px; color: rgba(170.071,161.651,143.783,1); transition: color .25s; }
.iq-step.active, .iq-step.done { color: #1a2233; }
.iq-step .mk { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(221.425,216.271,205.336,1); display: grid; place-items: center; font-size: 14px; font-weight: 700; position: relative; color: rgba(255,255,255,1); }
.iq-step.active .mk { border-color: #6857ff; }
.iq-step.active .mk::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(104,87,255,.25); border-top-color: #6857ff; animation: iqSpin .7s linear infinite; }
.iq-step.done .mk { border-color: rgba(190.446,140.745,35.282,1); background: rgba(190.446,140.745,35.282,1); }
.iq-step.done .mk::before { content: "✓"; }
.iq-step.fail .mk { border-color: #e0556b; background: #e0556b; }
.iq-step.fail .mk::before { content: "!"; }
.iq-step .tx { flex: 1; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.iq-step .st { font-size: 14px; color: rgba(155.761,145.83,124.756,1); font-weight: 500; }
.iq-msg { font-size: 14px; color: #4a5468; line-height: 1.65; margin: 4px 0 18px; white-space: pre-line; }
.iq-modal.is-error .iq-msg { color: #c2415a; }
.iq-close { display: none; }
.iq-modal.is-done .iq-close, .iq-modal.is-error .iq-close { display: inline-flex; }

/* ── 문의 폼: 안내문구 · 첨부파일 목록 ───────────────────────── */
.field-hint { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: rgba(148.618,135.797,108.592,1); }
.field-hint a { color: #6857ff; }
.field-error { display: none; margin-top: 6px; font-size: 14px; color: #e0556b; font-weight: 600; }
.field-error.show { display: block; }
.file-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 10px; background: rgba(104,87,255,.06); border: 1px solid rgba(104,87,255,.16); border-radius: 8px; font-size: 14px; color: #3a4658; }
.file-list li .fl-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list li .fl-size { flex: 0 0 auto; color: rgba(155.761,145.83,124.756,1); font-variant-numeric: tabular-nums; }
.file-list li .fl-del { flex: 0 0 auto; cursor: pointer; border: 0; background: none; color: #e0556b; font-size: 15px; line-height: 1; padding: 0 2px; }
.file-list li.too-big { background: rgba(224,85,107,.08); border-color: rgba(224,85,107,.3); }
.file-list li.too-big .fl-size { color: #e0556b; }

/* ── 첨부 드롭존 + 업로드 진행바 ─────────────────────────────── */
.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 22px 16px; border: 1.5px dashed rgba(148.618,135.797,108.592,0.45); border-radius: 12px; background: rgba(148.618,135.797,108.592,0.05); cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone:focus-visible { border-color: #6857ff; background: rgba(104,87,255,.06); outline: none; }
.dropzone.dragover { border-color: #6857ff; background: rgba(104,87,255,.12); }
.dropzone .dz-icon { font-size: 20px; color: #6857ff; }
.dropzone .dz-text { font-size: 14px; color: #3a4658; }
.dropzone .dz-text b { color: #6857ff; }
.dropzone .dz-sub { font-size: 14px; color: rgba(155.761,145.83,124.756,1); }

/* 팝업 내 파일별 업로드 진행 */
.iq-files { display: none; flex-direction: column; gap: 9px; margin: 4px 0 16px; text-align: left; }
.iq-modal.uploading .iq-files { display: flex; }
.iq-file { font-size: 14px; }
.iq-file-top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.iq-file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #2a3346; }
.iq-file-pct { flex: 0 0 auto; color: #6857ff; font-variant-numeric: tabular-nums; font-weight: 600; }
.iq-file-track { height: 6px; border-radius: 4px; background: rgba(148.618,135.797,108.592,0.18); overflow: hidden; }
.iq-file-bar { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg,#6857ff,#46d7e8); transition: width .15s ease; }
.iq-file.done .iq-file-bar { background: rgba(190.446,140.745,35.282,1); }
.iq-file.done .iq-file-pct { color: rgba(190.446,140.745,35.282,1); }

/* ── 언어 전환 ─────────────────────────────────────────── */
.lang-switch { position: relative; }
.lang-toggle {
  display: flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px; border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px; background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.82); font-size: 14px; font-weight: 700;
  letter-spacing: .06em; cursor: pointer; transition: .2s ease;
}
/* 지구 아이콘은 SVG(currentColor)라 글자색·호버 상태를 그대로 따라간다 */
.lang-globe { width: 15px; height: 15px; flex: none; opacity: .8; transition: opacity .2s ease; }
.lang-toggle:hover { color: rgba(255,255,255,1); border-color: rgba(255,255,255,0.42); background: rgba(255,255,255,0.12); }
.lang-toggle:hover .lang-globe { opacity: 1; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 120;
  min-width: 148px; margin: 0; padding: 6px; list-style: none;
  border: 1px solid rgba(255,255,255,0.14); border-radius: 12px;
  background: #0d1a2b; box-shadow: 0 18px 40px rgba(0,0,0,0.42);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s ease;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a {
  display: block; padding: 9px 12px; border-radius: 8px;
  color: rgba(255,255,255,0.78); font-size: 14px;
}
.lang-menu a::after { display: none; }
.lang-menu a:hover { color: rgba(255,255,255,1); background: rgba(255,255,255,0.1); }
.lang-menu a.active { color: rgba(255,255,255,1); font-weight: 700; background: rgba(255,255,255,0.07); }

@media (max-width: 980px) {
  /* 모바일에서는 메뉴 오버레이 안에 목록으로 펼쳐 둔다 */
  .lang-switch { margin-top: 18px; }
  .lang-toggle { display: none; }
  .lang-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; padding: 0; border: 0; background: transparent; box-shadow: none;
  }
  .lang-menu a { padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 0; font-size: 16px; }
}

/* ── 모바일 화면 스트립(폰 스크린샷) ────────────────────────
   일반 갤러리는 좁은 화면에서 1열로 접히는데, 세로로 긴 폰 캡처를 그렇게 두면
   화면 하나가 너무 길어진다. 그래서 이 스트립만 여러 열을 유지한다. */
.project-gallery.phones { margin-top: 10px; }
@media (max-width: 980px) {
  .project-gallery.phones { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .project-gallery.phones { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
}

/* ── /software-development 전용 ─────────────────────────────
   개발 서비스 안내 페이지. 레이아웃은 사이트 공통 클래스(.section/.card/
   .grid-3/.contact-layout 등)를 그대로 쓰고, 색만 /dev-outsourcing 광고
   랜딩과 같은 네이비 계열로 되돌린다. 엔터프라이즈 구매 담당자에게는
   보라 그라데이션보다 절제된 네이비가 신뢰도 높게 읽힌다는 판단.

   문의 폼의 '동작'(#contact-form · 드롭존 · 진행률 · 토큰)은 /contact 와
   동일하게 유지하고, 여기서는 강조색만 갈아끼운다.

   누수 방지를 위해 전부 body[data-page="software-development.html"] 아래로
   묶는다. 다른 페이지의 보라 스킨에는 영향이 없다. */
body[data-page="software-development.html"] {
  /* 공통 토큰을 이 페이지에서만 재정의 → var() 를 쓰는 규칙들이 따라온다 */
  --purple: #1b4a75;
  --cyan: #0a5561;
  /* 랜딩 원본 팔레트 */
  --sd-navy: #12233d;
  --sd-blue: #1b4a75;
  --sd-teal: #0a5561;
  --sd-tint: rgba(27,74,117,.07);
  --sd-edge: rgba(27,74,117,.28);
}

/* 히어로 — 보라 방사 그라데이션을 걷어내고 랜딩과 같은 담백한 수직 그라데이션으로 */
body[data-page="software-development.html"] .inquiry-hero {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(255,255,255,1) 100%);
}

/* 버튼 — 보라 그라데이션 → 네이비 단색 */
body[data-page="software-development.html"] .button.primary {
  background: var(--sd-navy);
  box-shadow: 0 10px 24px rgba(18,35,61,.22);
}
body[data-page="software-development.html"] .button.primary:hover { background: #0b1729; }

/* 카드 호버 — 보라 테두리/글로우 제거 */
body[data-page="software-development.html"] .card:hover {
  border-color: var(--sd-edge);
  box-shadow: 0 18px 44px rgba(16,29,55,.10);
}
body[data-page="software-development.html"] .feature-grid .card::before { display: none; }

/* 입력 포커스·드롭존 — 폼 동작은 그대로 두고 강조색만 교체 */
body[data-page="software-development.html"] .field input:focus,
body[data-page="software-development.html"] .field textarea:focus,
body[data-page="software-development.html"] .field select:focus {
  border-color: var(--sd-blue);
  box-shadow: 0 0 0 4px rgba(27,74,117,.12);
}
body[data-page="software-development.html"] .dropzone:hover,
body[data-page="software-development.html"] .dropzone:focus-visible { border-color: var(--sd-blue); background: var(--sd-tint); }
body[data-page="software-development.html"] .dropzone.dragover { border-color: var(--sd-blue); background: rgba(27,74,117,.13); }
body[data-page="software-development.html"] .dropzone .dz-icon,
body[data-page="software-development.html"] .dropzone .dz-text b,
body[data-page="software-development.html"] .field-hint a { color: var(--sd-blue); }
body[data-page="software-development.html"] .file-field input[type="file"]::file-selector-button:hover { background: var(--sd-blue); }
/* 네이비 패널 위의 라벨은 진한 청록이면 안 읽힌다 — 밝은 톤으로 따로 지정 */
body[data-page="software-development.html"] .contact-info small { color: #8fb6cf; }

/* ── 페이지 전용 조각 ───────────────────────────────────────
   흰 카드만 이어지던 구성을 섹션마다 다르게 바꿨다.
   어두운 히어로(연결 도식) → 걸친 사실 띠 → 문제/해결 말풍선 → 어두운 플랫폼 아이콘
   → 막대 사다리(비용) → 가로 단계선 → 네이비 띠 위 인용 → 2단 FAQ.
   색은 네이비 계열을 유지하고 강조만 금색·청록을 쓴다.
   도식은 전부 HTML/CSS 이고 라벨은 영문 약어라 번역 단위를 늘리지 않는다. */

/* 히어로 */
.sd-hero {
  position: relative; overflow: hidden; padding: 124px 0 132px; color: rgba(255,255,255,1);
  background:
    radial-gradient(circle at 82% 30%, rgba(70,150,215,.22), transparent 40%),
    radial-gradient(circle at 8% 100%, rgba(10,85,97,.35), transparent 38%),
    linear-gradient(180deg, #0b1729, #0e2038);
}
.sd-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.sd-hero .breadcrumb { margin-bottom: 24px; }
.sd-hero h1 { margin: 0 0 22px; color: rgba(255,255,255,1); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.25; letter-spacing: -.03em; text-wrap: balance; }
/* 한국어 제목은 폭을 글자 수 기준으로 묶어 '…이해하는 / 개발 업체에 맡기세요.' 로 떨어지게 한다.
   그냥 두면 '맡기세요.' 만 셋째 줄에 남는다. 다른 언어는 길이가 달라 제한하지 않는다. */
html[lang="ko"] .sd-hero h1 { max-width: 9.9em; }
.sd-hero .inquiry-lead { color: rgba(255,255,255,0.7215686274509804); }
.sd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.sd-chips span {
  padding: 7px 14px; border: 1px solid rgba(255,255,255,0.18); border-radius: 999px;
  color: rgba(255,255,255,0.86); background: rgba(255,255,255,0.06); font-size: 14px; font-weight: 600;
}
body[data-page="software-development.html"] .sd-hero .button.primary {
  background: linear-gradient(135deg, #2f78c4, #1b4a75); box-shadow: 0 14px 30px rgba(47,120,196,.35);
}
.sd-hero .button.secondary { color: rgba(255,255,255,1); border-color: rgba(255,255,255,0.35); background: transparent; }
.sd-hero .button.secondary:hover { color: var(--gold); border-color: var(--gold); }
.sd-note { margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.sd-hero .sd-note { color: rgba(255,255,255,0.55); }
.sd-note a { color: var(--sd-blue); font-weight: 700; }

/* 히어로 도식 — 가운데 대시보드, 둘레에 연결 장비 */
.sd-hero-fig { position: relative; height: 400px; }
.sd-dash {
  position: absolute; left: 50%; top: 50%; width: 64%; transform: translate(-50%,-50%);
  border-radius: 14px; overflow: hidden; background: rgba(255,255,255,1); box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}
.sd-dash-bar { display: flex; gap: 5px; padding: 9px 12px; background: #e9eef5; }
.sd-dash-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(210.675,202.519,185.211,1); }
.sd-dash-body { display: grid; gap: 12px; padding: 16px; }
.sd-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.sd-kpis em { height: 30px; border-radius: 6px; background: #eef2f8; }
.sd-kpis em:first-child { background: linear-gradient(135deg, #2f78c4, #1b4a75); }
.sd-chart { display: flex; align-items: flex-end; gap: 7px; height: 92px; padding: 8px; border-radius: 8px; background: #f6f8fb; }
.sd-chart i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #46b4c8, #1b4a75); }
.sd-rows { display: grid; gap: 6px; }
.sd-rows em { height: 8px; border-radius: 4px; background: #e5eaf2; }
.sd-rows em:nth-child(2) { width: 80%; } .sd-rows em:nth-child(3) { width: 60%; }
.sd-node {
  position: absolute; z-index: 1; padding: 8px 13px; border-radius: 9px;
  color: #cfe6f5; background: rgba(12,34,58,.9); border: 1px solid rgba(70,180,200,.45);
  font: 800 12px/1 ui-monospace, Consolas, monospace; letter-spacing: .06em;
}
.sd-node::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: rgba(221.765,185.36,108.11,1); box-shadow: 0 0 8px rgba(221.765,185.36,108.11,1); }
.sd-node--a { left: 0; top: 10%; }
.sd-node--b { left: 2%; bottom: 14%; }
.sd-node--c { right: 0; top: 6%; }
.sd-node--d { right: 2%; bottom: 10%; }
.sd-node--e { left: 50%; bottom: -2%; transform: translateX(-50%); }
/* 노드와 대시보드를 잇는 점선 — 배경 하나로 그린다 */
.sd-hero-fig::before {
  content: ""; position: absolute; inset: 8% 6%; border: 1.5px dashed rgba(70,180,200,.35); border-radius: 28px;
}

/* 사실 띠 — 히어로 아래로 걸친 흰 막대. 숫자를 크게 세우지 않는다 */
.sd-facts { position: relative; z-index: 2; margin-top: -40px; padding: 0; background: transparent; }
.sd-facts ul {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none;
  border-radius: 18px; background: rgba(255,255,255,1); box-shadow: 0 20px 50px rgba(10,24,48,.12); overflow: hidden;
}
.sd-facts li { padding: 24px 26px; color: var(--muted); font-size: 14.5px; line-height: 1.5; border-left: 1px solid var(--line); }
.sd-facts li:first-child { border-left: 0; }
.sd-facts b { display: block; margin-bottom: 4px; color: var(--sd-navy); font-size: 17px; font-weight: 900; }
/* 두 번째 칸은 조사('과 협업')가 굵은 글자에 붙어야 해서 한 줄로 흐르게 둔다 */
.sd-facts li:nth-child(2) { color: var(--sd-navy); font-size: 17px; font-weight: 500; }
.sd-facts li:nth-child(2) b { display: inline; margin: 0; }

/* 제목 폭 — 공통 .section-head 는 780px 로 묶여 있어 이 페이지 제목이 두 줄로
   접히고 인용부호 안에서 끊겼다. 제목만 넓히고 본문 문단은 780px 로 둔다. */
body[data-page="software-development.html"] .section-head { max-width: none; }
body[data-page="software-development.html"] .section-head h2 { max-width: 1180px; }
body[data-page="software-development.html"] .section-head p { max-width: 780px; }
@media (min-width: 700px) {
  body[data-page="software-development.html"] .sd-nb { white-space: nowrap; }
}

/* 이런 경우 — 위: 현장의 말(말풍선), 아래: 해결 */
.sd-cases { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.sd-cases article { display: flex; flex-direction: column; }
.sd-case-q {
  position: relative; margin-bottom: 22px; padding: 22px 22px 20px; border-radius: 16px;
  background: rgba(255,255,255,1); border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(10,24,48,.05);
}
.sd-case-q::after {
  content: ""; position: absolute; left: 28px; bottom: -9px; width: 16px; height: 16px;
  background: rgba(255,255,255,1); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg);
}
.sd-k {
  display: inline-block; margin-bottom: 10px; padding: 3px 9px; border-radius: 6px;
  color: var(--sd-teal); background: rgba(10,85,97,.08);
  font-size: 14px; font-weight: 900; letter-spacing: .06em;
}
.sd-case-q h3 { margin: 0; color: var(--sd-navy); font-size: 18px; line-height: 1.45; }
.sd-case-q h3::before { content: "\201C"; margin-right: 2px; color: #9fb4cc; }
.sd-case-q h3::after { content: "\201D"; margin-left: 2px; color: #9fb4cc; }
.sd-cases p {
  position: relative; margin: 0; padding: 0 6px 0 34px; color: #465169; font-size: 14.5px; line-height: 1.75;
}
.sd-cases p::before {
  content: "\2192"; position: absolute; left: 6px; top: 0; display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%; color: rgba(255,255,255,1); background: var(--sd-teal);
  font-size: 14px; font-weight: 900; line-height: 1; margin-top: 3px;
}

/* 개발 가능 범위 — 어두운 바탕 + 플랫폼 아이콘 */
.sd-scope { color: rgba(255,255,255,1); background: linear-gradient(180deg, #0b1729, #11243f); }
.sd-scope .kicker { color: #6fd0df; }
.sd-scope .section-head h2 { color: rgba(255,255,255,1); }
.sd-scope .section-head p { color: rgba(255,255,255,0.65); }
.sd-platforms { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.sd-platforms article {
  padding: 30px 28px; border-radius: 18px; background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.1); transition: border-color .25s ease, transform .25s ease;
}
.sd-platforms article:hover { transform: translateY(-4px); border-color: rgba(242,199,92,.5); }
.sd-platforms .platform-icon { margin-bottom: 18px; color: var(--gold); font-size: 40px; }
.sd-platforms h3 { margin: 0 0 8px; color: rgba(255,255,255,1); font-size: 19px; }
.sd-platforms p { margin: 0; color: rgba(255,255,255,0.66); font-size: 14.5px; line-height: 1.65; }
.sd-platforms .tech-tags span { color: #9fe3ee; background: rgba(70,180,200,.12); border: 1px solid rgba(70,180,200,.25); }

/* 비용·기간 — 참고용이라는 점은 숫자보다 먼저 읽히게 */
body[data-page="software-development.html"] .sd-caution {
  margin: 0 0 22px; padding: 14px 18px;
  border: 1px solid var(--sd-edge); border-left: 4px solid var(--sd-navy);
  border-radius: 10px; background: #eef2f8; color: #3f4a60;
  font-size: 14.5px; line-height: 1.65;
}
body[data-page="software-development.html"] .sd-caution b { color: var(--sd-navy); }
.sd-tiers { display: grid; gap: 12px; margin: 0 0 8px; padding: 0; list-style: none; }
.sd-tiers li {
  display: grid; grid-template-columns: 190px minmax(0,1fr); grid-template-rows: auto auto; column-gap: 26px; row-gap: 8px;
  align-items: center; padding: 20px 24px; border-radius: 16px; background: rgba(255,255,255,1); border: 1px solid var(--line);
}
.sd-tier-h { grid-row: 1 / span 2; display: grid; gap: 8px; }
.sd-tier-h strong { color: var(--sd-navy); font-size: 18px; font-weight: 900; }
.sd-dur {
  justify-self: start; padding: 3px 10px; border-radius: 999px;
  color: var(--sd-teal); background: rgba(10,85,97,.08); font-size: 14px; font-weight: 800;
}
.sd-bar { position: relative; height: 34px; border-radius: 8px; background: #eef2f8; }
.sd-bar::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w);
  border-radius: 8px; background: linear-gradient(90deg, #46b4c8, #1b4a75);
}
.sd-bar b {
  position: absolute; left: calc(var(--w) + 12px); top: 50%; transform: translateY(-50%);
  color: var(--sd-navy); font-size: 15px; font-weight: 900; white-space: nowrap;
}
.sd-tiers li:nth-last-child(-n+2) .sd-bar b { left: 14px; color: rgba(255,255,255,1); }
.sd-tiers p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
body[data-page="software-development.html"] .accent-box { border-left-color: var(--sd-blue); background: #eef2f8; }
body[data-page="software-development.html"] .accent-box p { margin: 0; color: #3f4a60; font-size: 14.5px; }

/* 진행 방식 — 가로 단계선 */
.sd-steps {
  position: relative; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 18px;
  margin: 0; padding: 0; list-style: none;
}
.sd-steps::before {
  content: ""; position: absolute; left: 24px; right: calc((100% - 90px) / 6 - 24px); top: 24px; height: 2px;
  background: linear-gradient(90deg, var(--sd-navy), #46b4c8);
}
.sd-steps li { position: relative; }
.sd-step-no {
  position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 50%; color: rgba(255,255,255,1); background: var(--sd-navy); border: 4px solid rgba(255,255,255,1); box-shadow: 0 0 0 2px var(--sd-navy);
  font-size: 14px; font-weight: 900;
}
.sd-steps li:nth-child(n+4) .sd-step-no { background: var(--sd-teal); box-shadow: 0 0 0 2px var(--sd-teal); }
.sd-steps h3 { margin: 0 0 8px; color: var(--sd-navy); font-size: 17px; line-height: 1.4; }
.sd-steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.sd-steps .rq-more { margin-top: 10px; }
body[data-page="software-development.html"] .sd-steps .rq-more a { color: var(--sd-blue); }

/* 고객사 이야기 — 네이비 띠 위의 말풍선 */
.sd-voices { background: linear-gradient(135deg, #12233d, #1b4a75); }
.sd-voices .kicker { color: #6fd0df; }
.sd-voices .section-head h2 { color: rgba(255,255,255,1); }
.sd-quotes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; margin-top: 18px; }
.sd-quotes figure { display: flex; flex-direction: column; margin: 0; }
.sd-quotes blockquote {
  position: relative; flex: 1; margin: 0 0 24px; padding: 34px 26px 26px; border-radius: 18px;
  background: rgba(255,255,255,1); color: #2c364b; font-size: 15.5px; line-height: 1.8;
}
.sd-quotes blockquote::before {
  content: "\201C"; position: absolute; left: 20px; top: -18px;
  color: var(--gold); font: 900 64px/1 Georgia, serif;
}
.sd-quotes blockquote::after {
  content: ""; position: absolute; left: 32px; bottom: -8px; width: 16px; height: 16px; background: rgba(255,255,255,1); transform: rotate(45deg);
}
.sd-quotes figcaption { display: flex; flex-direction: column; padding-left: 14px; }
.sd-quotes figcaption strong { color: rgba(255,255,255,1); font-size: 15px; }
.sd-quotes figcaption span { color: rgba(255,255,255,0.6); font-size: 14px; }
.sd-voices .sd-note { color: rgba(255,255,255,0.62); }
.sd-voices .sd-note a { color: var(--gold); }

/* FAQ — 왼쪽 제목 고정, 오른쪽 아코디언 */
.sd-faq-grid { display: grid; grid-template-columns: 340px minmax(0,1fr); gap: 56px; align-items: start; }
.sd-faq-grid .section-head { position: sticky; top: 110px; margin-bottom: 0; }
.sd-faq details {
  margin-bottom: 10px; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(255,255,255,1); transition: border-color .25s ease;
}
.sd-faq details[open] { border-color: var(--sd-edge); box-shadow: 0 10px 30px rgba(16,29,55,.06); }
.sd-faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 20px 24px; font-size: 16px; font-weight: 800; cursor: pointer; list-style: none;
}
.sd-faq summary::-webkit-details-marker { display: none; }
.sd-faq summary::after {
  content: "+"; flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; color: var(--sd-blue); background: #e8eef6; font-size: 17px; line-height: 1;
}
.sd-faq details[open] summary::after { content: "\2212"; color: rgba(255,255,255,1); background: var(--sd-navy); }
.sd-faq details > div { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* 개인정보 동의 */
.sd-consent { display: flex; align-items: flex-start; gap: 11px; padding: 16px 18px; border-radius: 12px; background: var(--surface); }
.sd-consent input { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--sd-blue); }
.sd-consent label { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.55; }
.sd-consent label small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; font-weight: 500; }

@media (max-width: 1100px) {
  .sd-steps { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 34px; }
  .sd-steps::before { display: none; }
}
@media (max-width: 980px) {
  .sd-hero-grid { grid-template-columns: 1fr; }
  .sd-hero-fig { max-width: 520px; height: 340px; }
  .sd-cases, .sd-platforms, .sd-quotes { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sd-faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .sd-faq-grid .section-head { position: static; }
}
@media (max-width: 640px) {
  .sd-hero { padding: 92px 0 96px; }
  .sd-hero-fig { height: 290px; }
  .sd-dash { width: 74%; }
  .sd-node { padding: 6px 9px; font-size: 14px; }
  .sd-facts { margin-top: -28px; }
  .sd-facts ul { grid-template-columns: 1fr; }
  .sd-facts li { border-left: 0; border-top: 1px solid var(--line); padding: 16px 20px; }
  .sd-facts li:first-child { border-top: 0; }
  .sd-cases, .sd-platforms, .sd-quotes { grid-template-columns: 1fr; }
  .sd-tiers li { grid-template-columns: 1fr; padding: 18px; }
  .sd-tier-h { grid-row: auto; display: flex; align-items: center; justify-content: space-between; }
  .sd-bar b { font-size: 14px; }
  .sd-tiers li:nth-last-child(n+3) .sd-bar b { left: auto; right: 10px; }
  .sd-steps { grid-template-columns: 1fr; row-gap: 0; }
  .sd-steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding-bottom: 22px; }
  .sd-steps li::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: #d6deea; }
  .sd-steps li:last-child::before { display: none; }
  .sd-step-no { grid-row: 1 / span 3; margin-bottom: 0; }
  .sd-faq summary { padding: 17px 18px; font-size: 15px; }
  .sd-faq details > div { padding: 0 18px 18px; font-size: 14px; }
}

/* ── /technology 전용 ───────────────────────────────────────
   기술 역량 페이지. 사양서 형식(아이콘 + 기술명 + 한 줄 설명 / 개발 범위 / 적용).
   색은 /software-development 와 같은 네이비 계열.

   아이콘은 사이트에 이미 있는 폰트만 쓴다. 외부 리소스를 늘리지 않는다.
     ico-ms/win/apple/android/linux/react/js/php/rust/unity/bt  → fa-brands-400
     ico-code/camera/video/net/usb/barcode/cube/eye/nav/map/db/grid/layers/archive → ionicons-2
   두 폰트 모두 cmap 으로 글리프 실재를 확인했다. fa-solid-900 은 검증 불가라 쓰지 않았다. */
body[data-page="technology.html"] {
  --purple: #1b4a75;
  --cyan: #0a5561;
  --sd-navy: #12233d;
  --sd-blue: #1b4a75;
  --sd-edge: rgba(27,74,117,.28);
}
body[data-page="technology.html"] .inquiry-hero {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(255,255,255,1) 100%);
}
body[data-page="technology.html"] .button.primary {
  background: var(--sd-navy); box-shadow: 0 10px 24px rgba(18,35,61,.22);
}
body[data-page="technology.html"] .button.primary:hover { background: #0b1729; }
body[data-page="technology.html"] .section { padding: 58px 0; }
body[data-page="technology.html"] .inquiry-hero { padding: 84px 0 46px; }
body[data-page="technology.html"] .section-head { max-width: none; margin-bottom: 26px; }
body[data-page="technology.html"] .section-head h2 { max-width: 1180px; }
body[data-page="technology.html"] .section-head p { max-width: 820px; }
body[data-page="technology.html"] .section-head.center { margin-inline: auto; text-align: center; }

/* 섹션 머리 — 번호 + 제목 */
.tk-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px;
  padding-bottom: 11px; border-bottom: 2px solid var(--sd-navy); }
.tk-no { color: var(--sd-blue); font-size: 15px; font-weight: 900; letter-spacing: .08em; }
.tk-head h2 { margin: 0; font-size: clamp(21px,2.1vw,28px); letter-spacing: -.035em; }

/* 기술 목록 — 아이콘 + 기술명 + 그 기술이 무엇인지 */
.tk-stack { display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 30px; margin: 0 0 20px; padding: 0; list-style: none; }
.tk-stack li { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line); align-items: start; }
.tk-stack b { display: block; color: var(--ink); font-size: 14.5px; letter-spacing: -.01em; }
/* 설명문 전용. 반드시 div 를 거쳐 적어야 한다.
   `.tk-stack span` 으로 두면 브랜드 로고를 담은 <span class="tk-ico"> 까지 잡는다.
   그쪽이 .tk-ico(0,1,0) 보다 우선순위가 높아(0,1,1) display:grid 를 block 으로
   되돌려 place-items:center 를 무효로 만들고, margin-top:2px 까지 얹었다.
   결과는 로고가 회색 사각형 위쪽에 붙는 것. <i> 글리프는 span 이 아니라 멀쩡해서
   한참 못 찾았다. 마크업은 <li><span.tk-ico>…</span><div><b>…</b><span>…</span></div></li>. */
.tk-stack li > div span { display: block; margin-top: 2px; color: var(--muted);
  font-size: 14px; line-height: 1.58; }

/* 아이콘 — 글리프는 cmap 으로 실재 확인한 것만 */
/* 아이콘 타일 — 브랜드 로고와 폰트 글리프를 같은 틀에 담고 전부 흑백으로 통일한다.
   simple-icons SVG 는 fill 지정이 없어 기본 검정으로 렌더된다. */
.tk-ico { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px;
  border-radius: 8px; color: #2b3240; background: rgba(239.941,237.731,233.041,1); font-size: 17px; font-style: normal; }
.tk-ico::before { line-height: 1; }
.tk-logo { display: block; width: 19px; height: 19px; filter: grayscale(1); opacity: .82; }
.tk-stack li:hover .tk-ico { background: rgba(231.9,228.595,221.582,1); }
.tk-stack li:hover .tk-logo { opacity: 1; }
.ico-camera::before  { content: "\f118"; font-family: "Bebob Ionicons 2"; }
.ico-video::before   { content: "\f256"; font-family: "Bebob Ionicons 2"; }
.ico-net::before     { content: "\f341"; font-family: "Bebob Ionicons 2"; }
.ico-usb::before     { content: "\f2b8"; font-family: "Bebob Ionicons 2"; }
.ico-barcode::before { content: "\f3dc"; font-family: "Bebob Ionicons 2"; }
.ico-cube::before    { content: "\f318"; font-family: "Bebob Ionicons 2"; }
.ico-eye::before     { content: "\f133"; font-family: "Bebob Ionicons 2"; }
.ico-nav::before     { content: "\f2a3"; font-family: "Bebob Ionicons 2"; }
.ico-map::before     { content: "\f203"; font-family: "Bebob Ionicons 2"; }
.ico-grid::before    { content: "\f13f"; font-family: "Bebob Ionicons 2"; }
.ico-archive::before { content: "\f2c9"; font-family: "Bebob Ionicons 2"; }

/* 개발 범위 · 적용 — 라벨 + 명사구 나열 */
.tk-spec { margin: 0; }
.tk-spec > div { display: grid; grid-template-columns: 108px minmax(0,1fr); gap: 18px;
  padding: 11px 0; border-top: 1px solid var(--line); }
.tk-spec > div:last-child { border-bottom: 1px solid var(--line); }
.tk-spec dt { color: var(--sd-navy); font-weight: 900; font-size: 14px;
  letter-spacing: .06em; padding-top: 2px; }
.tk-spec dd { margin: 0; color: var(--ink); font-size: 14.5px; line-height: 1.7; }




@media (max-width: 980px) {
  .tk-stack { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 640px) {
  .tk-head { margin-bottom: 22px; padding-bottom: 14px; }
  .tk-spec > div { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
  .tk-spec dd { font-size: 14.5px; }
  .tk-ico { width: 30px; height: 30px; flex-basis: 30px; font-size: 15px; }
  .tk-logo { width: 17px; height: 17px; }
  .tk-stack li { grid-template-columns: 30px minmax(0,1fr); gap: 10px; }
}

/* ── /technology 분야 목차 ─────────────────────────────────
   첫 화면만 보면 'Windows 만 하는 회사'로 읽힌다는 지적에 따라 히어로 아래에 둔다.
   고정 띠 + 가로 스크롤은 쓰지 않는다. 좁은 화면에서 스크롤이 생기는 편이
   12개를 한 번에 못 보는 것보다 나쁘다.

   격자(칸을 맞붙이고 실선으로 나눈 표)로 짰더니 셀로 읽혀 누를 수 있다는 게
   전달되지 않았다. 그래서 칩으로 바꿨다. 하나씩 떨어져 있고 모서리가 둥글면
   그 자체로 '고르는 것'으로 읽힌다.
   여기에 더해 지금 보고 있는 항목을 칠해 둔다(.is-active). 처음 들어오면
   01 이 칠해져 있어, 아무것도 안 해 봐도 이게 선택지라는 걸 알 수 있다.
   칠하는 주체는 site.js 의 스크롤 추적이다. */
.tk-index { padding: 26px 0 4px; }
.tk-index-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-index-grid a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 15px 9px 10px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,1); color: #3a4557;
  font-size: 14px; font-weight: 700; line-height: 1.4;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.tk-index-grid a b {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--surface); color: rgba(142.681,132.617,111.264,1);
  font-size: 14px; font-weight: 800; letter-spacing: 0;
  transition: background .16s ease, color .16s ease;
}
.tk-index-grid a span { min-width: 0; }
.tk-index-grid a:hover,
.tk-index-grid a.is-active { background: var(--sd-navy); border-color: var(--sd-navy); color: rgba(255,255,255,1); }
.tk-index-grid a:hover b,
.tk-index-grid a.is-active b { background: rgba(255,255,255,0.2); color: rgba(255,255,255,1); }
.tk-index-grid a:focus-visible { outline: 2px solid var(--sd-blue); outline-offset: 2px; }

/* 앵커로 이동했을 때 제목이 고정 헤더(76px) 아래로 숨지 않게 */
body[data-page="technology.html"] .section[id] { scroll-margin-top: 96px; }

@media (max-width: 980px) {
  body[data-page="technology.html"] .section[id] { scroll-margin-top: 84px; }
}
@media (max-width: 640px) {
  .tk-index { padding: 18px 0 0; }
  .tk-index-grid { gap: 7px; }
  .tk-index-grid a { padding: 8px 13px 8px 9px; font-size: 14px; }
}

/* 밝은 히어로의 breadcrumb 현재 위치가 흰 글자로 남아 보이지 않던 문제.
   .breadcrumb b { color:rgba(255,255,255,1) } 는 어두운 헤더용 전역 규칙인데,
   .inquiry-hero .breadcrumb 는 부모 색만 바꾸고 b 는 그대로 두었다.
   히어로 이미지가 깔린 경우(.has-hero-bg)는 배경이 어두우므로 흰색을 유지한다. */
.inquiry-hero:not(.has-hero-bg) .breadcrumb b { color: var(--ink); }

/* 기술 역량 히어로 — 제목 한 줄뿐이라 아래 여백을 줄인다 */
body[data-page="technology.html"] .inquiry-hero { padding: 84px 0 34px; }


/* ── /partnership 협업 파트너 ──────────────────────────────
   개발문의 폼(.contact-form 계열)을 그대로 물려 쓰고, 이 페이지에만 필요한 것만 더한다.
   선택자는 전부 .pn- 로 시작해 다른 페이지와 겹칠 일이 없다. */

.pn-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 30px; margin: 0; padding: 0; list-style: none; }
.pn-fields li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.pn-fields b { display: block; color: var(--ink); font-size: 15px; }
.pn-fields span { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.pn-sub { color: var(--muted); font-weight: 600; font-size: 14px; }
/* 체크박스는 누를 수 있는 칩으로 보이게 한다. 목록으로 두면 고르는 것으로 안 읽힌다. */
.pn-checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pn-checks label {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,1);
  font-size: 14px; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.pn-checks label:hover { border-color: rgba(104,87,255,.45); }
.pn-checks input { width: 15px; height: 15px; margin: 0; accent-color: var(--purple); cursor: pointer; }
.pn-checks label:has(input:checked) { border-color: var(--purple); background: rgba(104,87,255,.07); color: var(--ink); }
.pn-checks input:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

.pn-result { margin: 0; color: var(--muted); font-size: 14px; }
.pn-result.is-ok { color: rgba(175.694,130.691,35.199,1); font-weight: 700; }
.pn-result.is-error { color: #e0556b; font-weight: 700; }

@media (max-width: 980px) {
    .pn-fields { grid-template-columns: 1fr; gap: 0; }
}
/* 푸터의 협업 파트너 링크. 한국어판에만 그린다(site.js). */
.footer-partner { margin-bottom: 10px !important; }
.footer-partner a { color: rgba(255,255,255,0.82); font-weight: 700; font-size: 14px; }
.footer-partner a:hover { color: rgba(255,255,255,1); text-decoration: underline; }

/* 협업 파트너 — 개인정보 동의.
   입력칸들 사이에 그냥 놓여 있으면 묻혀서 동의하는 줄도 모르고 지나친다.
   회색 판 위에 올리고 위쪽에 선을 그어 '여기서부터는 다른 성격' 임을 보인다.
   /software-development 의 .sd-consent 와 같은 결이다. */
.pn-consent {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 8px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface);
}
.pn-consent input[type="checkbox"] {
  width: 19px; height: 19px; flex: 0 0 auto; margin: 2px 0 0;
  accent-color: var(--purple); cursor: pointer;
}
.pn-consent label {
  margin: 0; color: var(--ink);
  font-size: 14px; font-weight: 700; line-height: 1.5; cursor: pointer;
}
.pn-consent label small {
  display: block; margin-top: 6px;
  color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.6;
}

/* 협업 파트너 — 제출 버튼.
   .form-actions 는 /contact·/software-development 도 쓰는데 규칙이 없다.
   공용으로 만들면 그 두 폼의 배치까지 바뀌므로 이 폼에만 건다.
   결과 문구는 버튼 아래 가운데에 놓는다 — 옆에 두면 버튼이 가운데에서 밀린다. */
#partner-form .form-actions {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line);
}
#partner-form .form-actions .button { min-width: 220px; justify-content: center; }
#partner-form .pn-result { text-align: center; }

/* 협업 파트너 — 여백 조이기.
   리드를 뺀 뒤 히어로가 제목과 버튼만 남아 위아래가 텅 비었다.
   섹션 간격도 이 페이지에서는 과했다. 이 페이지에만 건다. */
body[data-page="partnership.html"] .inquiry-hero { padding: 88px 0 52px; }
body[data-page="partnership.html"] .section { padding: 62px 0; }
body[data-page="partnership.html"] .section-head { margin-bottom: 26px; }

@media (max-width: 640px) {
  body[data-page="partnership.html"] .inquiry-hero { padding: 76px 0 40px; }
  body[data-page="partnership.html"] .section { padding: 46px 0; }
}

/* ── /requirements-analysis 요구사항을 확정하는 방법 ─────────
   선택자는 전부 .rq- 로 시작해 다른 페이지와 겹칠 일이 없다.
   흰 박스만 이어지면 단조로워서 섹션마다 표현을 바꾼다 —
   어두운 히어로(도식) → 인용 → 글+도식 교차 → 어두운 문서 카드 → 대비 목록 → 띠 CTA.
   도식은 전부 HTML/CSS 로 그린다(이미지 없음, aria-hidden). */

/* 히어로 */
.rq-hero {
  position: relative; overflow: hidden; padding: 128px 0 96px; color: rgba(255,255,255,1);
  background:
    radial-gradient(circle at 85% 20%, rgba(104,87,255,.28), transparent 38%),
    radial-gradient(circle at 10% 90%, rgba(70,215,232,.14), transparent 34%),
    var(--navy-950);
}
.rq-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.rq-hero .breadcrumb { margin-bottom: 26px; color: rgba(255,255,255,0.55); }
.rq-hero .breadcrumb b { color: rgba(255,255,255,1); }
.rq-eyebrow {
  display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px;
  color: var(--gold); background: rgba(242,199,92,.1); border: 1px solid rgba(242,199,92,.35);
  font-size: 14px; font-weight: 800; letter-spacing: .02em;
}
.rq-hero h1 { margin: 0 0 22px; color: rgba(255,255,255,1); font-size: clamp(36px, 5vw, 58px); line-height: 1.15; letter-spacing: -.03em; }
.rq-lead { max-width: 560px; margin: 0 0 32px; color: rgba(255,255,255,0.7215686274509804); font-size: 17px; line-height: 1.75; }

/* 히어로 도식: 흩어진 자료 → 화살표 → 범위 문서 */
.rq-hero-fig { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; gap: 10px; }
.rq-srcs { display: grid; gap: 10px; }
.rq-srcs .rq-file:nth-child(1) { transform: rotate(-3deg) translateX(6px); }
.rq-srcs .rq-file:nth-child(2) { transform: rotate(2deg) translateX(-4px); }
.rq-srcs .rq-file:nth-child(3) { transform: rotate(-1.5deg) translateX(10px); }
.rq-srcs .rq-file:nth-child(4) { transform: rotate(3deg); }
.rq-arrow { position: relative; height: 2px; background: linear-gradient(90deg, rgba(70,215,232,.2), var(--cyan)); }
.rq-arrow::after {
  content: ""; position: absolute; right: -2px; top: -5px;
  border: 6px solid transparent; border-left: 9px solid var(--cyan); border-right: 0;
}
.rq-sheet {
  display: grid; gap: 12px; padding: 22px 20px 24px; border-radius: 14px;
  background: rgba(255,255,255,1); color: var(--ink); box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.rq-sheet em { font-style: normal; font-size: 14px; font-weight: 900; color: var(--navy-800); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.rq-sheet > div { display: flex; align-items: center; gap: 10px; }
.rq-line { flex: 1; height: 7px; border-radius: 4px; background: #e7ebf3; }
.rq-line--s { flex: .6; }

/* 파일 칩 — 히어로와 방법 01 에서 같이 쓴다 */
.rq-file {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px;
  background: rgba(255,255,255,1); color: var(--ink); font-size: 14px; font-weight: 700;
  box-shadow: 0 8px 22px rgba(10,24,48,.12); white-space: nowrap;
}
.rq-file::before {
  flex: none; display: grid; place-items: center; width: 26px; height: 30px; border-radius: 4px;
  color: rgba(255,255,255,1); font-size: 14px; font-weight: 900; letter-spacing: .02em;
}
.rq-file--xls::before { content: "XLS"; background: rgba(158.452,118.846,34.804,1); }
.rq-file--doc::before { content: "DOC"; background: #4a67d8; }
.rq-file--img::before { content: "IMG"; background: #c46a2b; }

/* 범위 태그 — 히어로와 방법 05 에서 같이 쓴다 */
.rq-tag {
  flex: none; display: inline-block; min-width: 48px; padding: 3px 9px; border-radius: 6px;
  font-size: 14px; font-style: normal; font-weight: 900; text-align: center;
}
.rq-tag--in  { color: rgba(138.86,99.982,17.484,1); background: rgba(247.858,240.26,224.138,1); }
.rq-tag--out { color: #9a3b3b; background: #fbe3e3; }
.rq-tag--tbd { color: #8a6412; background: #fdf0cf; }

/* 왜 필요한가 — 큰 따옴표 인용 3개, 위쪽 색 막대로 구분 */
.rq-why { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.rq-why li { position: relative; padding: 34px 4px 0; border-top: 3px solid var(--purple); }
.rq-why li:nth-child(2) { border-top-color: var(--cyan); }
.rq-why li:nth-child(3) { border-top-color: var(--gold); }
.rq-why li::before {
  content: "\201C"; position: absolute; top: -6px; right: 0;
  color: rgba(104,87,255,.12); font: 900 96px/1 Georgia, serif;
}
.rq-why b { display: block; margin-bottom: 12px; color: var(--ink); font-size: 20px; line-height: 1.4; letter-spacing: -.02em; }
.rq-why span { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* 다섯 가지 방법 — 글과 도식을 좌우로 번갈아 */
.rq-steps { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.rq-steps > li {
  display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 48px; align-items: center;
  padding: 40px 44px; border-radius: 22px; background: rgba(255,255,255,1); box-shadow: 0 14px 40px rgba(10,24,48,.06);
}
.rq-steps > li:nth-child(even) .rq-txt { order: 2; }
.rq-no {
  display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 14px;
  color: rgba(255,255,255,1); background: linear-gradient(135deg, var(--purple), var(--purple-2));
  font-size: 15px; font-weight: 900;
}
.rq-steps b { display: block; margin-bottom: 12px; color: var(--ink); font-size: 23px; line-height: 1.35; letter-spacing: -.02em; }
.rq-steps .rq-txt > p { margin: 0; color: #495267; font-size: 15px; line-height: 1.8; }
.rq-note {
  display: block; margin-top: 16px; padding: 12px 14px; border-radius: 10px;
  background: #f1efff; color: #4a3fbf; font-size: 14px; line-height: 1.6;
}

/* 도식 공통 틀 */
.rq-fig { padding: 26px; border-radius: 16px; background: var(--surface); }

/* 01 파일 더미 */
.rq-fig--files { display: grid; gap: 9px; }
.rq-fig--files .rq-file:nth-child(odd)  { margin-right: 28px; }
.rq-fig--files .rq-file:nth-child(even) { margin-left: 28px; }

/* 02 정상 흐름 + 예외 분기 */
.rq-fig--flow small { display: block; margin: 0 0 8px; color: var(--muted); font-size: 14px; font-weight: 800; letter-spacing: .06em; }
.rq-flow-main { display: flex; align-items: center; margin-bottom: 20px; }
.rq-flow-main span {
  flex: 1; padding: 10px 4px; border-radius: 8px; text-align: center;
  color: rgba(255,255,255,1); background: var(--navy-800); font-size: 14px; font-weight: 800;
}
.rq-flow-main span + span { margin-left: 18px; position: relative; }
.rq-flow-main span + span::before {
  content: "→"; position: absolute; left: -16px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-weight: 900;
}
.rq-flow-ex { display: flex; flex-wrap: wrap; gap: 8px; }
.rq-flow-ex span {
  padding: 8px 12px; border-radius: 8px; border: 1.5px dashed #e38b3a;
  color: #a4561a; background: #fff6ec; font-size: 14px; font-weight: 800;
}

/* 03 화면 목업 — 빠진 항목만 빨간 점선 */
.rq-fig--screen { padding: 0; overflow: hidden; background: rgba(255,255,255,1); border: 1px solid var(--line); }
.rq-win { display: flex; gap: 6px; padding: 10px 14px; background: #eef1f6; }
.rq-win i { width: 9px; height: 9px; border-radius: 50%; background: rgba(214.012,206.939,191.93,1); }
.rq-scr { display: grid; gap: 12px; padding: 22px 22px 24px; }
.rq-scr-row { position: relative; display: flex; align-items: center; gap: 12px; }
.rq-scr-row em { display: block; height: 10px; width: 70px; border-radius: 5px; background: #dfe4ee; }
.rq-scr-row em + em { flex: 1; height: 28px; width: auto; border-radius: 6px; background: #f3f5f9; border: 1px solid #e4e8f0; }
.rq-scr-row em.w1 { flex: .35; } .rq-scr-row em.w2 { flex: .7; } .rq-scr-row em.w3 { flex: 1; }
.rq-miss { padding: 6px; margin: -6px; border: 2px dashed #e5484d; border-radius: 8px; background: #fff5f5; }
.rq-miss b {
  position: absolute; right: 8px; top: -11px; margin: 0; padding: 1px 8px; border-radius: 5px;
  color: rgba(255,255,255,1); background: #e5484d; font-size: 14px; font-weight: 900;
}
.rq-scr-btn { justify-self: end; width: 88px; height: 30px; border-radius: 7px; background: var(--purple); opacity: .85; }

/* 04 용어 → 데이터 매핑 */
.rq-fig--map { display: grid; gap: 12px; }
.rq-map-row { display: grid; grid-template-columns: 1fr 40px 1fr; align-items: center; }
.rq-map-row span {
  padding: 10px 12px; border-radius: 8px; text-align: center;
  background: rgba(255,255,255,1); border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 800;
}
.rq-map-row i { height: 2px; margin: 0 6px; background: var(--purple); position: relative; }
.rq-map-row i::after {
  content: ""; position: absolute; right: -2px; top: -4px;
  border: 5px solid transparent; border-left: 7px solid var(--purple); border-right: 0;
}
.rq-map-row code {
  padding: 10px 12px; border-radius: 8px; text-align: center;
  color: var(--cyan); background: var(--navy-900); font: 700 13px/1.2 ui-monospace, Consolas, monospace;
}
.rq-fig--map small { margin-top: 4px; color: var(--muted); font-size: 14px; text-align: center; }

/* 05 범위 목록 */
.rq-fig--scope { display: grid; gap: 10px; background: rgba(255,255,255,1); border: 1px solid var(--line); }
.rq-fig--scope > div { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #eef1f6; }
.rq-fig--scope > div:last-child { padding-bottom: 0; border-bottom: 0; }
.rq-fig--scope span { color: var(--ink); font-size: 14px; font-weight: 700; }
.rq-fig--scope span small { display: block; margin-top: 2px; color: #8a6412; font-size: 14px; font-weight: 600; }

/* 산출물 — 어두운 띠 위의 문서 모양(접힌 모서리) 카드 */
.rq-out { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: rqo; }
.rq-out li {
  position: relative; padding: 26px 24px 24px 76px; min-height: 108px; counter-increment: rqo;
  border-radius: 6px 22px 6px 6px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
}
.rq-out li::before {
  content: ""; position: absolute; left: 24px; top: 24px; width: 32px; height: 40px; border-radius: 3px 10px 3px 3px;
  background: linear-gradient(160deg, var(--cyan), var(--purple));
}
.rq-out li::after {
  content: counter(rqo, decimal-leading-zero); position: absolute; right: 18px; bottom: 14px;
  color: rgba(255,255,255,0.14); font-size: 28px; font-weight: 900;
}
.rq-out b { display: block; margin-bottom: 6px; color: rgba(255,255,255,1); font-size: 17px; }
.rq-out span { display: block; color: rgba(255,255,255,0.62); font-size: 14px; line-height: 1.55; }
.rq-free {
  display: inline-block; margin: 28px 0 0; padding: 12px 18px; border-radius: 10px;
  color: var(--navy-950); background: var(--gold); font-size: 14px; font-weight: 800;
}

/* 준비 목록 — 있으면 좋은 것(초록 체크) vs 없어도 되는 것(취소선) */
.rq-check { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.rq-check-col { padding: 32px 30px; border-radius: 18px; background: rgba(255,255,255,1); border: 2px solid rgba(239.377,229.778,209.407,1); }
.rq-check-col--none { background: var(--surface); border: 2px dashed rgba(222.598,216.115,202.358,1); }
.rq-check-col > b { display: block; margin-bottom: 16px; color: var(--ink); font-size: 18px; }
.rq-check-col ul { margin: 0; padding: 0; list-style: none; }
.rq-check-col li {
  position: relative; padding: 9px 0 9px 34px;
  color: #33405a; font-size: 15px; line-height: 1.55;
}
.rq-check-col li::before {
  position: absolute; left: 0; top: 9px; display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 50%; color: rgba(255,255,255,1); background: var(--green); font-size: 14px; font-weight: 900; content: "✓";
}
.rq-check-col--none li { color: rgba(155.651,146.063,125.719,1); text-decoration: line-through; text-decoration-color: rgba(197.813,189.812,172.835,1); }
.rq-check-col--none li::before { color: rgba(155.651,146.063,125.719,1); background: rgba(234.594,230.398,221.495,1); content: "✕"; }
.rq-check-col > p { margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* CTA — 전체 폭 그라데이션 띠 */
.rq-cta { padding: 56px 0; background: linear-gradient(120deg, var(--purple), #3d2fb8 55%, var(--navy-900)); }
.rq-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.rq-cta p { margin: 0; color: rgba(255,255,255,1); font-size: 22px; font-weight: 800; line-height: 1.45; letter-spacing: -.02em; }
.rq-cta p span { display: block; margin-top: 6px; color: rgba(255,255,255,0.7215686274509804); font-size: 15px; font-weight: 500; letter-spacing: 0; }
.rq-cta .button { flex: none; box-shadow: 0 12px 30px rgba(0,0,0,0.25); }

body[data-page="requirements-analysis.html"] .section { padding: 84px 0; }

@media (max-width: 980px) {
  .rq-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .rq-hero-fig { max-width: 520px; }
  .rq-why, .rq-out { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rq-steps > li { grid-template-columns: 1fr; gap: 28px; padding: 32px 28px; }
  .rq-steps > li:nth-child(even) .rq-txt { order: 0; }
  .rq-check { grid-template-columns: 1fr; }
  .rq-cta-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .rq-hero { padding: 96px 0 64px; }
  .rq-hero-fig { grid-template-columns: 1fr; }
  .rq-arrow { width: 2px; height: 28px; margin: 0 auto; background: linear-gradient(180deg, rgba(70,215,232,.2), var(--cyan)); }
  .rq-arrow::after { right: -5px; top: auto; bottom: -2px; border: 6px solid transparent; border-top: 9px solid var(--cyan); border-bottom: 0; }
  .rq-srcs .rq-file { transform: none !important; }
  .rq-why, .rq-out { grid-template-columns: 1fr; }
  .rq-steps > li { padding: 26px 20px; }
  .rq-steps b { font-size: 20px; }
  .rq-fig { padding: 18px; }
  .rq-fig--files .rq-file { margin: 0 !important; white-space: normal; }
  .rq-flow-main span { font-size: 14px; }
  .rq-flow-main span + span { margin-left: 14px; }
  .rq-flow-main span + span::before { left: -12px; }
  .rq-cta p { font-size: 19px; }
  body[data-page="requirements-analysis.html"] .section { padding: 56px 0; }
}
/* 푸터 링크 두 개(요구사항 정의 · 협업 파트너)를 한 줄에 나란히. */
.footer-partner { display: flex; flex-wrap: wrap; gap: 6px 18px; }
/* 본문 안에서 요구사항 정의 페이지로 보내는 링크.
   대상 페이지가 한국어만 있으므로 한국어판에서만 보인다 —
   영어판에서 누르면 한국어 페이지로 떨어진다. */
.rq-more { display: none; margin: 14px 0 0; }
html[lang="ko"] .rq-more { display: block; }
.rq-more a { color: var(--purple); font-size: 14px; font-weight: 700; }
.rq-more a:hover { text-decoration: underline; }

/* ── /modernization 개선 순서 ─────────────────────────────
   'Practical modernization' 은 "어떤 순서로 개선하느냐" 라고 말만 하고
   정작 순서를 보여 주지 않았다. 실제 4단계를 적으면서 붙인 규칙이다.
   어두운 섹션(.section.dark) 위에 놓이므로 글자는 밝게 간다. */
.mz-order { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.mz-order li {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px 22px; border: 1px solid rgba(255,255,255,0.12); border-radius: 14px;
  background: rgba(255,255,255,0.045);
}
.mz-no { color: var(--cyan); font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.mz-order b { display: block; margin-bottom: 7px; color: rgba(255,255,255,1); font-size: 16px; }
.mz-order p { margin: 0; color: rgba(255,255,255,0.66); font-size: 14px; line-height: 1.66; }
.mz-order-note { margin: 20px 0 0; color: rgba(255,255,255,0.52); font-size: 14px; }

/* 업종 카드에 붙인 실제 증상. 본문보다 한 단계 낮춰 보조로 읽히게 한다. */
.mz-symptom {
  margin: 10px 0 0 !important; padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px; line-height: 1.6;
}
/* 히어로 aside 보조 문장 */
.hero-aside-note { margin-top: 10px !important; opacity: .72; font-size: 14px; }

@media (max-width: 980px) { .mz-order { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .mz-order { grid-template-columns: 1fr; } }

/* ── /company 회사소개 · 사업영역 ───────────────────────────
   흰 격자와 같은 모양의 카드만 이어지던 구성을 섹션마다 다르게 바꿨다.
   히어로 24/365 링 → 스펙 시트 + 그라데이션 숫자 타일 → 큰 기호를 깐 3단 가치
   → 크기가 다른 벤토 격자(플랫폼 아이콘) → 윤곽선 번호 목록(15개 분야)
   → 앱 아이콘 타일(자체 솔루션).
   hero-aside·card-icon 은 modernization 과 공용이라 건드리지 않고 co- 클래스만 쓴다.
   아이콘 안의 영문 약어(RQ·BB 등)는 번역 대상이 아니다. */

/* 히어로 오른쪽 — 24/365 원형 링 */
.co-aside { display: grid; justify-items: center; gap: 18px; text-align: center; }
.co-ring {
  position: relative; display: grid; place-items: center; width: 168px; height: 168px; border-radius: 50%;
  background: conic-gradient(var(--cyan), var(--purple), var(--gold), var(--cyan));
  box-shadow: 0 0 40px rgba(104,87,255,.35);
}
.co-ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #0b1729; }
.co-ring strong { position: relative; margin: 0; color: rgba(255,255,255,1); font-size: 28px; letter-spacing: -.02em; }
.co-aside p { margin: 0; }

/* 회사개요 */
.co-ov-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.co-spec { display: grid; gap: 10px; margin: 0; }
.co-spec div {
  display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 18px;
  padding: 16px 20px; border-radius: 14px; background: var(--surface);
}
.co-spec dt {
  justify-self: start; padding: 5px 12px; border-radius: 999px;
  color: var(--purple); background: rgba(104,87,255,.1); font-size: 14px; font-weight: 900;
}
.co-spec dd { margin: 0; color: var(--ink); font-size: 15.5px; font-weight: 600; line-height: 1.55; }
.co-stats { display: grid; gap: 16px; }
.co-stat {
  position: relative; overflow: hidden; padding: 34px 32px; border-radius: 22px; color: rgba(255,255,255,1);
  background: linear-gradient(135deg, #5545ef, #8a47ed);
  box-shadow: 0 22px 50px rgba(91,67,238,.28);
}
.co-stat--b { background: linear-gradient(135deg, #0f6f85, #1b2f5c); box-shadow: 0 22px 50px rgba(15,70,110,.28); }
.co-stat::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  border: 26px solid rgba(255,255,255,0.08);
}
/* 숫자만 크게 두면 '10년+' 이 연혁 기간으로 읽힌다 — 무엇의 숫자인지 라벨을 위에 단다 */
.co-stat-k { display: inline-block; margin-bottom: 14px; padding: 4px 11px; border-radius: 999px; color: rgba(255,255,255,1); background: rgba(255,255,255,0.18); font-size: 14px; font-weight: 800; }
.co-stat b { display: block; font-size: 56px; line-height: 1; letter-spacing: -.03em; }
.co-stat span { display: block; max-width: 300px; margin-top: 12px; color: rgba(255,255,255,0.8); font-size: 14.5px; line-height: 1.55; }

/* 비전과 핵심 가치 — 세로 구분선 + 배경에 큰 기호 */
.co-vals { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.co-vals article { position: relative; overflow: hidden; padding: 40px 36px 36px; }
.co-vals article + article { border-left: 1px solid rgba(255,255,255,0.12); }
.co-glyph {
  display: block; margin-bottom: 26px; font-size: 44px; line-height: 1; font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.co-vals h3 { margin: 0 0 12px; color: rgba(255,255,255,1); font-size: 22px; line-height: 1.35; }
.co-vals p { margin: 0; color: rgba(255,255,255,0.66); font-size: 15px; line-height: 1.75; }

/* 주요 사업 — 벤토 격자 (넓은 카드 2개는 색면) */
.co-bento { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.co-svc {
  display: flex; flex-direction: column; padding: 30px 28px; border-radius: 22px;
  background: rgba(255,255,255,1); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease;
}
.co-svc:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(10,24,48,.1); }
.co-svc--wide { grid-column: span 2; }
.co-svc .platform-icon { margin-bottom: 20px; color: var(--purple); font-size: 38px; filter: none; }
.co-svc small { display: block; margin-bottom: 8px; color: var(--muted); font-size: 14px; font-weight: 800; letter-spacing: .02em; }
.co-svc h3 { margin: 0 0 12px; color: var(--ink); font-size: 21px; }
.co-svc p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.co-svc--a { border: 0; background: linear-gradient(135deg, #5545ef, #8a47ed); }
.co-svc--b { border: 0; background: linear-gradient(135deg, #0b1729, #1b3a66); }
.co-svc--a .platform-icon, .co-svc--b .platform-icon { color: var(--gold); }
.co-svc--a small, .co-svc--b small { color: rgba(255,255,255,0.7); }
.co-svc--a h3, .co-svc--b h3 { color: rgba(255,255,255,1); font-size: 26px; }
.co-svc--a p, .co-svc--b p { max-width: 520px; color: rgba(255,255,255,0.78); font-size: 15px; }

/* 개발 분야 — 윤곽선 큰 번호 목록 */
.co-fields { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 40px; margin: 0; padding: 0; list-style: none; }
.co-fields li { display: grid; grid-template-columns: 62px 1fr; gap: 14px; padding: 24px 0; border-top: 1px dashed rgba(223.732,216.183,200.164,1); }
.co-fields li > span {
  color: transparent; -webkit-text-stroke: 1.5px var(--purple);
  font-size: 40px; font-weight: 900; line-height: 1; letter-spacing: -.04em;
}
.co-fields li:hover > span { color: var(--purple); }
.co-fields h3 { margin: 2px 0 6px; color: var(--ink); font-size: 17px; line-height: 1.4; }
.co-fields p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* 자체 솔루션 — 앱 아이콘 타일 */
.co-products { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.co-prod {
  display: flex; flex-direction: column; padding: 30px 30px 28px; border-radius: 22px;
  background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.1);
  transition: border-color .25s ease, transform .25s ease;
}
.co-prod:hover { transform: translateY(-4px); border-color: rgba(70,215,232,.45); }
.co-app {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; border-radius: 16px;
  color: rgba(255,255,255,1); background: linear-gradient(135deg, var(--g1), var(--g2));
  font-size: 19px; font-weight: 900; letter-spacing: -.02em; box-shadow: 0 12px 26px rgba(0,0,0,0.3);
}
.co-prod > span { color: var(--cyan); font-size: 14px; font-weight: 900; letter-spacing: .12em; }
.co-prod h3 { margin: 10px 0 14px; color: rgba(255,255,255,1); font-size: 21px; line-height: 1.4; }
.co-prod p { margin: 0 0 20px; color: rgba(255,255,255,0.63); font-size: 14.5px; line-height: 1.75; }
.co-prod a {
  align-self: flex-start; margin-top: auto; padding: 9px 16px; border-radius: 999px;
  color: #0b1729; background: var(--cyan); font-size: 14px; font-weight: 800;
}
.co-prod a:hover { background: rgba(255,255,255,1); }

@media (max-width: 980px) {
  .co-ov-grid { grid-template-columns: 1fr; gap: 36px; }
  .co-vals { grid-template-columns: 1fr; }
  .co-vals article + article { border-left: 0; border-top: 1px solid rgba(255,255,255,0.12); }
  .co-bento { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .co-fields, .co-products { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .co-ring { width: 136px; height: 136px; }
  .co-ring strong { font-size: 23px; }
  .co-spec div { grid-template-columns: 1fr; gap: 8px; }
  .co-stat b { font-size: 46px; }
  .co-vals article { padding: 30px 6px; }
  .co-bento { grid-template-columns: 1fr; }
  .co-svc--wide { grid-column: auto; }
  .co-fields, .co-products { grid-template-columns: 1fr; }
}

/* ── / 메인 배치 (내용 무변경) ─────────────────────────────
   히어로는 관리자에서 고르는 배경 효과(hero.js)가 얹히는 자리라 그대로 둔다.
   What we build: 왼쪽 제목 고정 + 오른쪽 2열 카드(어두운 톤 유지)
   Clients: 로고 세 줄이 서로 반대 방향으로 흐르는 띠
   Reviews: 대표 후기 1개 세로로 크게 + 4개 격자 + 마지막 가로 띠
   Why Bebob: 큰 번호와 글을 좌우 교차, 장점 4개는 한 판 위에, 마무리는 그라데이션 띠 */

/* What we build */
.ix-build-grid { position: relative; display: grid; grid-template-columns: 450px minmax(0,1fr); gap: 48px; align-items: start; }
.ix-build-head { position: sticky; top: 110px; margin: 0; text-align: left; }
.ix-build-head h2 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.28; }
.ix-build-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.ix-build-cards .card:nth-child(4n+1), .ix-build-cards .card:nth-child(4n) {
  background: linear-gradient(145deg, rgba(104,87,255,.16), rgba(255,255,255,0.03));
}

/* Clients — 흐르는 로고 띠 */
.ix-clients { overflow: hidden; }
.ix-marquee { display: grid; gap: 16px; mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,1) 8%, rgba(0,0,0,1) 92%, transparent); }
.ix-row { display: flex; width: max-content; gap: 16px; animation: ix-flow 60s linear infinite; }
.ix-row--rev { animation-direction: reverse; animation-duration: 70s; }
.ix-row:nth-child(3) { animation-duration: 54s; }
.ix-marquee:hover .ix-row { animation-play-state: paused; }
/* 로고 이미지에 이미 흰 바탕·테두리가 들어 있어 카드를 따로 씌우지 않는다(이중 테두리) */
.ix-row .client-logo { flex: none; width: auto; height: auto; padding: 0; border: 0; background: none; }
.ix-row .client-logo img { display: block; width: auto; height: 76px; max-width: none; }
@keyframes ix-flow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ix-row { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .ix-row [aria-hidden="true"] { display: none; }
}

/* Reviews — 들어올 때마다 배치 틀(data-layout 1~12)과 순서를 site.js 가 함께 고른다.
   틀은 6칸 격자의 grid-template-areas(a~g = 1~7번째 후기)로, 카드 모양은 data-look 으로 정한다.
   틀마다 7칸이 빈칸 없이 채워지고, 가로 띠(band·strip)는 4칸 이상 폭에만 온다.
   스크립트가 꺼지면 HTML 에 적힌 틀 1 과 순서 그대로 보인다. */
.ix-reviews { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 20px; }
.ix-rv {
  position: relative; display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: 22px;
  background: rgba(255,255,255,1); border: 1px solid #e6e9f2; transition: transform .3s ease, box-shadow .3s ease;
}
.ix-rv:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(16,29,55,.11); }
.ix-rv .review-quote { height: 34px; color: var(--purple); font: 900 56px/1 Georgia, serif; }
.ix-rv blockquote { flex: 1; margin: 12px 0 22px; color: #2f3950; font-size: 15px; line-height: 1.85; }
.ix-rv footer { display: flex; flex-direction: column; padding-top: 16px; border-top: 1px solid #edf0f5; }
.ix-rv footer strong { color: var(--navy-800); font-size: 15px; }
.ix-rv footer span { color: var(--muted); font-size: 14px; }

/* 모양 — feature 보라 큰 카드 / band 어두운 가로 띠 / strip 밝은 가로 띠 / dark 어두운 카드 / tint 연보라 / cream 크림.
   넓은 칸(4칸 이상)에는 가로 띠(band·strip)만 둔다 — 세로 카드를 넓게 펴면 짧은 후기 아래가 휑하다. */
.ix-rv[data-look="feature"] {
  justify-content: center; padding: 42px 38px; border: 0;
  background: radial-gradient(circle at 90% 10%, rgba(70,215,232,.25), transparent 40%), linear-gradient(150deg, #5545ef, #2b2394);
}
.ix-rv[data-look="feature"] .review-quote { height: 60px; color: var(--gold); font-size: 96px; }
.ix-rv[data-look="feature"] blockquote { flex: none; color: rgba(255,255,255,1); font-size: 18px; line-height: 1.75; font-weight: 600; }
.ix-rv[data-look="feature"] footer { border-top-color: rgba(255,255,255,0.22); }
.ix-rv[data-look="feature"] footer span { color: rgba(255,255,255,0.7); }
.ix-rv[data-look="band"] {
  display: grid; grid-template-columns: 64px minmax(0,1fr) 200px; align-items: center; gap: 22px;
  padding: 30px 36px; background: #0d192c; border: 0;
}
.ix-rv[data-look="band"] .review-quote { height: auto; color: var(--cyan); font-size: 80px; }
.ix-rv[data-look="band"] blockquote { margin: 0; color: rgba(255,255,255,0.85); font-size: 17px; }
.ix-rv[data-look="band"] footer { padding: 0 0 0 24px; border-top: 0; border-left: 1px solid rgba(255,255,255,0.18); }
/* 세로 2칸에 걸리는 일이 많아 큰 카드처럼 내용을 가운데로 모은다 */
.ix-rv[data-look="dark"] { justify-content: center; border: 0; background: linear-gradient(160deg, #0f1f38, #1d2f5c); }
.ix-rv[data-look="dark"] blockquote { flex: none; }
.ix-rv[data-look="dark"] .review-quote { color: var(--cyan); }
.ix-rv[data-look="dark"] blockquote { color: rgba(255,255,255,0.82); }
.ix-rv[data-look="strip"] {
  display: grid; grid-template-columns: 64px minmax(0,1fr) 200px; align-items: center; gap: 22px;
  padding: 28px 36px; background: #f1efff; border-color: #e1dcff;
}
.ix-rv[data-look="strip"] .review-quote { height: auto; font-size: 80px; }
.ix-rv[data-look="strip"] blockquote { margin: 0; font-size: 16px; }
.ix-rv[data-look="strip"] footer { padding: 0 0 0 24px; border-top: 0; border-left: 1px solid #d9d2ff; }
.ix-rv[data-look="dark"] footer { border-top-color: rgba(255,255,255,0.15); }
.ix-rv[data-look="feature"] footer strong, .ix-rv[data-look="band"] footer strong, .ix-rv[data-look="dark"] footer strong { color: rgba(255,255,255,1); }
.ix-rv[data-look="band"] footer span, .ix-rv[data-look="dark"] footer span { color: rgba(255,255,255,0.6); }
.ix-rv[data-look="tint"] { background: #f1efff; border-color: #e1dcff; }
.ix-rv[data-look="tint"] footer { border-top-color: #ddd7fb; }
.ix-rv[data-look="cream"] { background: #fff8ea; border-color: #f3e4bf; }
.ix-rv[data-look="cream"] .review-quote { color: #d6a21f; }
.ix-rv[data-look="cream"] footer { border-top-color: #f1e3c2; }

/* 틀 — 넓은 화면에서만 칸 이름을 쓴다 */
@media (min-width: 1101px) {
  .ix-reviews > .ix-rv:nth-child(1) { grid-area: a; }
  .ix-reviews > .ix-rv:nth-child(2) { grid-area: b; }
  .ix-reviews > .ix-rv:nth-child(3) { grid-area: c; }
  .ix-reviews > .ix-rv:nth-child(4) { grid-area: d; }
  .ix-reviews > .ix-rv:nth-child(5) { grid-area: e; }
  .ix-reviews > .ix-rv:nth-child(6) { grid-area: f; }
  .ix-reviews > .ix-rv:nth-child(7) { grid-area: g; }
  .ix-reviews > .ix-rv:nth-child(8) { grid-area: h; }
  .ix-reviews[data-layout="1"] { grid-template-areas: "a a b b c c" "a a d d e e" "f f g g h h"; }
  .ix-reviews[data-layout="2"] { grid-template-areas: "a a a a a a" "b b c c d d" "e e f f d d" "g g g h h h"; }
  .ix-reviews[data-layout="3"] { grid-template-areas: "a a c c d d" "b b c c e e" "f f g g h h"; }
  .ix-reviews[data-layout="4"] { grid-template-areas: "a a b b c c" "d d d d c c" "e e f f g g" "h h h h h h"; }
  .ix-reviews[data-layout="5"] { grid-template-areas: "a a b b c c" "d d b b e e" "d d f f g g" "h h h h h h"; }
  .ix-reviews[data-layout="6"] { grid-template-areas: "a a b b c c" "d d d d d d" "e e e f f f" "g g g h h h"; }
  .ix-reviews[data-layout="7"] { grid-template-areas: "a a a b b b" "c c d d e e" "f f g g h h"; }
  .ix-reviews[data-layout="8"] { grid-template-areas: "a a a a b b" "c c d d d d" "e e e f f f" "g g g h h h"; }
  .ix-reviews[data-layout="9"] { grid-template-areas: "a a b b c c" "a a b b d d" "e e f f g g" "h h h h h h"; }
  .ix-reviews[data-layout="10"] { grid-template-areas: "a a b b b b" "c c c c d d" "e e e f f f" "g g g h h h"; }
  .ix-reviews[data-layout="11"] { grid-template-areas: "a a b b c c" "d d e e c c" "f f f f g g" "h h h h h h"; }
  .ix-reviews[data-layout="12"] { grid-template-areas: "a a a b b b" "a a a c c c" "d d e e f f" "g g g h h h"; }
}
/* 2열: 큰 카드·띠는 전체 폭. 반 칸짜리가 홀수면 site.js 가 마지막 하나에 data-span="full" 을 붙인다.
   dense 로 앞쪽 빈칸을 뒤 카드가 메운다. */
@media (max-width: 1100px) {
  .ix-reviews { grid-template-columns: 1fr 1fr; grid-auto-flow: dense; }
  .ix-rv[data-look="feature"], .ix-rv[data-look="band"], .ix-rv[data-look="strip"], .ix-rv[data-span="full"] { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .ix-reviews { grid-template-columns: 1fr; }
  .ix-rv[data-look="feature"] blockquote { font-size: 17px; }
  .ix-rv[data-look="band"], .ix-rv[data-look="strip"] { grid-template-columns: 1fr; gap: 10px; padding: 28px 24px; }
  .ix-rv[data-look="band"] .review-quote, .ix-rv[data-look="strip"] .review-quote { font-size: 60px; }
  .ix-rv[data-look="band"] footer { padding: 14px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.18); }
  .ix-rv[data-look="strip"] footer { padding: 14px 0 0; border-left: 0; border-top: 1px solid #d9d2ff; }
}

/* Why Bebob — 번호와 글 좌우 교차 */
.ix-stories { display: grid; gap: 26px; margin-top: 64px; }
.ix-story {
  display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 48px; align-items: center;
  padding: 40px 44px; border-radius: 26px; background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.08);
}
.ix-story:nth-child(even) { grid-template-columns: minmax(0,1fr) 260px; }
.ix-story:nth-child(even) .ix-story-no { order: 2; text-align: right; }
.ix-story-no {
  font-size: 150px; font-weight: 900; line-height: .8; letter-spacing: -.06em;
  background: linear-gradient(160deg, var(--cyan), var(--purple) 55%, rgba(104,87,255,.2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ix-story h3 { margin: 0 0 14px; color: rgba(255,255,255,1); font-size: 30px; line-height: 1.3; text-wrap: balance; }
.ix-story p { margin: 8px 0; color: rgba(255,255,255,0.67); line-height: 1.8; text-wrap: pretty; }

/* 장점 4개 — 한 판 위에 네 칸 */
.ix-benefit-panel {
  margin-top: 80px; padding: 44px 40px 40px; border-radius: 28px;
  background: linear-gradient(160deg, rgba(104,87,255,.14), rgba(70,215,232,.05)); border: 1px solid rgba(255,255,255,0.1);
}
.ix-benefit-head { margin-bottom: 30px; text-align: center; }
.ix-benefit-head h2 { margin: 0; font-size: clamp(24px, 2.6vw, 34px); }
.ix-benefits { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.ix-benefits article { padding: 6px 24px; }
.ix-benefits article + article { border-left: 1px solid rgba(255,255,255,0.14); }
.ix-benefits span {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 12px;
  color: var(--navy-950); background: var(--gold); font-size: 14px; font-weight: 900;
}
.ix-benefits h3 { margin: 0 0 10px; color: rgba(255,255,255,1); font-size: 18px; line-height: 1.4; }
.ix-benefits p { margin: 0; color: rgba(255,255,255,0.62); font-size: 14px; line-height: 1.7; }

/* 마무리 띠 */
.ix-cta { padding: 60px 0; background: linear-gradient(115deg, var(--purple), #3d2fb8 55%, var(--navy-900)); }
.ix-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.ix-cta strong { display: block; color: rgba(255,255,255,1); font-size: 24px; line-height: 1.4; }
.ix-cta p { margin: 6px 0 0; color: rgba(255,255,255,0.7215686274509804); }
.ix-cta .button { flex: none; box-shadow: 0 12px 30px rgba(0,0,0,0.25); }

@media (max-width: 1100px) {
  .ix-build-grid { grid-template-columns: 1fr; gap: 36px; }
  .ix-build-head { position: static; text-align: center; }
  .ix-benefits { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 28px; }
  .ix-benefits article:nth-child(3) { border-left: 0; }
}
@media (max-width: 760px) {
  .ix-build-cards { grid-template-columns: 1fr; }
  .ix-row .client-logo img { height: 58px; }
  .ix-story, .ix-story:nth-child(even) { grid-template-columns: 1fr; gap: 12px; padding: 28px 22px; }
  .ix-story:nth-child(even) .ix-story-no { order: 0; text-align: left; }
  .ix-story-no { font-size: 84px; }
  .ix-story h3 { font-size: 23px; }
  .ix-benefit-panel { padding: 30px 20px; }
  .ix-benefits { grid-template-columns: 1fr; }
  .ix-benefits article { padding: 16px 4px; }
  .ix-benefits article + article { border-left: 0; border-top: 1px solid rgba(255,255,255,0.14); }
  .ix-cta-in { flex-direction: column; align-items: flex-start; }
  .ix-cta strong { font-size: 20px; }
}

/* ── /technology 시각 보강 ─────────────────────────────────
   사양서 형식·네이비·흑백 로고의 무게는 그대로 두고, 한 항목씩 눈에 들어오게 한다.
   히어로+목차를 하나의 어두운 띠로 / 분야 번호는 사각 배지 / 기술은 줄 목록 → 카드
   / 개발 범위는 네이비 강조 박스. 위쪽 기존 규칙을 덮어쓰는 형태라 여기서만 고친다. */
body[data-page="technology.html"] .inquiry-hero.tk-hero {
  padding: 96px 0 30px; color: rgba(255,255,255,1);
  /* 목차 띠(#11243f)로 끊김 없이 이어지도록 빛 번짐 없이 단색 그라데이션만 쓴다 */
  background: linear-gradient(180deg, #0b1729, #11243f);
}
.tk-hero .breadcrumb { color: rgba(255,255,255,0.55); }
body[data-page="technology.html"] .tk-hero .breadcrumb b { color: rgba(255,255,255,1); }
.tk-hero h1 { margin: 0; color: rgba(255,255,255,1); font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.035em; }

/* 목차 — 히어로와 이어지는 어두운 띠 위의 칩 */
body[data-page="technology.html"] .tk-index { padding: 6px 0 40px; background: #11243f; }
body[data-page="technology.html"] .tk-index-grid a { color: rgba(255,255,255,0.82); background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.16); }
body[data-page="technology.html"] .tk-index-grid a b { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.1); }
body[data-page="technology.html"] .tk-index-grid a:hover,
body[data-page="technology.html"] .tk-index-grid a.is-active { color: var(--sd-navy); background: rgba(255,255,255,1); border-color: rgba(255,255,255,1); }
body[data-page="technology.html"] .tk-index-grid a:hover b,
body[data-page="technology.html"] .tk-index-grid a.is-active b { color: rgba(255,255,255,1); background: var(--sd-navy); }

/* 분야 머리 — 번호를 네이비 사각 배지로 */
body[data-page="technology.html"] .tk-head { align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 0; border-bottom: 0; }
body[data-page="technology.html"] .tk-no {
  display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px;
  color: rgba(255,255,255,1); background: linear-gradient(135deg, #1b4a75, #12233d); font-size: 16px; letter-spacing: 0;
  box-shadow: 0 10px 22px rgba(18,35,61,.22);
}
body[data-page="technology.html"] .tk-head h2 { font-size: clamp(22px, 2.3vw, 30px); }

/* 기술 — 줄 목록 → 3열 카드 */
body[data-page="technology.html"] .tk-stack { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin: 0 0 22px; }
body[data-page="technology.html"] .tk-stack li {
  grid-template-columns: 46px minmax(0,1fr); gap: 14px; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(255,255,255,1); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body[data-page="technology.html"] .section.soft .tk-stack li { border-color: #e3e8f0; }
body[data-page="technology.html"] .tk-stack li:hover { transform: translateY(-3px); border-color: var(--sd-edge); box-shadow: 0 16px 34px rgba(16,29,55,.09); }
body[data-page="technology.html"] .tk-ico { width: 46px; height: 46px; flex-basis: 46px; border-radius: 12px; background: #eef2f7; font-size: 22px; color: #1f2a3c; }
body[data-page="technology.html"] .tk-logo { width: 25px; height: 25px; opacity: .9; }
body[data-page="technology.html"] .tk-stack li:hover .tk-ico { background: var(--sd-navy); color: rgba(255,255,255,1); }
body[data-page="technology.html"] .tk-stack li:hover .tk-logo { filter: grayscale(1) invert(1); opacity: 1; }
body[data-page="technology.html"] .tk-stack b { margin-top: 2px; font-size: 16.5px; }
body[data-page="technology.html"] .tk-stack li > div span { margin-top: 6px; font-size: 14px; line-height: 1.65; }

/* 개발 범위 — 네이비 강조 박스 */
body[data-page="technology.html"] .tk-spec { display: grid; gap: 8px; }
body[data-page="technology.html"] .tk-spec > div,
body[data-page="technology.html"] .tk-spec > div:last-child {
  grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 20px;
  padding: 18px 24px; border: 0; border-radius: 14px; background: #12233d;
}
body[data-page="technology.html"] .tk-spec dt {
  padding: 5px 12px; border-radius: 999px; color: #12233d; background: #f2c75c; letter-spacing: .02em;
}
body[data-page="technology.html"] .tk-spec dd { color: rgba(255,255,255,0.88); font-weight: 600; }

@media (max-width: 1100px) {
  body[data-page="technology.html"] .tk-stack { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  body[data-page="technology.html"] .inquiry-hero.tk-hero { padding: 80px 0 22px; }
  body[data-page="technology.html"] .tk-index { padding: 4px 0 28px; }
  body[data-page="technology.html"] .tk-stack { grid-template-columns: 1fr; gap: 10px; }
  body[data-page="technology.html"] .tk-stack li { grid-template-columns: 46px minmax(0,1fr); padding: 16px; }
  body[data-page="technology.html"] .tk-no { width: 44px; height: 44px; font-size: 14px; }
  body[data-page="technology.html"] .tk-spec > div, body[data-page="technology.html"] .tk-spec > div:last-child { grid-template-columns: 1fr; gap: 10px; padding: 16px 18px; }
  body[data-page="technology.html"] .tk-spec dt { justify-self: start; }
}

/* ── /portfolio Clients — 메인과 같은 흐르는 로고 띠(.ix-marquee/.ix-row 공용) ──
   띠가 화면 폭보다 넓게 흐르므로 섹션에서 잘라 가로 스크롤이 생기지 않게 한다. */
.portfolio-clients { overflow: hidden; }

/* ── /history 연도별 수행 이력 ─────────────────────────────
   건수를 숫자로 쓰지 않고(사용자 방침) 양으로 보여 준다.
   · 밀도 막대: 프로젝트 하나 = 네모 하나. 해마다 쌓아 올린다. 스크롤로 들어오면 차오른다.
   · 기간 머리: 기간을 배경에 크게 깐다.
   · 항목: 줄 목록 → 촘촘한 타일, 들어올 때 하나씩 나타난다.
   기간별 색: p0 최근 → p4 초기. 움직임 줄이기 설정이면 애니메이션 없이 바로 보인다. */
.hl-p0 { --hc1: rgba(232.244,194.967,115.866,1); --hc2: #46d7e8; }   /* 2025 — 2026 */
.hl-p1 { --hc1: #46d7e8; --hc2: #6857ff; }
.hl-p2 { --hc1: #6857ff; --hc2: #954ee8; }
.hl-p3 { --hc1: #954ee8; --hc2: #d24a8c; }
.hl-p4 { --hc1: #f07b3f; --hc2: #f2c75c; }
.hl-p5 { --hc1: #f2c75c; --hc2: rgba(232.955,202.475,137.796,1); }

/* 프로젝트 모자이크 */
.hl-density {
  margin: 0 0 56px; padding: 32px 30px 24px; border-radius: 26px;
  background: radial-gradient(circle at 80% 0%, rgba(104,87,255,.28), transparent 45%), #0b1729;
  box-shadow: 0 30px 70px rgba(10,24,48,.18);
}
.hl-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(30px, 1fr)); gap: 6px; }
.hl-cell {
  display: block; aspect-ratio: 1; border-radius: 6px;
  background: linear-gradient(135deg, var(--hc1), var(--hc2));
  opacity: 0; transform: scale(.3);
  transition: opacity .4s ease, transform .4s ease, filter .2s ease, box-shadow .2s ease;
  transition-delay: calc(var(--i) * 9ms);
}
.hl-density.is-in .hl-cell { opacity: .92; transform: none; }
.hl-density.is-in .hl-cell:hover { opacity: 1; transform: scale(1.25); filter: brightness(1.25); box-shadow: 0 0 18px var(--hc1); transition-delay: 0s; }
.hl-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; }
.hl-legend span { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7215686274509804); font-size: 14px; font-weight: 800; }
.hl-legend i { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--hc1), var(--hc2)); }

/* 기간 */
.hl-period { margin-bottom: 30px; }
.hl-period-head {
  position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-bottom: 6px; padding: 30px 32px 24px; border-radius: 22px; color: rgba(255,255,255,1);
  background: linear-gradient(120deg, #0f1f38, #1d2f5c);
}
.hl-period-head::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--hc1), var(--hc2));
}
.hl-period-ghost {
  position: absolute; right: -10px; bottom: -34px; font-size: clamp(64px, 9vw, 128px); font-weight: 900; line-height: 1;
  letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.12); pointer-events: none;
}
.hl-period-head h3 { position: relative; margin: 0; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; }
.hl-period-meta {
  position: relative; padding: 6px 12px; border-radius: 999px; color: #0b1729; background: linear-gradient(90deg, var(--hc1), var(--hc2));
  font-size: 14px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}

/* 연도 + 타일 */
.hl-year { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 22px; padding: 24px 6px; border-bottom: 1px dashed rgba(223.732,216.183,200.164,1); scroll-margin-top: 96px; }
.hl-year:last-child { border-bottom: 0; }
.hl-year-label {
  position: sticky; top: 100px; align-self: start; font-size: 34px; font-weight: 900; line-height: 1; letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--hc1), var(--hc2)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* 한 줄에 하나 — 여러 칸으로 나누면 문장이 꺾여 칸이 휑해 보이고 오히려 적어 보였다.
   가로 폭을 끝까지 써서 대부분 한 줄에 들어가고, 스크롤이 길어지는 쪽이 양감이 산다. */
.hl-tiles { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hl-tiles li {
  position: relative; padding: 15px 22px 15px 26px; border-radius: 12px; background: rgba(255,255,255,1); border: 1px solid #e6eaf2;
  color: #2f3950; font-size: 15.5px; font-weight: 500; line-height: 1.55;
  opacity: 0; transform: translateY(12px);
  transition: opacity .45s ease, transform .45s ease, box-shadow .2s ease, border-color .2s ease;
  transition-delay: calc(var(--i) * 30ms);
}
.hl-tiles li::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--hc1), var(--hc2));
}
.hl-year.is-in .hl-tiles li { opacity: 1; transform: none; }
.hl-tiles li:hover { border-color: transparent; box-shadow: 0 12px 28px rgba(16,29,55,.1); transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  .hl-cell, .hl-tiles li { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 760px) {
  .hl-density { margin-bottom: 36px; padding: 20px 16px 16px; }
  .hl-wall { grid-template-columns: repeat(auto-fill, minmax(18px, 1fr)); gap: 4px; }
  .hl-cell { border-radius: 4px; }
  .hl-period-head { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 20px 20px; }
  .hl-year { grid-template-columns: 1fr; gap: 12px; padding: 20px 0; }
  .hl-year-label { position: static; font-size: 28px; }
  .hl-tiles li { padding: 13px 16px 13px 20px; font-size: 14.5px; }
}

/* ── /modernization 시각 재구성 (문구 무변경) ─────────────────
   업종: 위 네이비(기호·업종명) + 아래 흰 바탕(설명·증상)
   Legacy: 낡은 화면 목업, 금색 줄 = 그 안에 남은 업무 규칙
   분석: 가운데 KEEP vs CHANGE 원을 둘러싼 2×2 사분면
   단계: 단계마다 LEGACY ↔ NEW 비중 막대 — 갈수록 새 시스템이 차오른다
   데이터: 흩어진 자료 → 하나의 DB → 리포트·연동·자동화·AI
   도식 라벨은 영문 약어라 번역 단위를 늘리지 않는다. */

/* 업종 */
.mz-inds { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.mz-inds article { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: rgba(255,255,255,1); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.mz-inds article:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(10,24,48,.12); }
.mz-ind-top { position: relative; overflow: hidden; padding: 30px 28px 26px; background: linear-gradient(135deg, #12233d, #2b2394); }
.mz-glyph { position: absolute; right: 14px; top: -12px; color: rgba(255,255,255,0.1); font-size: 120px; font-weight: 900; line-height: 1; }
.mz-ind-top h3 { position: relative; margin: 0; color: rgba(255,255,255,1); font-size: 30px; letter-spacing: -.03em; }
.mz-ind-top::after { content: ""; position: absolute; left: 28px; bottom: 16px; width: 36px; height: 3px; border-radius: 2px; background: var(--cyan); }
.mz-ind-body { display: flex; flex: 1; flex-direction: column; gap: 16px; padding: 24px 28px 28px; }
.mz-ind-body p { margin: 0; color: #3b4559; font-size: 15px; line-height: 1.7; }
.mz-inds .mz-symptom {
  position: relative; margin: auto 0 0 !important; padding: 14px 16px 14px 40px; border: 0; border-radius: 12px;
  background: #fff3ec; color: #8a4a1f; font-size: 14px; line-height: 1.6;
}
.mz-inds .mz-symptom::before {
  content: "!"; position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 18px; height: 18px;
  border-radius: 50%; color: rgba(255,255,255,1); background: #e8732f; font-size: 14px; font-weight: 900;
}

/* Legacy — 낡은 화면 목업 */
.mz-legacy-txt p { color: #3b4559; font-size: 16px; line-height: 1.8; }
.mz-legacy { border-radius: 10px; overflow: hidden; background: rgba(207.121,203.659,196.312,1); border: 2px solid rgba(164.966,159.168,146.865,1); box-shadow: 0 30px 60px rgba(10,24,48,.18); font-family: "Courier New", monospace; }
.mz-legacy-bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: linear-gradient(90deg, #1e3a8a, #4b6cc1); }
.mz-legacy-bar span { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,1); background: rgba(207.121,203.659,196.312,1); }
.mz-legacy-bar em { color: rgba(255,255,255,1); font-style: normal; font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.mz-legacy-body { display: grid; gap: 9px; padding: 22px 20px; background: rgba(231.842,229.738,225.271,1); }
.mz-legacy-body i { display: block; height: 16px; border: 1px solid rgba(178.491,173.347,162.434,1); background: repeating-linear-gradient(90deg, rgba(215.731,212.608,205.98,1) 0 34px, rgba(236.426,234.688,231,1) 34px 38px); }
.mz-legacy-body i.k {
  border-color: #e0b33c; background: linear-gradient(90deg, rgba(242,199,92,.9), rgba(242,199,92,.45));
  box-shadow: 0 0 16px rgba(242,199,92,.85); animation: mz-glow 2.8s ease-in-out infinite;
}
.mz-legacy-body i.k:nth-child(5) { animation-delay: .9s; } .mz-legacy-body i.k:nth-child(7) { animation-delay: 1.8s; }
@keyframes mz-glow { 50% { box-shadow: 0 0 4px rgba(242,199,92,.3); } }
.mz-legacy-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px 18px; background: #0b1729; }
.mz-legacy-tags span { padding: 5px 10px; border-radius: 6px; color: #0b1729; background: var(--gold); font: 800 12px/1 ui-monospace, Consolas, monospace; letter-spacing: .06em; }

/* 분석 — 2×2 사분면 + 가운데 원 */
.mz-quad { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.mz-quad article { padding: 34px 38px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.mz-quad article:nth-child(1) { padding-right: 120px; border-bottom-right-radius: 6px; }
.mz-quad article:nth-child(2) { padding-left: 120px; border-bottom-left-radius: 6px; }
.mz-quad article:nth-child(3) { padding-right: 120px; border-top-right-radius: 6px; }
.mz-quad article:nth-child(4) { padding-left: 120px; border-top-left-radius: 6px; }
.mz-quad .number { display: block; margin-bottom: 14px; color: var(--purple); font-size: 36px; font-weight: 900; line-height: 1; }
.mz-quad h3 { margin: 0 0 8px; font-size: 21px; }
.mz-quad p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.mz-quad-core {
  position: absolute; left: 50%; top: 50%; display: grid; place-items: center; align-content: center; gap: 2px;
  width: 150px; height: 150px; border-radius: 50%; transform: translate(-50%,-50%);
  color: rgba(255,255,255,1); background: linear-gradient(135deg, #5545ef, #12233d); border: 8px solid rgba(255,255,255,1);
  box-shadow: 0 18px 40px rgba(85,69,239,.35); font-weight: 900;
}
.mz-quad-core span { font-size: 15px; letter-spacing: .1em; }
.mz-quad-core b { color: var(--gold); font-size: 14px; }

/* 단계 — LEGACY ↔ NEW 비중 막대 */
.mz-legend { display: flex; gap: 20px; margin: -6px 0 20px; }
.mz-legend span { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.mz-legend i { width: 16px; height: 10px; border-radius: 3px; }
.mz-legend .o i { background: #4a5670; } .mz-legend .n i { background: linear-gradient(90deg, var(--cyan), var(--purple)); }
.mz-steps-sec .mz-order { gap: 18px; }
.mz-steps-sec .mz-order li { gap: 16px; padding: 26px 24px; border-radius: 20px; }
.mz-steps-sec .mz-no { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #0b1729; background: var(--cyan); font-size: 14px; letter-spacing: 0; }
.mz-mix { position: relative; height: 12px; border-radius: 6px; background: #4a5670; overflow: hidden; }
.mz-mix i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--new); border-radius: 6px; background: linear-gradient(90deg, var(--cyan), var(--purple)); }
.mz-steps-sec .mz-order b { font-size: 18px; }
.mz-steps-sec .mz-order p { font-size: 14px; }

/* 데이터 흐름 */
.mz-data { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
.mz-data .section-head { margin: 0; }
.mz-flow { display: grid; grid-template-columns: 1fr 34px auto 34px 1fr; align-items: center; gap: 8px; padding: 30px 26px; border-radius: 24px; background: #0b1729; }
.mz-flow-col { display: grid; gap: 8px; }
.mz-flow-col span { padding: 9px 10px; border-radius: 8px; text-align: center; color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.07); border: 1px dashed rgba(255,255,255,0.25); font: 800 12px/1 ui-monospace, Consolas, monospace; letter-spacing: .04em; }
.mz-flow-col:first-child span:nth-child(odd) { transform: rotate(-3deg); } .mz-flow-col:first-child span:nth-child(even) { transform: rotate(2deg); }
.mz-flow-col--out span { color: #0b1729; background: var(--cyan); border: 0; }
.mz-flow-col--out span.ai { background: var(--gold); }
.mz-flow-arrow { position: relative; height: 2px; background: linear-gradient(90deg, rgba(70,215,232,.2), var(--cyan)); }
.mz-flow-arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 9px solid var(--cyan); border-right: 0; }
.mz-flow-core { display: grid; place-items: center; align-content: center; gap: 4px; width: 100px; height: 100px; border-radius: 50%; color: rgba(255,255,255,1); background: linear-gradient(135deg, #5545ef, #8a47ed); box-shadow: 0 0 34px rgba(104,87,255,.55); text-align: center; }
.mz-flow-core b { font-size: 24px; line-height: 1; }
.mz-flow-core small { font-size: 14px; font-weight: 800; letter-spacing: .08em; opacity: .85; }

@media (prefers-reduced-motion: reduce) { .mz-legacy-body i.k { animation: none; } }
@media (max-width: 980px) {
  .mz-inds { grid-template-columns: 1fr; }
  .mz-data { grid-template-columns: 1fr; gap: 32px; }
  .mz-quad { grid-template-columns: 1fr; }
  .mz-quad article:nth-child(n) { padding: 26px 26px; border-radius: 20px; }
  .mz-quad-core { position: static; transform: none; width: auto; height: auto; grid-auto-flow: column; gap: 10px; margin: 0 auto; padding: 12px 22px; border-radius: 999px; border-width: 0; order: -1; }
}
@media (max-width: 640px) {
  .mz-ind-top h3 { font-size: 26px; }
  .mz-flow { grid-template-columns: 1fr; gap: 12px; padding: 22px 18px; }
  .mz-flow-arrow { width: 2px; height: 22px; margin: 0 auto; background: linear-gradient(180deg, rgba(70,215,232,.2), var(--cyan)); }
  .mz-flow-arrow::after { right: -5px; top: auto; bottom: -2px; border: 6px solid transparent; border-top: 9px solid var(--cyan); border-bottom: 0; }
  .mz-flow-col { grid-template-columns: repeat(2, 1fr); }
  .mz-flow-core { margin: 0 auto; }
}

/* ── 일본어판 줄바꿈 ─────────────────────────────────────────
   body 의 word-break: keep-all 은 한국어를 어절 단위로 끊기 위한 것인데,
   띄어쓰기가 없는 일본어에서는 줄을 바꿀 자리가 사라져 문장이 한 줄로 뻗는다.
   390px 폭에서 일본어판 전 페이지가 오른쪽으로 잘렸다(2026-09-30 실측).
   일본어는 브라우저 기본 규칙(글자 단위 + 금칙 처리)으로 되돌린다. */
html[lang="ja"] body { word-break: normal; line-break: strict; }

/* ── 줄바꿈 다듬기 (전 페이지) ─────────────────────────────
   2026-09-30 실측: 제목 끝 단어가 혼자 다음 줄로 떨어지거나(…도구 / 선택),
   문단 마지막 줄에 한 단어만 남는 곳이 페이지마다 있었다.
   제목은 줄 길이를 고르게(balance), 본문은 마지막 줄 외톨이를 피하게(pretty).
   지원하지 않는 브라우저는 지금처럼 보인다(점진적 향상). */
h1, h2, h3, h4 { text-wrap: balance; }
p, li, blockquote, dd, figcaption, summary { text-wrap: pretty; }

/* ═══ AI · 바이브코딩 (/ai-development, 한국어판만) ═══════════════
   상단 메뉴의 노란 행택도 여기 있다. 시안: prototypes/ai-vibe-coding */
/* ── 상단 메뉴 태그: 실에 매달린 노란 행택 ─────────── */
.nav a.nav-ai { color: rgba(255,255,255,1); margin-right: 8px; }
.nav-hang { position: absolute; left: calc(100% - 3px); top: -9px; width: 13px; height: 26px; transform-origin: 3px 1px; transform: rotate(-24deg); pointer-events: none; }
/* 메뉴에 마우스를 올리면 실에 매달린 채 한 번 살짝 흔들린다 */
.nav a.nav-ai:hover .nav-hang, .nav a.nav-ai:focus-visible .nav-hang { animation: nav-hang-nudge .9s ease-in-out; }
@keyframes nav-hang-nudge { 0% { transform: rotate(-24deg); } 30% { transform: rotate(-14deg); } 60% { transform: rotate(-31deg); } 80% { transform: rotate(-20deg); } 100% { transform: rotate(-24deg); } }
@media (prefers-reduced-motion: reduce) { .nav a.nav-ai:hover .nav-hang, .nav a.nav-ai:focus-visible .nav-hang { animation: none; } }
.nav-hang svg { display: block; overflow: visible; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.35)); }
.nav-hang .str { fill: none; stroke: rgba(255,255,255,0.85); stroke-width: 1.4; stroke-linecap: round; }
.nav-hang .tag { fill: #ffd43b; stroke: #e0a800; stroke-width: .8; }
.nav-hang .hole { fill: #0b1729; stroke: #e0a800; stroke-width: .6; }
.nav-hang .ln { stroke: rgba(120,80,0,.45); stroke-width: 1.4; stroke-linecap: round; }
@media (max-width: 980px) {
  .nav a.nav-ai { margin-right: 0; }
  .nav-hang { position: relative; left: auto; top: 6px; display: inline-block; margin-left: 4px; vertical-align: top; }
}

/* 메뉴가 하나 늘어 981~1240px 에서 글자가 두 줄로 꺾였다. 항목은 한 줄로 두고 간격·글자를 줄인다. */
html[lang="ko"] .nav a { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1240px) {
  html[lang="ko"] .nav { gap: 15px; }
  html[lang="ko"] .nav a { font-size: 14px; }
  html[lang="ko"] .nav-cta { padding: 8px 13px; }
}

/* 줄바꿈: 문장 사이 <br> 은 항상, 문장 안 의미 단위 <br class="br-pc"> 는 PC 에서만 */
@media (max-width: 760px) { br.br-pc { display: none; } }

/* ── S0 히어로 ─────────────────────────────────────── */
.ai-hero h1 { text-wrap: balance; }
.ai-meter {
  padding: 26px 26px 22px; border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius);
  background: rgba(9,25,46,.55); backdrop-filter: blur(14px); color: rgba(255,255,255,1);
}
.ai-meter > small { display: block; margin-bottom: 16px; color: rgba(255,255,255,0.55); font-size: 14px; font-weight: 800; letter-spacing: .16em; }
.ai-meter-row { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 14px; color: rgba(255,255,255,0.75); }
.ai-meter-bar { position: relative; height: 14px; border-radius: 99px; background: rgba(255,255,255,0.08); }
.ai-meter-bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: rgba(255,255,255,0.38); transition: width 1.2s cubic-bezier(.2,.8,.2,1) .2s; }
.ai-meter.visible .ai-meter-bar i { width: var(--w); }
.is-ai .ai-meter-bar i { background: linear-gradient(90deg, var(--cyan), var(--purple)); box-shadow: 0 0 18px rgba(70,215,232,.45); }
.ai-meter-bar em { position: absolute; left: calc(50% + 8px); top: 50%; transform: translateY(-50%); color: var(--cyan); font-style: normal; font-weight: 900; }
.ai-meter-big { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 6px; font-size: 76px; line-height: 1; letter-spacing: -.04em; background: linear-gradient(90deg, rgba(255,255,255,1), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-meter-big small { font-size: 22px; letter-spacing: 0; color: var(--cyan); -webkit-text-fill-color: var(--cyan); }
.ai-meter-big span { font-size: 40px; }
.ai-meter p { margin: 0; color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.6; }

/* ── S1 시간 배분 ──────────────────────────────────── */
.ai-alloc { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,1); box-shadow: var(--shadow); }
.ai-alloc-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 16px; margin-bottom: 14px; }
.ai-alloc-label { font-weight: 800; font-size: 14px; color: var(--ink); }
.is-ai .ai-alloc-label { color: var(--purple); }
.ai-alloc-bar { display: flex; gap: 4px; width: var(--total); height: 46px; }
.ai-alloc-bar i {
  flex: var(--g) 1 0; display: flex; align-items: center; padding: 0 14px; border-radius: 10px; overflow: hidden; white-space: nowrap;
  font-style: normal; font-size: 14px; font-weight: 800; color: rgba(255,255,255,1);
  transform-origin: left; transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.8,.2,1);
}
.ai-alloc.visible .ai-alloc-bar i { transform: scaleX(1); }
.ai-alloc.visible .ai-alloc-bar i:nth-child(2) { transition-delay: .15s; }
.ai-alloc.visible .ai-alloc-bar i:nth-child(3) { transition-delay: .3s; }
.ai-alloc-bar .c { background: rgba(171.467,161.774,141.205,1); }
.ai-alloc-bar .c.ai { background: linear-gradient(90deg, var(--cyan), var(--purple)); }
.ai-alloc-bar .d { background: var(--navy-700); }
.ai-alloc-bar .v { background: var(--green); color: rgba(67.306,48.004,7.045,1); }
.ai-caption, .ai-curve figcaption { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.ai-shift-lists { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center; margin-top: 30px; }
.ai-shift-lists h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 18px; }
.ai-shift-lists ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ai-shift-lists li { padding: 12px 16px; border-radius: 12px; background: var(--surface); font-size: 15px; font-weight: 600; }
.ai-shift-lists > div:last-child li { background: rgba(251.47,246.479,235.889,1); color: rgba(83.373,61.077,13.764,1); }
.ai-shift-arrow { font-size: 34px; font-weight: 900; color: var(--purple); }
.ai-dot { width: 12px; height: 12px; border-radius: 50%; }
.ai-dot.ai { background: linear-gradient(135deg, var(--cyan), var(--purple)); }
.ai-dot.dev { background: var(--green); }

/* ── S2 바이브코딩 루프 ────────────────────────────── */
.ai-loop { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.ai-chat { border: 1px solid rgba(255,255,255,0.14); border-radius: 18px; background: #0d1a2e; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.45); }
.ai-chat-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); background: #0a1424; }
.ai-chat-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #3a4660; }
.ai-chat-bar em { margin-left: 8px; color: rgba(255,255,255,0.45); font: 700 11px/1 ui-monospace, Consolas, monospace; letter-spacing: .12em; font-style: normal; }
.ai-loop-count { margin-left: auto; padding: 4px 10px; border-radius: 99px; background: rgba(255,107,107,.15); color: #ff8f8f; font: 800 12px/1 ui-monospace, Consolas, monospace; }
.ai-chat-body { margin: 0; padding: 20px; list-style: none; display: flex; flex-direction: column; gap: 10px; min-height: 420px; }
.ai-chat-body li { max-width: 78%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.ai-chat-body li.on { opacity: 1; transform: none; }
.ai-chat-body .u { align-self: flex-end; background: var(--purple); color: rgba(255,255,255,1); border-bottom-right-radius: 4px; }
.ai-chat-body .a { align-self: flex-start; background: #1a2a45; color: #cfe6ff; border-bottom-left-radius: 4px; }
.ai-chat-body .a.warn { background: #3a1d24; color: #ffb3b3; border: 1px solid rgba(255,107,107,.35); }
.ai-loop-left { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: lp; }
.ai-loop-left li { position: relative; padding: 16px 18px 16px 58px; border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; background: rgba(255,255,255,0.04); }
.ai-loop-left li::before { counter-increment: lp; content: "✕"; position: absolute; left: 18px; top: 16px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,107,107,.16); color: #ff8f8f; font-weight: 900; font-size: 14px; }
.ai-loop-left b { display: block; margin-bottom: 4px; color: rgba(255,255,255,1); font-size: 16px; }
.ai-loop-left p { margin: 0; color: rgba(255,255,255,0.62); font-size: 14px; }

/* ── S3 데이터 곡선 ────────────────────────────────── */
.ai-curve { margin: 0; padding: 26px 26px 18px; border-radius: var(--radius); background: rgba(255,255,255,1); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ai-curve svg { display: block; width: 100%; height: auto; overflow: visible; }
.ai-curve-grid line { stroke: #e6eaf2; stroke-dasharray: 4 6; }
.ai-curve-grid line.axis { stroke: rgba(216.807,207.805,188.703,1); stroke-dasharray: none; stroke-width: 2; }
.ai-curve-bad, .ai-curve-good { fill: none; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2s ease .2s; }
.ai-curve-bad { stroke: #ff6b5b; }
.ai-curve-good { stroke: url(#aiGood); }
.ai-curve.visible .ai-curve-bad, .ai-curve.visible .ai-curve-good { stroke-dashoffset: 0; }
.ai-curve-pin { fill: rgba(255,255,255,1); stroke: #ff6b5b; stroke-width: 4; }
.ai-curve-pintxt { fill: #d84a3a; font-size: 18px; font-weight: 800; }
.ai-curve-lbl { font-size: 18px; font-weight: 900; }
.ai-curve-lbl.bad { fill: #d84a3a; }
.ai-curve-lbl.good { fill: var(--purple); }
.ai-curve-loss { fill: #b23b2c; font-size: 20px; font-weight: 900; }
.ai-curve-loss.sub { font-size: 14px; font-weight: 700; }
.ai-curve-axis { fill: var(--muted); font-size: 15px; font-weight: 700; }
.ai-curve-legend { display: none; margin: 10px 0 0; padding: 0; list-style: none; gap: 14px; flex-wrap: wrap; font-size: 14px; font-weight: 700; }
.ai-curve-legend li { display: flex; align-items: center; gap: 6px; }
.ai-curve-legend li::before { content: ""; width: 18px; height: 4px; border-radius: 2px; }
.ai-curve-legend .bad::before { background: #ff6b5b; }
.ai-curve-legend .good::before { background: linear-gradient(90deg, var(--cyan), var(--purple)); }
.ai-curve-legend .loss::before { height: 12px; width: 14px; background: repeating-linear-gradient(45deg, #ff8a7a 0 3px, #ffe9e6 3px 7px); }
.ai-stages { margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ai-stages li { padding: 18px; border-radius: 16px; background: rgba(255,255,255,1); border: 1px solid var(--line); }
.ai-stages span { display: inline-block; margin-bottom: 6px; color: var(--purple); font-weight: 900; font-size: 14px; }
.ai-stages b { display: block; margin-bottom: 6px; font-size: 18px; }
.ai-stages p { margin: 0; color: var(--muted); font-size: 14px; }
.ai-stages .is-hot { border-color: #ffc2b8; background: #fff5f3; }
.ai-stages .is-hot span, .ai-stages .is-hot b { color: #d84a3a; }
.ai-quote { margin: 34px 0 0; padding: 30px 34px; border-radius: var(--radius); background: var(--navy-900); color: rgba(255,255,255,1); display: grid; gap: 6px; text-align: center; }
.ai-quote span { color: rgba(255,255,255,0.6); font-size: 18px; }
.ai-quote b { font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -.02em; background: linear-gradient(90deg, #ff9d8f, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── S3 원인: 참조 없는 구조 vs 관계 설계 ────────────── */
.ai-erd { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 26px; }
.ai-erd-side { border-radius: var(--radius); background: rgba(255,255,255,1); border: 1px solid var(--line); overflow: hidden; }
.ai-erd-side > header { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.ai-erd-side > header b { font-size: 17px; }
.ai-erd-side > header small { margin-left: auto; color: var(--muted); font-size: 14px; font-weight: 700; }
.ai-erd-tag { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 900; color: rgba(255,255,255,1); }
.is-bad .ai-erd-tag { background: #ff6b5b; }
.is-good .ai-erd-tag { background: var(--green); }
.ai-erd-canvas { display: grid; grid-template-columns: 1fr 76px 1fr; align-items: center; padding: 24px 20px; background:
  linear-gradient(rgba(23,32,51,.045) 1px, transparent 1px) 0 0 / 20px 20px,
  linear-gradient(90deg, rgba(23,32,51,.045) 1px, transparent 1px) 0 0 / 20px 20px, #fbfcfe; }
.ai-erd-tbl { border-radius: 10px; background: rgba(255,255,255,1); border: 1px solid #cdd5e4; box-shadow: 0 6px 16px rgba(23,32,51,.07); overflow: hidden; font-size: 14px; }
.ai-erd-tbl b { display: block; padding: 7px 12px; background: var(--navy-800); color: rgba(255,255,255,1); font-size: 14px; }
.ai-erd-tbl ul { margin: 0; padding: 6px 0; list-style: none; }
.ai-erd-tbl li { display: flex; align-items: center; gap: 6px; padding: 4px 12px; white-space: nowrap; }
.ai-erd-tbl li i { padding: 1px 5px; border-radius: 4px; background: #fff3c4; color: #8a6a00; font: 800 10px/1.4 ui-monospace, Consolas, monospace; font-style: normal; }
.ai-erd-tbl li i.fk { background: #e6e3ff; color: var(--purple); }
.ai-erd-tbl li.hot { background: #fff1ef; color: #b23b2c; font-weight: 700; }
.ai-erd-tbl li.hot em { font-style: normal; font-size: 14px; padding: 1px 5px; border-radius: 4px; background: #ffd9d3; }
.ai-erd-tbl li.key { background: #f1efff; color: #3d33b8; font-weight: 700; }
.ai-erd-gap { position: relative; height: 2px; margin: 0 4px; border-top: 2px dashed #ffb0a6; }
.ai-erd-gap span { position: absolute; left: 50%; top: -12px; transform: translate(-50%, -100%); white-space: nowrap; color: #d84a3a; font-size: 14px; font-weight: 800; }
.ai-erd-gap::after { content: "✕"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,1); border: 2px solid #ff6b5b; color: #ff6b5b; font-size: 14px; font-weight: 900; }
.ai-erd-gap.is-linked { border-top: 2px solid var(--purple); }
.ai-erd-gap.is-linked span { color: var(--purple); }
.ai-erd-gap.is-linked::after { content: ""; left: auto; right: -4px; width: 0; height: 0; border-radius: 0; background: none; border: 6px solid transparent; border-right: 0; border-left: 9px solid var(--purple); }
.ai-erd-ops { margin: 0; padding: 14px 20px 18px; list-style: none; display: grid; gap: 8px; }
.ai-erd-ops li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; font-size: 14.5px; line-height: 1.5; }
.ai-erd-ops b { font-size: 14px; font-weight: 900; padding-top: 2px; }
.is-bad .ai-erd-ops b { color: #d84a3a; }
.is-bad .ai-erd-ops li { color: #6e4a45; }
.is-good .ai-erd-ops b { color: rgba(158.385,112.67,15.664,1); }
.is-good .ai-erd-ops li { color: var(--ink); font-weight: 600; }

.ai-erd-note { margin: 0 0 30px; padding: 16px 20px 16px 52px; position: relative; border-radius: 14px; background: rgba(255,255,255,1); border: 1px solid var(--line); color: #3d475e; font-size: 15px; line-height: 1.7; }
.ai-erd-note::before { content: "?"; position: absolute; left: 18px; top: 17px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--cyan); font-size: 14px; font-weight: 900; }

/* ── S3b RelatiQ ─────────────────────────────────── */
.ai-rq-sec { background: radial-gradient(900px 500px at 90% 10%, rgba(70,215,232,.18), transparent 60%), linear-gradient(135deg, #0b1f45, #10306b); color: rgba(255,255,255,1); overflow: hidden; }
.ai-rq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 46px; align-items: center; }
.ai-rq .kicker { color: var(--cyan); }
.ai-rq h2 { color: rgba(255,255,255,1); }
.ai-rq-copy > p { margin: 0 0 22px; color: rgba(255,255,255,0.75); font-size: 16px; line-height: 1.75; }
.ai-rq-feats { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; }
.ai-rq-feats li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); font-size: 14.5px; color: rgba(255,255,255,0.82); }
.ai-rq-feats b { color: var(--cyan); font-size: 14px; }
.ai-rq-link { display: inline-flex; padding: 12px 18px; border-radius: 999px; background: rgba(255,255,255,1); color: #10306b; font-weight: 900; font-size: 14px; }
.ai-rq-link:hover { background: var(--cyan); }
.ai-rq-shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.18); box-shadow: 0 40px 90px rgba(0,0,0,0.45); background: #0a1a3a; transform: perspective(1400px) rotateY(-6deg); transform-origin: left center; }
.ai-rq-shot.visible { transform: perspective(1400px) rotateY(-6deg); }
.ai-rq-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #08142c; border-bottom: 1px solid rgba(255,255,255,0.08); }
.ai-rq-bar span { width: 10px; height: 10px; border-radius: 50%; background: #34456a; }
.ai-rq-bar em { margin-left: 8px; color: rgba(255,255,255,0.5); font: 700 11px/1 ui-monospace, Consolas, monospace; font-style: normal; letter-spacing: .08em; }
.ai-rq-shot img { display: block; width: 100%; height: auto; }

/* ── S4 구현 전 방어 ───────────────────────────────── */
.ai-guards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ai-guards article { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: rgba(255,255,255,1); transition: transform .25s, box-shadow .25s; }
.ai-guards article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ai-guard-tag { padding: 14px 18px 0; color: var(--purple); font-size: 14px; font-weight: 900; letter-spacing: .06em; }
.ai-guards p { margin: 0; padding: 10px 18px 14px 44px; position: relative; font-size: 14.5px; line-height: 1.5; }
.ai-guards p::before { position: absolute; left: 18px; top: 11px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 900; }
.ai-guards .x { color: #8a5a55; text-decoration: line-through; text-decoration-color: rgba(216,74,58,.55); }
.ai-guards .x::before { content: "✕"; background: #ffe4e0; color: #d84a3a; }
.ai-guards .o { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); background: rgba(252.262,249.67,244.17,1); color: rgba(83.373,61.077,13.764,1); font-weight: 700; }
.ai-guards .o::before { content: "✓"; top: 15px; background: var(--green); color: rgba(255,255,255,1); }

/* ── S5 역할 분담 ──────────────────────────────────── */
.ai-roles { display: grid; gap: 10px; }
.ai-roles-row { display: grid; grid-template-columns: 110px repeat(5, 1fr); gap: 10px; }
.ai-roles-row > span { padding: 16px; border-radius: 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.82); font-size: 14px; line-height: 1.5; }
.ai-roles-row.head > span { padding: 4px 6px; background: none; border: 0; color: rgba(255,255,255,0.5); font-size: 14px; font-weight: 900; letter-spacing: .06em; }
.ai-roles-row > [role="rowheader"] { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,1); font-weight: 900; font-size: 15px; background: none; border: 0; }
.ai-roles-row > [role="rowheader"] i { width: 12px; height: 12px; border-radius: 50%; }
.ai-roles-row.ai [role="rowheader"] i { background: linear-gradient(135deg, var(--cyan), var(--purple)); }
.ai-roles-row.dev [role="rowheader"] i { background: var(--green); }
.ai-roles-row em { display: flex; gap: 4px; margin-bottom: 8px; }
.ai-roles-row em::before { content: ""; width: 54px; height: 6px; border-radius: 99px; background: rgba(255,255,255,0.1); }
.ai-roles-row.ai em::before { background: linear-gradient(90deg, var(--cyan) var(--f), rgba(255,255,255,0.1) var(--f)); }
.ai-roles-row.dev em::before { background: linear-gradient(90deg, var(--green) var(--f), rgba(255,255,255,0.1) var(--f)); }
.ai-roles-row em.w1 { --f: 33%; } .ai-roles-row em.w2 { --f: 66%; } .ai-roles-row em.w3 { --f: 100%; }
.ai-roles-row.dev > span[role="cell"]:has(.w3) { border-color: rgba(221.765,185.36,108.11,0.4); background: rgba(221.765,185.36,108.11,0.08); }
.ai-roles-row.ai > span[role="cell"]:has(.w3) { border-color: rgba(70,215,232,.4); background: rgba(70,215,232,.08); }

/* ── S6 수습 ──────────────────────────────────────── */
.ai-rescue { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.ai-rescue .section-head { margin-bottom: 0; }
.ai-rescue-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ai-rescue-steps li { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 16px; padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,1); border: 1px solid var(--line); }
.ai-rescue-steps span { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--navy-900); color: var(--cyan); font-weight: 900; }
.ai-rescue-steps b { font-size: 17px; }
.ai-rescue-steps p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

/* ── S7 FAQ ───────────────────────────────────────── */
.ai-faq { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 40px; align-items: start; }
.ai-faq-list { display: grid; gap: 10px; }
.ai-faq-list details { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,1); }
.ai-faq-list summary { cursor: pointer; padding: 18px 50px 18px 20px; position: relative; font-weight: 800; font-size: 16px; list-style: none; }
.ai-faq-list summary::-webkit-details-marker { display: none; }
.ai-faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--purple); font-size: 22px; }
.ai-faq-list details[open] summary::after { content: "−"; }
.ai-faq-list p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 15px; }

/* ── S8 문의 ──────────────────────────────────────── */
.ai-cta { padding: 70px 0; background: linear-gradient(120deg, #1d2f66, var(--purple) 60%, #954ee8); color: rgba(255,255,255,1); }
.ai-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.ai-cta .kicker { color: rgba(255,255,255,0.7); }
.ai-cta h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 38px); }
.ai-cta p { margin: 0; color: rgba(255,255,255,0.8); }
.ai-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── 반응형 ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .ai-rq { grid-template-columns: 1fr; }
  .ai-rq-shot, .ai-rq-shot.visible { transform: none; }
  .ai-guards { grid-template-columns: repeat(2, 1fr); }
  .ai-loop, .ai-rescue, .ai-faq { grid-template-columns: 1fr; }
  .ai-roles-row.head { display: none; }
  .ai-roles-row { grid-template-columns: repeat(5, 1fr); }
  .ai-roles-row > [role="rowheader"] { grid-column: 1 / -1; }
  .ai-roles-row > span[role="cell"]::before { content: attr(data-step); display: block; margin-bottom: 6px; color: rgba(255,255,255,0.45); font-size: 14px; font-weight: 900; }
}
@media (max-width: 760px) {
  .ai-erd { grid-template-columns: 1fr; }
  .ai-erd-canvas { grid-template-columns: 1fr 44px 1fr; padding: 18px 12px; }
  .ai-erd-tbl { font-size: 14px; }
  .ai-erd-tbl li { padding: 3px 8px; gap: 4px; }
  .ai-erd-tbl li.hot em { display: none; }
  .ai-erd-gap span { font-size: 14px; }
  .ai-erd-side > header small { display: none; }
  .ai-rq-feats li { grid-template-columns: 1fr; gap: 2px; }
  .ai-stages { grid-template-columns: repeat(2, 1fr); }
  .ai-shift-lists { grid-template-columns: 1fr; }
  .ai-shift-arrow { transform: rotate(90deg); justify-self: center; }
  .ai-alloc { padding: 20px 16px; }
  .ai-alloc-row { grid-template-columns: 1fr; gap: 6px; }
  .ai-alloc-bar i { padding: 0 8px; font-size: 14px; }
  .ai-alloc-bar i[data-short] { font-size: 0; }
  .ai-alloc-bar i[data-short]::after { content: attr(data-short); font-size: 14px; }
  .ai-roles-row { grid-template-columns: 1fr 1fr; }
  .ai-chat-body { min-height: 0; padding: 14px; }
  .ai-chat-body li { max-width: 88%; font-size: 14px; }
  .ai-curve { padding: 16px 12px 12px; }
  .ai-curve-legend { display: flex; }
  .ai-curve-lbl, .ai-curve-axis, .ai-curve-loss.sub { display: none; }
  .ai-curve-loss { font-size: 34px; }
  .ai-curve-pintxt { font-size: 34px; }
  .ai-curve-bad, .ai-curve-good { stroke-width: 9; }
  .ai-meter-big { font-size: 60px; }
}
@media (max-width: 480px) {
  .ai-guards, .ai-stages { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-meter-bar i, .ai-alloc-bar i, .ai-curve-bad, .ai-curve-good, .ai-chat-body li { transition: none; }
}

/* ═══ 회사소개 — 내부 인력만으로(외주 인력으로 포트폴리오만 늘리는 업체가 아니다) ═══
   수명 주기 7단계를 원 궤도에 놓고, 가운데에 '내부 개발팀'. 점 하나가 궤도를 천천히 돈다(끝나지 않는 주기). */
.co-inhouse { background: radial-gradient(800px 420px at 85% 50%, rgba(104,87,255,.08), transparent 65%), rgba(255,255,255,1); overflow: hidden; }
.co-ih-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.co-ih-copy .section-head { margin-bottom: 26px; }
html[lang="ko"] .co-ih-copy h2, html[lang="ja"] .co-ih-copy h2 { text-wrap: initial; }
html[lang="ja"] .co-ih-copy h2 { font-size: clamp(24px, 2.5vw, 35px); }
/* 띄어쓰기로 끊는 번역판(en·fr·de·es)은 한국어 기준 줄바꿈을 풀고 폭에 맞춰 흐르게 — 한 단어만 한 줄로 떨어졌다.
   일본어는 줄바꿈을 풀면 사이 공백이 보이고 단어 중간에서 끊겨 한국어처럼 둔다. */
html:not([lang="ko"]):not([lang="ja"]) .co-ih-copy h2 br, html:not([lang="ko"]):not([lang="ja"]) .co-ih-copy br.br-pc { display: none; }
.co-ih-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.co-ih-points li { position: relative; padding: 16px 18px 16px 54px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,1); }
.co-ih-points li::before { content: "✓"; position: absolute; left: 18px; top: 16px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--purple), #2bb7d0); color: rgba(255,255,255,1); font-size: 14px; font-weight: 900; }
.co-ih-points b { display: block; margin-bottom: 3px; font-size: 16px; }
.co-ih-points p { margin: 0; color: var(--muted); font-size: 14.5px; }

.co-ih-ring { --r: 196px; position: relative; width: calc(var(--r) * 2 + 120px); max-width: 100%; aspect-ratio: 1; margin: 0 auto; }
.co-ih-track { position: absolute; inset: 60px; border-radius: 50%; border: 2px dashed #c9cff0; }
.co-ih-track::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; padding: 2px; background: conic-gradient(from -90deg, var(--purple), #2bb7d0, var(--green), var(--purple)); -webkit-mask: linear-gradient(rgba(0,0,0,1) 0 0) content-box, linear-gradient(rgba(0,0,0,1) 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; }
.co-ih-dot { position: absolute; inset: 0; animation: co-ih-orbit 14s linear infinite; }
.co-ih-dot::after { content: ""; position: absolute; left: 50%; top: -7px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 5px rgba(104,87,255,.18), 0 0 18px rgba(104,87,255,.6); }
@keyframes co-ih-orbit { to { transform: rotate(360deg); } }
.co-ih-nodes { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.co-ih-nodes li { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a))); }
.co-ih-nodes span { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,1); border: 1px solid #dcdff5; box-shadow: 0 10px 26px rgba(39,30,140,.10); white-space: nowrap; font-size: 14px; font-weight: 800; color: var(--ink); }
.co-ih-nodes small { color: var(--purple); font: 900 11px/1 ui-monospace, Consolas, monospace; }
/* 번역판(fr·de·es)의 긴 단계 이름은 두 줄로 — 아래쪽 이웃한 이름표끼리 겹쳤다 */
/* 폭 0 인 li 기준으로 절대 위치라 폭을 정하지 않으면 가장 좁게 줄어든다(일본어가 한 글자씩 세로로 끊겼다).
   글자 길이만큼 잡고 150px 를 넘는 번역(fr·es 의 '검수 · 가동')만 두 줄로. */
.co-ih-nodes span { display: inline-block; width: max-content; max-width: 150px; white-space: normal; text-align: center; line-height: 1.25; }
.co-ih-nodes small { margin-right: 6px; }
.co-ih-core { position: absolute; left: 50%; top: 50%; width: 176px; height: 176px; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-content: center; text-align: center; gap: 4px; background: radial-gradient(circle at 30% 25%, #26407a, var(--navy-950)); color: rgba(255,255,255,1); box-shadow: 0 24px 60px rgba(11,23,41,.35), inset 0 0 0 1px rgba(255,255,255,0.08); }
.co-ih-core small { color: var(--cyan); font-size: 14px; font-weight: 900; letter-spacing: .16em; }
.co-ih-core b { font-size: 22px; letter-spacing: -.03em; }
.co-ih-core span { color: rgba(255,255,255,0.62); font-size: 14px; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .co-ih-dot { animation: none; } }
@media (max-width: 1100px) {
  .co-ih-grid { grid-template-columns: 1fr; gap: 34px; }
}
/* 좁은 화면에서는 원 대신 세로 순서로 — 단계 이름이 겹치지 않게 */
@media (max-width: 640px) {
  .co-ih-ring { width: 100%; aspect-ratio: auto; padding: 0 0 0 4px; display: flex; flex-direction: column; }
  .co-ih-track { display: none; }
  .co-ih-core { order: -1; position: relative; left: auto; top: auto; transform: none; width: 100%; height: auto; border-radius: 18px; padding: 18px; margin-bottom: 16px; }
  .co-ih-core span br { display: none; }
  .co-ih-nodes { position: relative; display: grid; gap: 8px; padding-left: 18px; }
  .co-ih-nodes::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; border-left: 2px dashed #c9cff0; }
  .co-ih-nodes li { position: relative; left: auto; top: auto; width: auto; height: auto; transform: none; }
  .co-ih-nodes span { position: relative; transform: none; }
  .co-ih-nodes li::before { content: ""; position: absolute; left: -17px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--purple); }
}

/* ═══ 메인 — Since 2000 띠 ═══════════════════════════════════════
   '오래됐다' 를 말하지 않고 증거를 보인다: 해마다 이어진 실제 수행 이력(연혁 문구 그대로), 업력, 장기 가동, 등록 특허.
   첫 화면과 다음 'What we build' 가 모두 남색이라 이 띠는 밝은 미색으로 끊는다(남색이 세 번 이어져 너무 퍼렇다는 지적).
   뒤에 큰 외곽선 2000, 아래 띠는 연도별 대표 프로젝트가 천천히 흐른다. */
.ix-since { position: relative; overflow: hidden; padding: 60px 0 40px; color: var(--ink); background:
  radial-gradient(900px 420px at 8% 0%, rgba(242,199,92,.22), transparent 60%),
  radial-gradient(800px 380px at 100% 100%, rgba(104,87,255,.07), transparent 60%),
  linear-gradient(180deg, #fbf9f3, #f5f1e6); }
.ix-since-ghost { position: absolute; left: -2vw; top: 18px; font-size: clamp(160px, 22vw, 340px); font-weight: 900; line-height: .9; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(150,110,20,.13); pointer-events: none; user-select: none; }
.ix-since-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ix-since .kicker { color: #b07d12; }
.ix-since h2 { margin: 0 0 14px; color: var(--ink); font-size: clamp(26px, 2.9vw, 40px); line-height: 1.24; letter-spacing: -.035em; text-wrap: initial; }
/* 모바일은 줄바꿈(br-pc)이 빠지므로 고르게 나눈다 — '있습니다.' 만 떨어지지 않게 */
@media (max-width: 760px) { .ix-since h2 { text-wrap: balance; } }
.ix-since-head p { margin: 0 0 20px; color: rgba(107.371,99.103,81.56,1); font-size: 16px; line-height: 1.75; }
.ix-since-link { color: var(--purple); font-weight: 800; font-size: 14.5px; }
.ix-since-link:hover { color: var(--ink); }
.ix-since-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-radius: 22px; overflow: hidden; background: #e6dfcc; border: 1px solid #e6dfcc; box-shadow: 0 24px 60px rgba(90,70,20,.10); }
.ix-since-facts > div { padding: 22px 24px 20px; background: #fffdf8; }
.ix-since-facts dt { margin-bottom: 8px; color: #9a7a2e; font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.ix-since-facts dd { margin: 0; }
.ix-since-facts b { display: block; margin-bottom: 6px; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; letter-spacing: -.04em;
  background: linear-gradient(90deg, var(--navy-900), #8a5a00); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ix-since-facts b i { font-style: normal; }
html:not([lang="ko"]):not([lang="ja"]) .ix-since-facts b i { margin-right: .22em; }
.ix-since-facts span { display: block; color: rgba(107.371,99.103,81.56,1); font-size: 14px; line-height: 1.5; }
.ix-since-ribbon { position: relative; display: block; overflow: hidden; margin-top: 32px; color: inherit;
  mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,1) 6%, rgba(0,0,0,1) 94%, transparent); }
.ix-since-rail { display: flex; width: max-content; }
.ix-since-track { display: flex; gap: 12px; margin: 0; padding: 0 12px 0 0; list-style: none; animation: ix-since-flow 150s linear infinite; }
.ix-since-ribbon:hover .ix-since-track { animation-play-state: paused; }
.ix-since-track li { display: flex; align-items: center; gap: 12px; max-width: 460px; padding: 12px 18px 12px 14px; border-radius: 14px;
  background: rgba(255,255,255,1); border: 1px solid #ebe4d2; box-shadow: 0 6px 16px rgba(90,70,20,.06); }
.ix-since-track b { flex: none; padding: 4px 9px; border-radius: 8px; background: #fff1cc; color: #8a5a00; font-size: 14px; font-weight: 900; letter-spacing: .02em; }
.ix-since-track span { color: var(--ink); font-size: 14px; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes ix-since-flow { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ix-since-track { animation: none; } .ix-since-ribbon { overflow-x: auto; } }
@media (max-width: 980px) {
  .ix-since-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .ix-since { padding: 64px 0 44px; }
  .ix-since-facts > div { padding: 18px 16px; }
  .ix-since-track li { max-width: 300px; }
  .ix-since-track span { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* ═══ 메인 — 여백 전체 축소 ═══
   사용자: "각 블럭간 margin height 를 좀 줄여보자. 너무 ai 스럽다." → "메인페이지 전체에서 좀 줄여보자고 margin 을"
   블록 사이만이 아니라 첫 화면 높이, 제목 아래, 카드 사이·카드 안쪽까지 함께 줄인다. 메인에만 적용. */
body[data-page="index.html"] .hero { min-height: 560px; }
body[data-page="index.html"] .hero-grid { padding: 108px 0 44px; }
body[data-page="index.html"] .hero h1 { margin: 16px 0 12px; }
body[data-page="index.html"] .hero-actions { margin-top: 20px; }
body[data-page="index.html"] .hero-metrics { margin-top: 24px; }
body[data-page="index.html"] .section { padding: 44px 0; }
body[data-page="index.html"] .section-head { margin-bottom: 20px; }
body[data-page="index.html"] .section h2 { margin-bottom: 10px; }
body[data-page="index.html"] .ix-since { padding: 44px 0 32px; }
body[data-page="index.html"] .ix-since-ribbon { margin-top: 24px; }
body[data-page="index.html"] .ix-since-facts > div { padding: 18px 20px 16px; }
body[data-page="index.html"] .ix-build-cards { gap: 12px; }
body[data-page="index.html"] .ix-build-cards .card { padding: 20px; }
body[data-page="index.html"] .clients-section { padding: 40px 0; }
body[data-page="index.html"] .clients-heading { margin-bottom: 22px; }
body[data-page="index.html"] .ix-marquee, body[data-page="index.html"] .ix-row { gap: 10px; }
body[data-page="index.html"] .ix-reviews { gap: 14px; }
body[data-page="index.html"] .ix-rv { padding: 24px 22px 20px; }
body[data-page="index.html"] .ix-rv .review-quote { height: 28px; }
body[data-page="index.html"] .ix-rv blockquote { margin: 10px 0 16px; }
body[data-page="index.html"] .ix-rv footer { padding-top: 12px; }
body[data-page="index.html"] .ix-stories { gap: 10px; margin-top: 26px; }
body[data-page="index.html"] .ix-story { padding: 24px 30px; gap: 30px; grid-template-columns: 170px minmax(0,1fr); }
body[data-page="index.html"] .ix-story:nth-child(even) { grid-template-columns: minmax(0,1fr) 170px; }
body[data-page="index.html"] .ix-story-no { font-size: 96px; }
body[data-page="index.html"] .ix-story h3 { margin-bottom: 8px; }
body[data-page="index.html"] .ix-benefit-panel { margin-top: 30px; padding: 26px 26px 22px; }
body[data-page="index.html"] .ix-benefit-head { margin-bottom: 16px; }
body[data-page="index.html"] .ix-cta { padding: 32px 0; }
@media (max-width: 760px) {
  body[data-page="index.html"] .section { padding: 36px 0; }
  body[data-page="index.html"] .hero-grid { padding: 96px 0 36px; }
  body[data-page="index.html"] .ix-story { padding: 20px 18px; }
}

/* ═══ 회사소개 — 납품 후 관리(담당자가 사라지면 생기는 일 → 비밥의 답) ═══
   사용자: '프로그램은 납품 후 관리가 진짜 시작입니다', '납품 후 담당자가 없어져서 유지보수가 어렵다는 일이 있어선 안 된다' — 약간의 공포감.
   위험은 붉은 경고 톤 카드 4장, 답은 그 아래 초록 체크 3개. 수치는 쓰지 않는다. */
.co-after { background: radial-gradient(900px 420px at 85% 0%, rgba(255,90,70,.13), transparent 60%), var(--navy-950); }
.co-after-head { max-width: 860px; margin-bottom: 30px; }
.co-after-head h2 { margin: 0 0 14px; color: rgba(255,255,255,1); text-wrap: initial; }
.co-after-head p { margin: 0; color: rgba(255,255,255,0.7); font-size: 16.5px; line-height: 1.8; }
.co-after-label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: #ff9d8f; font-size: 15px; font-weight: 900; }
.co-after-label i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #ff6b5b; color: rgba(255,255,255,1); font-style: normal; font-size: 14px; font-weight: 900; box-shadow: 0 0 0 5px rgba(255,107,91,.18); }
.co-after-label.is-ok { color: rgba(235.983,205.911,142.1,1); }
.co-after-label.is-ok i { background: var(--green); box-shadow: 0 0 0 5px rgba(221.765,185.36,108.11,0.18); }
.co-after-risk ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: risk; }
.co-after-risk li { position: relative; padding: 20px 20px 18px; border-radius: 16px; background: linear-gradient(180deg, rgba(255,107,91,.12), rgba(255,107,91,.04)); border: 1px solid rgba(255,107,91,.28); }
.co-after-risk li::before { counter-increment: risk; content: "0" counter(risk); display: block; margin-bottom: 8px; color: #ff8a7a; font: 900 12px/1 ui-monospace, Consolas, monospace; letter-spacing: .08em; }
.co-after-risk li b { display: block; margin-bottom: 6px; color: rgba(255,255,255,1); font-size: 17px; letter-spacing: -.02em; }
.co-after-risk li p { margin: 0; color: rgba(255,255,255,0.66); font-size: 14px; line-height: 1.6; }
.co-after-answer { margin-top: 26px; padding-top: 24px; border-top: 1px dashed rgba(255,255,255,0.16); }
.co-after-answer ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.co-after-answer li { padding: 18px 20px; border-radius: 16px; background: rgba(221.765,185.36,108.11,0.08); border: 1px solid rgba(221.765,185.36,108.11,0.28); }
.co-after-answer li b { display: block; margin-bottom: 6px; color: rgba(255,255,255,1); font-size: 16px; letter-spacing: -.02em; }
.co-after-answer li p { margin: 0; color: rgba(255,255,255,0.66); font-size: 14px; line-height: 1.6; }
html:not([lang="ko"]):not([lang="ja"]) .co-after-head br.br-pc { display: none; }
@media (max-width: 1100px) {
  .co-after-risk ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-after-answer ul { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .co-after-risk ol { grid-template-columns: 1fr; }
}
