:root {
  color-scheme: light;
  --paper: #f6f8fb;
  --paper-2: #e8eef5;
  --white: #ffffff;
  --ink: #04213e;
  --ink-2: #4a5b70;
  --ink-3: #66758a;
  --line: #d6deea;
  --river: #1f66b0;
  --river-2: #25b0cc;
  --deep: #0e233e;
  --accent: #1f66b0;
  --cover-blue: #e9edf2;
  --cover-warm: #eeece8;
  --cover-ivory: #f4f2eb;
  --cover-cool: #eaecef;
  --cover-mist: #edf0f3;
  --cover-line: rgba(4, 33, 62, .055);
  --seal: #b83a1b;   /* 오류·필수 표시 전용 */
  --serif: "Gowun Batang", "Apple SD Gothic Neo", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.75 var(--sans);
  word-break: keep-all; overflow-wrap: break-word;
}
h1, h2, h3 { margin: 0; line-height: 1.25; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; }
p, ul, ol, dl, dd, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
/* 내용이 짧아도 하단이 화면 맨 아래에 오도록 */
body:not(.admin) { display: flex; flex-direction: column; min-height: 100vh; }
body:not(.admin) > main { flex: 1 0 auto; display: flex; flex-direction: column; }
body:not(.admin) > main > * { flex: none; }
body:not(.admin) > main > .cta { margin-top: auto; }  /* 내용이 짧아도 의뢰 칸은 하단에 붙임 */
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 30; }
.skip:focus { left: 8px; }

/* 머리글 */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(246, 248, 251, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo-img { height: 72px; width: auto; flex: none; }
.logo-ko { padding-left: 12px; border-left: 1px solid var(--ink-3); font: 600 17px/1.3 var(--sans); color: var(--ink); white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: 18px; padding: 6px 0; }
.site-nav a:not(.nav-cta):hover, .site-nav a[aria-current]:not(.nav-cta) { color: var(--river); box-shadow: 0 2px 0 var(--river); }
.nav-cta { background: var(--ink); color: var(--paper); padding: 9px 18px !important; border-radius: 4px; }
.nav-cta:hover { background: var(--river); }
.nav-toggle { display: none; background: none; border: 1px solid var(--ink); border-radius: 4px; padding: 6px 14px; font: 500 15px var(--sans); color: var(--ink); cursor: pointer; }

/* 버튼 */
.btn { display: inline-block; padding: 14px 28px; border-radius: 4px; border: 1.5px solid transparent; font: 600 17px var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #174f8c; }
.btn-primary:disabled { opacity: .6; cursor: progress; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.more { color: var(--river); font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }

.eyebrow { font-size: 15px; font-weight: 600; color: var(--river); margin-bottom: 18px; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.7; color: var(--ink-2); max-width: 44em; margin-top: 24px; }

/* 첫 화면 */
.hero { position: relative; overflow: hidden; padding-bottom: 270px; }
.hero-inner { position: relative; z-index: 1; padding-top: clamp(64px, 9vw, 120px); }
.hero h1 { font-size: clamp(50px, 8.6vw, 112px); line-height: 1.12; letter-spacing: -.035em; }
.river { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 240px; }
.river path { fill: none; stroke: var(--river); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: calc(.28 + var(--i) * .09); }
.river-flow { width: 112%; max-width: none; left: -6%; right: auto; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateX(-3%); } to { transform: translateX(3%); } }

/* 섹션 공통 */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tight { padding-bottom: clamp(64px, 9vw, 112px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
h2 { font-size: clamp(30px, 4vw, 44px); }

/* 서비스 줄 목록 */
.service-rows { border-top: 2px solid var(--ink); }
.service-rows li { border-bottom: 1px solid var(--line); }
.service-rows a { display: grid; grid-template-columns: 56px minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: baseline; padding: 26px 8px; text-decoration: none; transition: background .15s, padding .15s; }
.service-rows a:hover { background: var(--white); padding-left: 18px; }
.service-rows strong { font: 700 clamp(21px, 2.5vw, 27px)/1.35 var(--serif); letter-spacing: -.01em; }
.service-rows .desc { color: var(--ink-2); }
.num { font: 500 15px var(--mono); color: var(--accent); }

/* 어두운 띠: 전환 사례 */
.band-dark { background: var(--deep); color: #e6ebf3; padding-block: clamp(64px, 9vw, 112px); }
.band-dark .eyebrow { color: #6fd0e6; }
.band-dark h2 { color: #fff; margin-bottom: 24px; }
.band-dark p { max-width: 32em; }
.band-dark .btn { margin-top: 32px; }
.migrate { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.migrate-side { min-width: 0; }
.code-compare { background: #071a30; border: 1px solid #27415f; border-radius: 6px; padding: 22px 24px; }
.code-label { font-size: 14px; font-weight: 600; color: #9fb0c6; margin-bottom: 8px; }
pre + .code-label { margin-top: 20px; }
pre { overflow-x: auto; font: 14.5px/1.65 var(--mono); color: #eef2f8; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stats dt { font-size: 14.5px; color: #a9b9cd; line-height: 1.4; }
.stats dd { font: 700 clamp(32px, 4vw, 46px)/1.2 var(--serif); color: #fff; margin-top: 6px; }
.stats small { font-size: .45em; font-weight: 400; margin-left: 2px; }

/* 포트폴리오 카드 */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 32px; }
.work-card { display: flex; flex-direction: column; min-width: 0; text-decoration: none; }
.work-cover { aspect-ratio: 2 / 1; overflow: hidden; border: 1px solid var(--line); border-radius: 2px; background: var(--paper-2); }
.work-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .35s; }
.work-card:hover .work-cover img { transform: scale(1.03); }
.work-card:hover h3 { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.work-meta { font-size: 14px; color: var(--ink-3); margin-top: 16px; }
.work-card h3 { font: 700 21px/1.4 var(--serif); margin-top: 4px; letter-spacing: -.01em; }
.work-tech { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.work-summary { color: var(--ink-2); font-size: 16px; line-height: 1.65; margin-top: 8px; }

/* 진행 절차 */
.process h2 { margin-bottom: 40px; }
.process ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.process li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 18px; }
.process li::before { content: "0" counter(step); font: 500 15px var(--mono); color: var(--accent); display: block; margin-bottom: 10px; }
.process strong { font: 700 21px var(--serif); }
.process p { color: var(--ink-2); font-size: 16px; margin-top: 8px; }

.cta { background: var(--paper-2); padding-block: clamp(48px, 7vw, 80px); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(25px, 3.4vw, 36px); }

/* 하위 페이지 */
.page-head { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(40px, 6vw, 64px); }
.page-head h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.18; letter-spacing: -.03em; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.jump a { border: 1px solid var(--line); border-radius: 4px; padding: 6px 14px; font-size: 15px; font-weight: 500; text-decoration: none; }
.jump a:hover { border-color: var(--ink-3); }
.jump small { font-size: 12.5px; opacity: .65; }
.jump a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.about-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 72px); }
.about-grid h2 { font-size: clamp(26px, 3vw, 34px); }
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-size: 23px; margin: 2.2em 0 .6em; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-top: .6em; }
.prose ul + p { margin-top: .9em; }
.doc { max-width: 800px; }
.doc .prose { margin-top: 32px; }
.principles { display: grid; gap: 24px; }
.principles strong { font: 700 21px var(--serif); }
.principles p { color: var(--ink-2); margin-top: 4px; }
.about-sub { font: 700 20px/1.4 var(--serif); margin: 28px 0 6px; }
.info-table { display: grid; grid-template-columns: 150px minmax(0, 1fr); }
.info-table dt, .info-table dd { padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-table dt { color: var(--ink-3); font-size: 16px; }

/* 서비스 상세 */
.service { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 72px); }
.service-title h2 { font-size: clamp(27px, 3.4vw, 38px); margin-top: 8px; }
.service-title p { color: var(--ink-2); margin: 16px 0 20px; }
.service-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-content: start; }
.service-detail h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.service-detail li { font-size: 16px; line-height: 1.6; color: var(--ink-2); padding-left: 16px; position: relative; margin-bottom: 8px; }
.service-detail > div li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 1.5px; background: var(--river); }
.tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.service-detail .tags li { padding: 2px 10px; margin: 0; font-size: 14px; background: var(--paper-2); border-radius: 3px; color: var(--ink); }

/* 포트폴리오 상세 */
.work-detail { padding-top: 40px; padding-bottom: clamp(56px, 8vw, 96px); max-width: 900px; }
.work-detail .eyebrow { margin-top: 32px; }
.work-detail h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.03em; }
.work-facts { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 32px; padding-block: 18px; border-block: 1px solid var(--line); }
.work-facts dt { font-size: 14px; color: var(--ink-3); }
.work-facts dd { font-weight: 500; }
.work-hero { height: clamp(140px, 22vw, 240px); margin-top: 32px; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.work-images { display: grid; gap: 16px; margin-top: 32px; }
.work-images img { width: 100%; border-radius: 4px; border: 1px solid var(--line); }
.work-detail .prose { margin-top: 36px; max-width: 42em; }
.empty { color: var(--ink-3); padding: 32px 0; }
.pager { justify-content: center; margin-top: 48px; }

/* 의뢰 폼 */
.contact-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.inquiry { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.req { color: var(--seal); font-size: 13px; font-weight: 600; margin-left: 4px; }
input[type=text], input:not([type]), input[type=tel], input[type=email], input[type=password], input[type=number], input[type=url], select, textarea {
  width: 100%; padding: 12px 14px; font: 400 17px/1.5 var(--sans); color: var(--ink);
  background: var(--white); border: 1px solid #a3aebd; border-radius: 4px;
}
input:focus, select:focus, textarea:focus { border-color: var(--river); outline: 2px solid var(--river); outline-offset: 0; }
::placeholder { color: var(--ink-3); }
textarea { resize: vertical; }
[aria-invalid="true"] { border-color: var(--seal) !important; }
.field-error { color: var(--seal); font-size: 15px; margin-top: 6px; font-weight: 500; }
.form-error { background: #f8e6df; color: #7f2810; border-left: 4px solid var(--seal); padding: 12px 16px; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { background: var(--paper-2); padding: 20px 22px; border-radius: 4px; font-size: 15.5px; }
.consent ul { list-style: disc; padding-left: 1.2em; margin: 6px 0; }
.consent-note { color: var(--ink-2); font-size: 14.5px; }
.check { display: flex; gap: 10px; align-items: center; margin-top: 12px; font-weight: 600; font-size: 16px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--river); flex: none; }
.btn-submit { justify-self: start; min-width: 200px; }
.contact-side { position: sticky; top: 100px; border-top: 2px solid var(--ink); padding-top: 22px; }
.contact-side h2 { font-size: 22px; margin-bottom: 12px; }
.contact-side dl { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 8px; margin-bottom: 36px; }
.contact-side dt { color: var(--ink-3); }
.contact-side li { color: var(--ink-2); font-size: 16px; margin-bottom: 6px; }
.receipt { margin-top: 24px; font-size: 18px; }
.receipt strong { font-family: var(--mono); }

/* 바닥글 */
.site-footer { background: #303431; color: #e8e9e7; padding-block: 44px 24px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 28px 56px; align-items: start; }
.footer-name { font: 700 22px/1.3 var(--sans); letter-spacing: -.02em; color: #fff; }
.footer-since { margin-top: 6px; color: #b8bfba; }
.footer-info { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 4px 8px; }
.footer-info dt { color: #b8bfba; }
.footer-links li { margin-bottom: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-copy { margin-top: 32px; padding-top: 16px; border-top: 1px solid #555b57; color: #b8bfba; font-size: 14px; }

@media (max-width: 960px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .migrate, .contact-grid, .service { grid-template-columns: minmax(0, 1fr); }
  .contact-side { position: static; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .only-wide { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 62px; }
  .logo-img { height: 52px; }
  .logo-ko { font-size: 14px; font-weight: 500; }
  .site-nav a { font-size: 16px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 4px; }
  .site-nav a[aria-current]:not(.nav-cta) { box-shadow: none; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .hero { padding-bottom: 170px; }
  .river { height: 150px; }
  .service-rows a { grid-template-columns: 36px minmax(0, 1fr); padding-inline: 0; }
  .service-rows a:hover { padding-left: 0; }
  .service-rows .desc { grid-column: 2; }
  .about-grid, .work-grid, .field-row, .service-detail { grid-template-columns: minmax(0, 1fr); }
  .stats { gap: 10px; }
  .process ol { grid-template-columns: minmax(0, 1fr); }
  .info-table { grid-template-columns: 110px minmax(0, 1fr); }
  .btn { padding-inline: 22px; }
  .cta-inner .btn, .btn-submit { width: 100%; text-align: center; }
  pre { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .cta { display: none; }
}

/* 포트폴리오 디자인 */
.work-grid { gap: 22px; }
.work-card { border: 1px solid #dce7f1; border-radius: 10px; overflow: hidden; background: var(--white); box-shadow: 0 4px 15px rgba(13, 66, 97, .05); transition: box-shadow .15s, border-color .15s; }
.work-card:hover { border-color: #b9d3e6; box-shadow: 0 6px 20px rgba(13, 66, 97, .12); }
.work-cover { aspect-ratio: auto; height: 170px; flex: none; border: 0; border-bottom: 1px solid #e5edf5; border-radius: 0; }
.work-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 16px; }
.work-meta { margin-top: 0; font-size: 13.5px; font-weight: 700; color: var(--accent); }
.work-card h3 { margin-top: 8px; font: 700 18px/1.4 var(--sans); letter-spacing: -.02em; }
.work-card:hover h3 { text-decoration: none; }
.work-summary { flex: 1; margin-top: 8px; font-size: 15px; line-height: 1.65; }
.work-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.work-tech { margin: 0; padding: 0; font-size: 13.5px; font-weight: 600; color: #31506d; }
.work-arrow { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 1.5px solid #8aa2b5; border-radius: 50%; font-size: 15px; line-height: 1; color: #31506d; transition: background .15s, color .15s, border-color .15s; }
.work-card:hover .work-arrow { background: var(--accent); border-color: var(--accent); color: #fff; }

.cover-art { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.cover-system, .cover-medical { background: linear-gradient(135deg, #f4f9ff, #b5d9ed); }
.cover-own, .cover-public { background: linear-gradient(130deg, #d5e8f5, #fff); }
.cover-ops { background: linear-gradient(135deg, #061d37, #164c75); }
.cover-corp { background: radial-gradient(circle at 70% 20%, #1d90c3, #06335f 75%); }
.cover-shop { background: linear-gradient(130deg, #f5d7b6, #fdf5eb); }
.cover-booking, .cover-edu { background: linear-gradient(120deg, #e4edf5, #c8e5f5); }
.cover-icon { width: 76px; height: 76px; fill: none; stroke: #1685bb; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.cover-shop .cover-icon { stroke: #b96a23; }
.cover-bars { display: flex; align-items: flex-end; gap: 13px; height: 56%; }
.cover-bars i { width: 24px; background: #2d8bc4; border-radius: 4px 4px 0 0; }
.cover-bars i:nth-child(1) { height: 35%; }
.cover-bars i:nth-child(2) { height: 67%; }
.cover-bars i:nth-child(3) { height: 52%; }
.cover-bars i:nth-child(4) { height: 92%; }
.cover-bars i:nth-child(5) { height: 72%; }
.cover-window { display: block; width: 62%; padding: 0 10px 10px; background: #fff; border: 1px solid #7ba5c5; box-shadow: 5px 7px 14px rgba(35, 78, 117, .19); }
.cover-window b { display: block; height: 14px; margin: 0 -10px 8px; background: #2d7caf; }
.cover-window i { display: block; height: 7px; margin-top: 7px; background: #dceaf4; }
.cover-code { font: 12.5px/1.7 var(--mono); color: #8ce2eb; }
.cover-brand { display: block; width: 62%; height: 62%; background: url("../img/logo-white.webp") center / contain no-repeat; }
.work-hero { height: clamp(160px, 24vw, 260px); }

.pf-hero { position: relative; overflow: hidden; background: linear-gradient(112deg, #e6f4ff 0%, #c8e6fc 46%, #f8fcff 68%, #d3e7ed 100%); }
.pf-hero::after { content: ""; position: absolute; bottom: -70px; left: -5%; width: 115%; height: 130px; background: rgba(255, 255, 255, .64); border-radius: 50% 50% 0 0; transform: rotate(-3deg); }
.pf-hero-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 285px; }
.pf-eyebrow { font-size: 15px; font-weight: 800; color: #186eaa; }
.pf-hero h1 { margin: 12px 0; font: 800 clamp(38px, 6vw, 68px)/1.18 var(--sans); letter-spacing: -.04em; color: #082849; }
.pf-lead { font-size: clamp(18px, 2vw, 21px); font-weight: 600; line-height: 1.7; color: #27587c; }
.pf-desk { flex: none; align-self: flex-end; position: relative; width: 40%; max-width: 440px; height: 210px; }
.pf-screen { position: absolute; right: 8%; bottom: 37px; width: 76%; height: 155px; background: #0d2945; border: 9px solid #253d53; border-radius: 10px 10px 4px 4px; box-shadow: 14px 15px 35px rgba(91, 156, 189, .29); transform: skew(-4deg); }
.pf-screen::before { content: "< / >   function build() {\A  const web = \"better\";\A  return web;\A }"; position: absolute; inset: 14px 16px; white-space: pre; font: 12px/1.9 var(--mono); color: #8be1ed; overflow: hidden; }
.pf-screen::after { content: ""; position: absolute; left: -7%; bottom: -17px; width: 115%; height: 9px; background: #8fa4b6; border-radius: 3px; }
.pf-services { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 30px; }
.pf-services li { display: flex; align-items: center; justify-content: center; gap: 12px; border-right: 1px solid #dce6ee; padding-inline: 8px; }
.pf-services li:last-child { border-right: 0; }
.pf-services span { font-size: 28px; font-weight: 800; color: #1d6eaa; white-space: nowrap; }
.pf-services strong { display: block; font-size: 17px; line-height: 1.4; }
.pf-services small { display: block; margin-top: 3px; font-size: 15px; color: var(--ink-3); }
.pf-filters { display: flex; align-items: flex-start; gap: 18px; padding: 15px 18px; background: #f0f5fa; border: 1px solid #e0e9f2; border-radius: 10px; }
.pf-filter-label { flex: none; padding-top: 7px; font-size: 15px; font-weight: 800; color: #193b5b; }
.pf-filters .jump { flex: 1; min-width: 0; gap: 7px; margin-top: 0; }
.pf-filters .jump a { padding: 6px 11px; font-size: 14px; font-weight: 600; color: #344e69; background: var(--white); border-color: #d7e1eb; border-radius: 6px; box-shadow: 0 2px 5px rgba(22, 60, 91, .04); }
.pf-filters .jump a:hover { border-color: #3184bf; }
.pf-filters .jump a[aria-current] { color: #fff; background: linear-gradient(#1979b6, #07518d); border-color: #176da7; }
.pf-filters .jump a[aria-current] small { color: #d6efff; opacity: 1; }
.pf-notice { margin: 16px 0 14px; font-size: 14px; color: var(--ink-3); }
.pf-list { padding-bottom: clamp(48px, 7vw, 72px); }
.cta { background: linear-gradient(170deg, #e9f6ff, #cbe5fb); }
.cta-text { margin-top: 10px; font-size: 15px; line-height: 1.7; color: #28608a; }

@media (max-width: 960px) {
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-services { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .pf-services li:nth-child(2n) { border-right: 0; }
  .pf-services li { justify-content: flex-start; }
  .pf-desk { width: 34%; opacity: .6; }
  .pf-filters { display: block; }
  .pf-filter-label { padding: 0 0 10px; }
}
@media (max-width: 560px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .pf-desk { display: none; }
  .pf-hero-inner { min-height: 210px; }
  .pf-services li { padding-inline: 4px; }
  .pf-services span { font-size: 21px; }
  .pf-services strong { font-size: 15px; letter-spacing: -.03em; }
  .pf-services small { font-size: 13px; }
}

@media (max-width: 360px) {
  .logo-ko { display: none; }
}

@media (min-width: 721px) and (max-width: 900px) {
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 16px; }
  .logo-ko { display: none; }
}

/* 페이지 상단 공통 */
.pf-hero-inner { padding-block: 44px; }
.pf-desk { margin-bottom: -44px; }
.pf-services a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.pf-services a:hover strong { color: var(--accent); }
.pf-services.cols-5 { grid-template-columns: repeat(5, 1fr); }
.pf-services.cols-5 strong { font-size: 16px; }
.pf-services.cols-5 small { font-size: 14px; }
.pf-services.cols-5 span { font-size: 24px; }
.pf-hero-main .pf-hero-inner { min-height: 400px; padding-block: 48px; }
.pf-hero-main h1 { font-size: clamp(44px, 7vw, 84px); line-height: 1.12; }
.pf-hero-main .actions { margin-top: 28px; }
.pf-hero-doc .pf-hero-inner { min-height: 200px; padding-block: 40px; }
.pf-hero-doc h1 { font-size: clamp(32px, 4.6vw, 52px); }
.pf-doc { padding-block: 16px clamp(56px, 8vw, 96px); }
.pf-lead { max-width: 34em; }
@media (max-width: 1100px) {
  .pf-services.cols-5 { grid-template-columns: repeat(3, 1fr); gap: 18px 0; }
  .pf-services.cols-5 li { border-right: 0; justify-content: flex-start; }
}
@media (max-width: 860px) {
  .pf-services.cols-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pf-hero-inner { padding-block: 32px 44px; }
  .pf-hero-main .pf-hero-inner { min-height: 0; padding-block: 36px; }
  .pf-services.cols-5 strong { font-size: 15px; }
  .pf-services.cols-5 small { font-size: 13px; }
}

/* 알아 두면 좋은 말 */
.terms .jump { margin-top: 36px; }
.term-group { font-size: clamp(23px, 3vw, 30px); margin-top: 56px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.term { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 8px 32px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.term:target { background: var(--paper-2); box-shadow: -12px 0 0 var(--paper-2), 12px 0 0 var(--paper-2); }
.term h3 { font: 700 19px/1.45 var(--sans, inherit); }
.term p { color: var(--ink-2); line-height: 1.75; }
.term p strong { color: var(--ink); font-weight: 600; }
.term .term-tip { margin-top: 12px; font-size: 15.5px; color: var(--ink-3); }
.term .term-tip strong { display: block; margin-bottom: 2px; color: var(--accent); font-weight: 600; }
.tech-link { text-decoration-style: dotted; text-underline-offset: 3px; }
.tech-link:hover { color: var(--accent); }
.side-note { margin-top: 22px; font-size: 15px; color: var(--ink-3); }
@media (max-width: 760px) {
  .term { grid-template-columns: minmax(0, 1fr); padding-block: 20px; }
}

/* PHP 업그레이드 안내, 자주 묻는 질문 */
.term-group.first { margin-top: 0; }
.more-next { display: block; margin-top: 10px; }
.note-after { margin-top: 20px; }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 14px; }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: 8px; font: 500 15px var(--mono); color: var(--accent); }
.steps strong { font: 700 20px var(--serif); }
.steps p { margin-top: 6px; font-size: 16px; color: var(--ink-2); }
.principles code { font: 500 .92em var(--mono); }
@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}
