/* ─────────────────────────────────────────────────────────────────────────────
   erp-showcase.css — CONDERI ERP · EDU 소개 페이지 전용 스타일.
   www 스타일시트(styles.css)는 다른 작업이 동시에 만지고 있어 건드리지 않고,
   토큰·타이포만 맞춘 독립 시트로 만든다. 라이트/블랙 두 테마 모두 대응한다.
   4px 리듬 · WCAG AA 대비 · 1440/1280/390/375 반응형.
   ───────────────────────────────────────────────────────────────────────────── */

:root {
  --bg: #f7f5f0;
  --bg-2: #efece4;
  --surface: #ffffff;
  --surface-2: #f3f1ec;
  --ink: #17171a;
  --ink-2: #4a4a52;
  --ink-3: #64646f;
  --line: rgba(23, 23, 26, 0.12);
  --line-2: rgba(23, 23, 26, 0.2);
  --accent: #1f3f8f;
  --accent-soft: rgba(31, 63, 143, 0.08);
  --ok: #1f6b4a;
  --warn: #8a5a14;
  --radius: 12px;
  --shadow: 0 20px 60px rgba(23, 23, 26, 0.1);
  --font: "Paperlogy", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  --mono: "SFMono-Regular", ui-monospace, "Cascadia Mono", monospace;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #0c0d10;
  --bg-2: #121419;
  --surface: #14161b;
  --surface-2: #1a1d24;
  --ink: #f1f2f4;
  --ink-2: #b9bcc4;
  --ink-3: #9398a3;
  --line: rgba(241, 242, 244, 0.12);
  --line-2: rgba(241, 242, 244, 0.22);
  --accent: #9db4ff;
  --accent-soft: rgba(157, 180, 255, 0.12);
  --ok: #6fce9f;
  --warn: #e3b273;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

.skip {
  position: absolute; left: -9999px; top: 0; padding: 8px 12px;
  background: var(--accent); color: var(--bg); border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; z-index: 100; }

/* ── 헤더 ────────────────────────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; gap: 16px; height: 64px; }
/* 공식 원본 로고 파일만 쓴다: /assets/brand/CONDERI_logo_ink.svg(밝은 배경) ·
   CONDERI_logo_white.svg(어두운 배경). 두 파일은 같은 viewBox · 같은 도형이라 테마를 바꿔도
   크기와 위치가 흔들리지 않는다. 재드로잉·텍스트 합성 없이 원본 파일을 그대로 표시하고,
   비율 보존을 위해 높이만 지정한다(너비는 원본 비율). */
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; letter-spacing: 0.02em; }
.brand-logo { display: block; height: 30px; width: auto; }
.brand-logo--foot { height: 34px; }
.brand-logo--white { display: none; }
html[data-theme="dark"] .brand-logo--ink { display: none; }
html[data-theme="dark"] .brand-logo--white { display: block; }
.top__nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.top__nav a {
  text-decoration: none; font-size: 14px; color: var(--ink-2);
  padding: 8px 12px; border-radius: 8px;
}
.top__nav a:hover { background: var(--surface-2); color: var(--ink); }
.top__nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-2);
}
.icon-btn:hover { border-color: var(--line-2); color: var(--ink); }
.icon-btn svg { width: 16px; height: 16px; }

/* ── 히어로 ──────────────────────────────────────────────────────────────── */
.pdp-hero { padding: 72px 0 48px; border-bottom: 1px solid var(--line); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3); margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--line-2); }
h1 { margin: 0 0 16px; font-size: 44px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
.hero__lead { margin: 0 0 24px; font-size: 18px; line-height: 1.7; color: var(--ink-2); max-width: 46em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
}
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { opacity: 0.88; }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--surface-2); }
.btn svg { width: 16px; height: 16px; }

.pdp-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pdp-facts li { border-top: 1px solid var(--line); padding-top: 12px; font-size: 13px; color: var(--ink-3); }
.pdp-facts b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; font-weight: 600; }

/* ── 섹션 ────────────────────────────────────────────────────────────────── */
.pdp-sec { padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.section__head { max-width: 46em; margin-bottom: 32px; }
.section__num { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.08em; }
h2 { margin: 8px 0 12px; font-size: 30px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }
.section__lead { margin: 0; color: var(--ink-2); font-size: 16px; }

.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.card p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.card__label { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.08em; display: block; margin-bottom: 12px; }

/* ── 화면 소개 ────────────────────────────────────────────────────────────── */
.screen { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; align-items: start; padding: 40px 0; border-top: 1px solid var(--line); }
.screen:first-of-type { border-top: 0; padding-top: 0; }
.screen--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.screen--flip .screen__shot { order: 2; }
.shot {
  margin: 0; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 8px 12px; font-size: 12px; color: var(--ink-3); border-top: 1px solid var(--line); }
.screen__body { padding-top: 8px; }
.screen__kicker { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.06em; }
.screen h3 { margin: 8px 0 12px; font-size: 22px; line-height: 1.35; font-weight: 700; }
.screen p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }
.pdp-ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pdp-ticks li { position: relative; padding-left: 20px; font-size: 14px; color: var(--ink-2); }
.pdp-ticks li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px;
  border-radius: 2px; background: var(--accent-soft); border: 1px solid var(--accent);
}

/* ── 결재 흐름 ────────────────────────────────────────────────────────────── */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.flow li { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--surface); }
.flow b { display: block; font-size: 14px; margin-bottom: 8px; }
.flow span { font-size: 13px; color: var(--ink-2); }
.flow em { font-family: var(--mono); font-style: normal; font-size: 11px; color: var(--ink-3); display: block; margin-bottom: 8px; }

/* ── 표 ──────────────────────────────────────────────────────────────────── */
.table-scroll { overflow-x: auto; min-width: 0; max-width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; color: var(--ink-3); font-weight: 600; letter-spacing: 0.02em; background: var(--surface-2); }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tick { color: var(--ok); font-weight: 600; }
.cross { color: var(--ink-3); }

/* ── 요금 ────────────────────────────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.plan {
  display: flex; flex-direction: column; gap: 16px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.plan--lead { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan__name { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 15px; font-weight: 600; }
.plan__badge { font-size: 11px; font-family: var(--mono); color: var(--accent); border: 1px solid var(--accent); border-radius: 4px; padding: 2px 6px; }
.plan__price { font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.plan__price small { font-size: 14px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.plan__note { font-size: 12px; color: var(--ink-3); margin: -8px 0 0; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.plan li { position: relative; padding-left: 20px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-size: 12px; top: 2px; }
.plan .btn { margin-top: auto; justify-content: center; }

.zero {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  background: var(--accent-soft); border: 1px solid var(--accent); border-radius: var(--radius);
  padding: 16px 20px; margin: 0 0 24px;
}
.zero b { font-size: 20px; }
.zero span { font-size: 14px; color: var(--ink-2); }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.pdp-faq { display: grid; gap: 8px; }
.pdp-faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 16px 20px; }
.pdp-faq summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.pdp-faq summary::-webkit-details-marker { display: none; }
.pdp-faq summary::after { content: "+"; color: var(--ink-3); }
.pdp-faq details[open] summary::after { content: "−"; }
.pdp-faq p { margin: 12px 0 0; color: var(--ink-2); font-size: 14px; }

/* ── 도입 문의 ────────────────────────────────────────────────────────────── */
.inquiry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.inquiry > * { min-width: 0; }
.screen > *, .cols > *, .flow > * { min-width: 0; }
.form { display: grid; gap: 16px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px;
  background: var(--bg); color: var(--ink); font-family: inherit; font-size: 15px;
}
.field textarea { height: 120px; padding: 12px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.radio-row { display: flex; gap: 16px; flex-wrap: wrap; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.consent { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--ink-2); }
.form__status { font-size: 14px; min-height: 22px; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: #a33232; }
.hp { position: absolute; left: -9999px; }
.form small { color: var(--ink-3); font-size: 12px; line-height: 1.5; }

/* ── 푸터 ────────────────────────────────────────────────────────────────── */
.foot { padding: 40px 0; font-size: 13px; color: var(--ink-3); }
.foot__in { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.foot__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.foot__brand p { margin: 0; }
.foot__in > p { margin: 0; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ── 정적 유틸리티 (인라인 style 금지: CSP style-src 'self') ─────────────── */
.cols--wide { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.cols--wider { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ── 반응형 ──────────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  h1 { font-size: 36px; }
  .screen, .screen--flip { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .screen--flip .screen__shot { order: 0; }
  .cols, .price-grid, .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inquiry { grid-template-columns: minmax(0, 1fr); }
  .pdp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .top__in { height: auto; padding: 8px 0; flex-wrap: wrap; gap: 8px; }
  .top__nav { width: 100%; justify-content: space-between; gap: 0; }
  .top__nav a { padding: 8px 4px; font-size: 13px; }
  .pdp-hero { padding: 48px 0 32px; }
  h1 { font-size: 30px; }
  .hero__lead { font-size: 16px; }
  h2 { font-size: 24px; }
  .pdp-sec { padding: 48px 0; }
  .cols, .price-grid, .flow { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .top__nav a { padding: 8px; font-size: 13px; }
  .screen h3 { font-size: 20px; }
}
@media (max-width: 400px) {
  h1 { font-size: 27px; }
  .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ── www.conderi.com 공통 크롬 (상단바·푸터) ───────────────────────────────
   세 제품 소개 페이지는 메인 페이지와 같은 고정 헤더(#siteHeader)를 쓰므로
   본문이 헤더에 가리지 않도록 위 여백을 준다. (인라인 style 금지: CSP style-src 'self') */
.site-main { padding-top: 96px; }
@media (max-width: 1020px) { .site-main { padding-top: 88px; } }
@media (max-width: 720px) { .site-main { padding-top: 84px; } }
