/* 준에이엑스 회사 홈페이지 — 외부 요청 0, 스크립트 0, 빌드 없음 */

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f2f0eb;
  --ink: #16181d;
  --ink-2: #484e59;
  --ink-3: #6b717c;
  --line: #e4e1d9;
  --line-strong: #cdc8bd;
  --accent: #1d3a63;
  --accent-ink: #ffffff;
  --accent-soft: #e5ebf4;
  --seal: #b3362c;
  --shadow: 0 1px 2px rgba(22, 24, 29, .05), 0 18px 40px -22px rgba(22, 24, 29, .28);
  --radius: 16px;
  --wrap: 1120px;
  --sans: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "맑은 고딕", "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111318;
    --surface: #181b22;
    --surface-2: #1e222a;
    --ink: #eceef2;
    --ink-2: #aeb5c0;
    --ink-3: #858c98;
    --line: #2a2f38;
    --line-strong: #3c424d;
    --accent: #9fb9e0;
    --accent-ink: #0e1320;
    --accent-soft: #1d2839;
    --seal: #e66f63;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 44px -20px rgba(0, 0, 0, .75);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 { color: var(--ink); }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus { top: 12px; }

/* ── header ─────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* 로고 = tools/logo_junax.png 를 tools/logo.py 가 상징·글자로 잘라 낸 것. 다크 모드는 <picture> 로 밝은 판. */
.brand picture { display: block; flex: none; }

.brand-mark,
.brand-word {
  display: block;
  width: auto;
}

.brand-mark { height: 34px; }
.brand-word { height: 15px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover { color: var(--ink); background: var(--surface-2); }

.site-nav .nav-cta {
  margin-left: 6px;
  padding: 8px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.site-nav .nav-cta:hover { background: var(--accent); color: var(--accent-ink); opacity: .9; }

/* ── buttons ───────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity .15s ease, background-color .15s ease;
}

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { opacity: .9; }

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}

.btn-ghost:hover { background: var(--surface-2); }

.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; }

/* ── hero ──────────────────────────────── */

.hero {
  padding: clamp(44px, 7vw, 88px) 0 clamp(8px, 2vw, 24px);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 5.2vw, 3.3rem);
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.lead {
  margin: 0 0 32px;
  max-width: 34em;
  font-size: clamp(1.03rem, 2vw, 1.18rem);
  color: var(--ink-2);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.formats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-3);
  font-size: 0.9rem;
}

.formats li { display: inline-flex; align-items: center; }
.formats li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  margin: 0 12px;
  border-radius: 50%;
  background: var(--line-strong);
}

.hero-art {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 440px;
}

.hero-art svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 34px rgba(22, 24, 29, .12));
  font-family: var(--sans);
}

.doc-back { fill: var(--surface-2); stroke: var(--line); }
.doc-page { fill: var(--surface); stroke: var(--line-strong); }
.doc-line { fill: var(--line); }

.doc-chip { fill: var(--accent-soft); }
.doc-chip-text { fill: var(--accent); font-size: 11px; font-weight: 700; }

.win-dot { fill: var(--line-strong); }
.win-bar { stroke: var(--line); stroke-width: 1.2; }
.win-input { fill: var(--surface-2); stroke: var(--line); }
.bubble-user { fill: var(--accent-soft); }
.bubble-ai { fill: var(--surface-2); stroke: var(--line); }
.bubble-text { fill: var(--ink); font-size: 13px; font-weight: 700; }
.bar { fill: var(--accent); }

.note-box { fill: var(--ink); }
.note-title { fill: var(--bg); font-size: 16px; font-weight: 800; }
.note-body { fill: var(--bg); opacity: .78; font-size: 13px; font-weight: 500; }

.seal circle { fill: none; stroke: var(--seal); stroke-width: 3; }
.seal .seal-inner { stroke-width: 1.2; }
.seal text { fill: var(--seal); font-size: 19px; font-weight: 800; letter-spacing: 0.08em; }
.seal .seal-small { font-size: 9px; font-weight: 700; letter-spacing: 0.14em; }

/* ── sections ─────────────────────────── */

.section { padding: clamp(64px, 9vw, 112px) 0; }

.section.alt {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: clamp(32px, 5vw, 52px);
  max-width: 44em;
}

.section-num {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.section-intro {
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 1.05rem;
}

.section h3 {
  margin: 0 0 10px;
  font-size: 1.14rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.section p { margin: 0; color: var(--ink-2); }

/* ── cards ─────────────────────────────── */

.cards, .points, .steps, .works {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cards {
  display: grid;
  gap: 18px;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--accent-soft);
}

.card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── points ───────────────────────────── */

.points {
  display: grid;
  gap: 32px 48px;
  counter-reset: point;
}

.points > li {
  counter-increment: point;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.points h3::before {
  content: counter(point, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

/* ── steps ────────────────────────────── */

.steps {
  display: grid;
  gap: 28px;
  position: relative;
}

.steps > li {
  position: relative;
  padding-left: 64px;
}

.step-no {
  position: absolute;
  left: 0;
  top: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg);
  color: var(--accent);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  z-index: 1;
}

.steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 44px;
  bottom: -30px;
  width: 2px;
  background: var(--line-strong);
}

/* ── works ────────────────────────────── */

.works {
  display: grid;
  gap: 36px;
}

.work-shot {
  position: relative;
  height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

/* 결과물 캡처를 카드 위쪽에서 내려오게 두고 아래는 카드가 자른다 */
.work-shot img {
  position: absolute;
  top: 32px;
  left: 50%;
  width: 76%;
  height: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.08), 0 14px 36px rgb(15 23 42 / 0.14);
  transform: translateX(-50%);
}

.shot-sheets img { width: 92%; top: 50%; transform: translate(-50%, -50%); border-radius: 3px; }

.shot-slides img { width: 62%; background: #0d1b33; }

.shot-hwpx img { width: 60%; }
.shot-hwpx .page-back { top: 48px; transform: translateX(-34%) rotate(5deg); }
.shot-hwpx .page-front { transform: translateX(-66%) rotate(-3deg); }

.work h3 { margin: 20px 0 6px; font-size: 1.12rem; }
.work p { margin: 0; color: var(--ink-2); }

/* ── faq ──────────────────────────────── */

.faq {
  max-width: 820px;
  border-top: 1px solid var(--line-strong);
}

.faq details { border-bottom: 1px solid var(--line-strong); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .2s ease;
}

.faq details[open] summary::after { transform: translateY(3px) rotate(225deg); }

.faq details p { padding: 0 32px 24px 0; }

/* ── contact ─────────────────────────── */

.contact-section { padding-bottom: clamp(72px, 10vw, 120px); }

.contact {
  display: grid;
  gap: 40px;
}

.contact-main {
  padding: clamp(28px, 5vw, 48px);
  border-radius: 24px;
  background: var(--accent);
  color: var(--accent-ink);
}

.contact-main h2 { color: var(--accent-ink); margin-bottom: 14px; }

.contact-main p {
  margin: 0 0 28px;
  color: var(--accent-ink);
  opacity: .86;
  max-width: 34em;
}

.contact-main .btn-primary {
  background: var(--accent-ink);
  color: var(--accent);
}

/* ── footer ─────────────────────────── */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 44px;
  color: var(--ink-3);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer .brand-mark { height: 26px; }
.site-footer .brand-word { height: 12px; }
.site-footer p { margin: 0; }

.company {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 4px 0 0;
  font-size: 0.8125rem;
  line-height: 1.8;
}

.company > div { display: flex; flex-wrap: wrap; gap: 0 6px; }
.company dt { font-weight: 400; }
.company dd { margin: 0; }


/* ── responsive ─────────────────────── */

@media (min-width: 760px) {
  .cards, .works { grid-template-columns: repeat(2, 1fr); }
  .points { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .works { gap: 28px; }
  .hero-inner { grid-template-columns: 1.08fr 0.92fr; gap: 56px; }
  .hero-art { justify-self: end; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps > li { padding-left: 0; padding-top: 64px; }
  .step-no { top: 0; }
  .steps > li:not(:last-child)::after {
    left: 44px;
    right: -32px;
    top: 20px;
    bottom: auto;
    width: auto;
    height: 2px;
  }

}

@media (max-width: 959px) {
  .br-lg { display: none; }
}

@media (max-width: 720px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .hero-art { max-width: 380px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .card { padding: 24px 22px; }
  .btn { width: 100%; }
  .actions { flex-direction: column; }
  .contact-main .btn { font-size: 1rem; }
}
