/*
 * 수주전략연구소 홈페이지 스타일 — apps/web/src/site/site.css 를 옮긴 것(색 · 간격 · 모션은 시안 값 그대로).
 * 바뀐 점: 보안 정책(CSP)이 style="" 를 막으므로 인라인 스타일을 맨 아래 「PHP 판 추가」 클래스로 옮겼고,
 * 스크롤 등장(.rv)은 스크립트가 켜졌을 때(html.sj-js)만 숨긴다 — 스크립트가 막혀도 내용은 보인다.
 */
.sj-site {
  --sj-ink: #0b1530;
  --sj-ink-2: #4a5470;
  --sj-ink-3: #6a7390;
  --sj-nav: #3a4560;
  --sj-blue: #2448d8;
  --sj-blue-hover: #1a36a8;
  --sj-face: #f6f8fc;
  --sj-face-blue: #eef3ff;
  --sj-line: #e3e7f0;
  --sj-line-2: #eef0f5;
  --sj-error: #b3261e;
  --sj-ok: #1e8e5a;
  --sj-shadow: rgba(11, 21, 48, 0.16);

  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--sj-ink);
  background: #ffffff;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: clip;
  min-height: 100vh;
}
.sj-site a {
  color: var(--sj-blue);
}
.sj-site a:hover {
  color: var(--sj-blue-hover);
}
.sj-site h1,
.sj-site h2,
.sj-site p,
.sj-site dl,
.sj-site dd {
  margin: 0;
}
.sj-site :focus-visible {
  outline: 3px solid rgba(36, 72, 216, 0.45);
  outline-offset: 2px;
}

/* ── 공통 레이아웃 ───────────────────────────── */
.sj-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}
.sj-eyebrow {
  font-size: 15px;
  font-weight: 600;
  color: var(--sj-blue);
}
.sj-h2 {
  font-weight: 800;
  font-size: clamp(1.9rem, 3.1vw, 2.8rem);
  line-height: 1.32;
  letter-spacing: -0.04em;
}
.sj-h2-sm {
  font-weight: 800;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1.35;
  letter-spacing: -0.04em;
}
.sj-muted {
  color: var(--sj-ink-2);
}
.sj-unit {
  font-size: 16px;
  font-weight: 600;
}

/* ── 버튼(알약) ──────────────────────────────── */
.sj-site .sj-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-sizing: border-box;
}
.sj-site .sj-btn-primary {
  background: var(--sj-blue);
  color: #ffffff;
}
.sj-site .sj-btn-primary:hover {
  background: var(--sj-blue-hover);
  color: #ffffff;
}
.sj-site .sj-btn-lg {
  padding: 16px 28px;
  font-size: 17px;
  min-height: 54px;
}
.sj-site .sj-btn-sm {
  padding: 10px 20px;
  min-height: 44px;
  gap: 8px;
}
.sj-site .sj-btn-ghost {
  color: var(--sj-ink);
  border: 1px solid #d5dae6;
  padding: 16px 26px;
  font-size: 17px;
  min-height: 54px;
}

/* ── 헤더 · 푸터 ─────────────────────────────── */
.sj-header {
  border-bottom: 1px solid var(--sj-line-2);
  background: rgba(255, 255, 255, 0.96);
}
.sj-header-inner {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sj-site .sj-logo {
  text-decoration: none;
  color: var(--sj-ink);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  min-height: 44px;
}
.sj-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  font-size: 15px;
  font-weight: 600;
}
.sj-site .sj-nav-link {
  color: var(--sj-nav);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.sj-site .sj-login-link {
  color: var(--sj-ink-3);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.sj-footer {
  border-top: 1px solid var(--sj-line-2);
}
.sj-footer-inner {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  font-size: 14px;
  color: var(--sj-ink-3);
}
.sj-footer-links {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.sj-site .sj-footer-links a,
.sj-footer-links span {
  color: var(--sj-ink);
  min-height: 44px;
  display: inline-flex;
  align-items: flex-start;
}

/* ── 히어로 ─────────────────────────────────── */
.sj-hero {
  padding-top: 72px;
  padding-bottom: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}
.sj-hero-copy {
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-width: 0;
}
.sj-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--sj-face-blue);
  color: var(--sj-blue);
  font-size: 14px;
  font-weight: 600;
}
.sj-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sj-blue);
}
.sj-h1 {
  font-weight: 800;
  font-size: clamp(2.4rem, 4.4vw, 3.9rem);
  line-height: 1.24;
  letter-spacing: -0.045em;
}
.sj-hero-lead {
  font-size: 18px;
  color: var(--sj-ink-2);
  max-width: 31em;
}
.sj-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sj-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--sj-line-2);
}
.sj-stat {
  display: flex;
  flex-direction: column;
}
.sj-stat-value {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.sj-stat-label {
  font-size: 14px;
  color: var(--sj-ink-3);
}
.sj-hero-visual {
  flex: 1 1 480px;
  position: relative;
  min-width: 0;
}
.sj-hero-photo {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  box-shadow: 0 30px 60px var(--sj-shadow);
  position: relative;
}
.sj-hero-card-pos {
  position: absolute;
  left: -28px;
  bottom: 56px;
  width: 280px;
  max-width: 70%;
}
.sj-hero-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 18px 40px var(--sj-shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sj-hero-card-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--sj-ink-3);
}
.sj-hero-card-grid {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 18px;
  gap: 7px 10px;
  align-items: center;
  font-size: 13px;
}
.sj-hero-card-bar {
  height: 6px;
  border-radius: 3px;
  background: #e4e9f5;
}
.sj-hero-card-ok {
  color: var(--sj-ok);
  font-weight: 800;
}
.sj-hero-badge-pos {
  position: absolute;
  right: -16px;
  top: 40px;
}
.sj-hero-badge {
  background: #ffffff;
  border-radius: 999px;
  padding: 12px 18px 12px 12px;
  box-shadow: 0 14px 32px var(--sj-shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}
.sj-hero-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sj-blue);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── 차별점 ─────────────────────────────────── */
.sj-section {
  padding-top: 96px;
  padding-bottom: 96px;
}
.sj-section-lg {
  padding-top: 110px;
  padding-bottom: 110px;
}
.sj-mt-14 {
  margin-top: 14px;
}
.sj-cards {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}
.sj-value-card {
  background: var(--sj-face);
  border-radius: 22px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  box-sizing: border-box;
}
.sj-icon-tile {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(11, 21, 48, 0.06);
}
.sj-card-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.4;
}
.sj-card-body {
  color: var(--sj-ink-2);
  font-size: 16px;
}

/* ── 비교표 ─────────────────────────────────── */
.sj-compare {
  background: var(--sj-ink);
  color: #ffffff;
}
.sj-compare-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.sj-compare-head {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sj-compare-eyebrow {
  font-size: 15px;
  font-weight: 600;
  color: #8fa8ff;
}
.sj-compare-table-wrap {
  flex: 2 1 560px;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}
.sj-compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 15px;
}
.sj-compare-table th,
.sj-compare-table td {
  padding: 16px 22px;
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}
.sj-compare-table thead th {
  padding-top: 18px;
  padding-bottom: 18px;
  color: #9aa6c4;
  font-weight: 600;
}
.sj-compare-table thead th.sj-ours {
  background: var(--sj-blue);
  color: #ffffff;
}
.sj-compare-table tbody th,
.sj-compare-table tbody td {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #c9d2ea;
}
.sj-compare-table tbody td.sj-ours {
  border-top-color: rgba(255, 255, 255, 0.15);
  background: rgba(36, 72, 216, 0.35);
  color: #ffffff;
}
.sj-compare-table col.sj-col-label {
  width: 35.5%;
}

/* ── PM 검수 ────────────────────────────────── */
.sj-pm {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}
.sj-pm-photo {
  flex: 1 1 520px;
  min-width: 0;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  position: relative;
}
.sj-pm-copy {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sj-pm-stats {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.sj-pm-stat {
  background: var(--sj-face);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}
.sj-pm-stat dt {
  font-size: 13px;
  color: var(--sj-ink-3);
}
.sj-pm-stat dd {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.sj-pm-stat dd.sj-accent {
  color: var(--sj-blue);
}
.sj-pm-projects-title {
  margin: 6px 0 4px;
  font-size: 14px;
  font-weight: 600;
}
.sj-pm-project {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--sj-line-2);
  font-size: 15px;
}
.sj-pm-project-year {
  color: var(--sj-ink-3);
}

/* ── 진행 방식 ──────────────────────────────── */
.sj-process {
  background: var(--sj-face);
}
.sj-process-track {
  margin-top: 52px;
  height: 4px;
  border-radius: 2px;
  background: #dde3f0;
  overflow: hidden;
}
.sj-process-track .sj-bar {
  height: 100%;
  background: var(--sj-blue);
}
.sj-steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
}
.sj-step {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  box-sizing: border-box;
}
.sj-step-no {
  font-size: 14px;
  font-weight: 800;
  color: var(--sj-blue);
}
.sj-step-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.sj-step-body {
  color: var(--sj-ink-2);
  font-size: 15px;
}
.sj-step-last {
  background: var(--sj-blue);
  color: #ffffff;
}
.sj-step-last .sj-step-no {
  color: #c9d6ff;
}
.sj-step-last .sj-step-body {
  color: #e3e9ff;
}

/* ── 요금 ───────────────────────────────────── */
.sj-plans {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  align-items: stretch;
}
.sj-plan {
  border: 1px solid var(--sj-line);
  border-radius: 24px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  height: 100%;
  box-sizing: border-box;
}
.sj-plan-rec {
  border: 2px solid var(--sj-blue);
  box-shadow: 0 20px 44px rgba(36, 72, 216, 0.14);
}
.sj-plan-flag {
  position: absolute;
  top: -14px;
  left: 30px;
  background: var(--sj-blue);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}
.sj-plan-tier {
  font-size: 14px;
  font-weight: 600;
  color: var(--sj-ink-3);
}
.sj-plan-rec .sj-plan-tier {
  color: var(--sj-blue);
}
.sj-plan-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.sj-plan-price {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.sj-plan-features {
  margin: 6px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--sj-line-2);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--sj-ink-2);
  font-size: 15px;
}
.sj-after-award {
  margin-top: 20px;
  background: var(--sj-face);
  border-radius: 20px;
  padding: 26px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  align-items: center;
  justify-content: space-between;
}
.sj-after-award-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 420px;
  min-width: 0;
}
.sj-after-award-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--sj-ink-3);
}
.sj-after-award-title {
  font-size: 19px;
  font-weight: 800;
}
.sj-after-award-price {
  font-size: 24px;
  font-weight: 800;
}

/* ── FAQ ────────────────────────────────────── */
.sj-faq {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 32px 110px;
  box-sizing: border-box;
}
.sj-faq-title {
  margin: 14px 0 36px;
  font-weight: 800;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  letter-spacing: -0.04em;
}
.sj-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sj-faq-item {
  background: var(--sj-face);
  border-radius: 16px;
  padding: 0 24px;
}
.sj-faq-q {
  width: 100%;
  min-height: 64px;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font: inherit;
  font-weight: 600;
  font-size: 17px;
  color: var(--sj-ink);
  text-align: left;
  cursor: pointer;
}
.sj-faq-sign {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--sj-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.sj-faq-a {
  padding: 0 0 22px;
  color: var(--sj-ink-2);
}

/* ── CTA 패널 ───────────────────────────────── */
.sj-cta-section {
  padding: 0 32px 96px;
}
.sj-cta {
  max-width: 1216px;
  margin: 0 auto;
  border-radius: 32px;
  background: var(--sj-blue);
  color: #ffffff;
  padding: 80px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sj-cta-rings {
  position: absolute;
  right: -140px;
  top: -180px;
  opacity: 0.16;
}
.sj-cta h2 {
  position: relative;
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.3;
  letter-spacing: -0.04em;
}
.sj-cta-body {
  position: relative;
  color: #dce4ff;
}
.sj-site .sj-cta-btn {
  position: relative;
  background: #ffffff;
  color: var(--sj-blue);
  padding: 16px 30px;
  font-weight: 800;
  font-size: 17px;
  min-height: 54px;
}
.sj-site .sj-cta-btn:hover {
  color: var(--sj-blue-hover);
}

/* ── 신청 화면 ──────────────────────────────── */
.sj-apply {
  background: var(--sj-face);
  font-size: 16px;
  line-height: 1.6;
}
.sj-apply-header {
  border-bottom: 1px solid var(--sj-line);
}
.sj-apply-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sj-site .sj-apply-logo {
  text-decoration: none;
  color: var(--sj-ink);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 21px;
  min-height: 44px;
}
.sj-site .sj-apply-home {
  color: var(--sj-ink);
  font-size: 15px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.sj-apply-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
  box-sizing: border-box;
}
.sj-apply-aside {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sj-apply-aside h1 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 800;
}
.sj-apply-steps {
  margin: 8px 0 0;
  padding-left: 20px;
  list-style: decimal;
  color: var(--sj-ink-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sj-apply-card {
  flex: 999 1 560px;
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--sj-line);
  border-radius: 24px;
  padding: 36px;
  box-sizing: border-box;
}
.sj-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.sj-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
}
.sj-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.sj-label {
  font-weight: 600;
  font-size: 15px;
}
.sj-req {
  color: var(--sj-error);
}
.sj-input {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #c9c9c9;
  border-radius: 12px;
  font: inherit;
  background: #ffffff;
  color: var(--sj-ink);
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}
.sj-input[aria-invalid="true"] {
  border-color: var(--sj-error);
}
.sj-input-file {
  border-style: dashed;
  border-color: #b5b5b5;
}
.sj-hint {
  font-size: 13px;
  color: var(--sj-ink-3);
}
.sj-fieldset {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.sj-fieldset legend {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
  padding: 0;
}
.sj-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}
.sj-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
}
.sj-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
}
.sj-check input,
.sj-radio input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--sj-blue);
}
.sj-check input {
  margin-top: 3px;
}
.sj-consents {
  border-top: 1px solid var(--sj-line);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sj-consent-detail {
  color: var(--sj-ink-3);
  font-size: 14px;
}
.sj-alert {
  color: var(--sj-error);
  font-weight: 600;
}
.sj-submit {
  align-self: flex-start;
  background: var(--sj-blue);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  min-height: 48px;
  font: inherit;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
}
.sj-submit:hover {
  background: var(--sj-blue-hover);
}
.sj-submit:disabled {
  opacity: 0.6;
  cursor: progress;
}
.sj-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.sj-done {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 0;
}
.sj-done h2 {
  font-size: 26px;
  font-weight: 800;
}
.sj-site .sj-done-back {
  align-self: flex-start;
  margin-top: 8px;
  color: var(--sj-ink);
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.sj-privacy {
  max-width: 920px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sj-privacy h1 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* ── 모바일 ─────────────────────────────────── */
@media (max-width: 600px) {
  .sj-wrap,
  .sj-faq {
    padding-left: 16px;
    padding-right: 16px;
  }
  .sj-cta-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .sj-cta {
    padding: 56px 20px;
  }
  .sj-compare-table th,
  .sj-compare-table td {
    padding: 12px 10px;
    font-size: 14px;
  }
  .sj-hero-card-pos {
    left: -8px;
  }
  .sj-hero-badge-pos {
    right: -4px;
  }
  .sj-apply-card {
    padding: 24px 18px;
  }
  .sj-pm-stat {
    padding: 14px 10px;
  }
  .sj-pm-stat dd {
    font-size: 24px;
  }
}

/* ── 모션 (시안 그대로) ─────────────────────── */
.sj-in {
  opacity: 0;
  transform: translateY(24px);
  animation: sjUp 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.sj-d1 { animation-delay: 0.15s; }
.sj-d2 { animation-delay: 0.3s; }
.sj-d3 { animation-delay: 0.45s; }
.sj-d4 { animation-delay: 0.6s; }
.sj-d5 { animation-delay: 0.9s; }
.sj-d6 { animation-delay: 1.1s; }
.sj-mark {
  color: var(--sj-blue);
  background: linear-gradient(transparent 58%, #d9e3ff 58%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  animation: sjMark 1s 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.sj-float { animation: sjFloat 6s ease-in-out infinite; }
.sj-float2 { animation: sjFloat 7s ease-in-out 0.8s infinite; }
.sj-img {
  transform: scale(1.06);
  animation: sjZoom 2.6s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}
.sj-js .rv {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sj-js .rv.on {
  opacity: 1;
  transform: none;
}
.rv-d1 { transition-delay: 0.1s; }
.rv-d2 { transition-delay: 0.2s; }
.rv-d3 { transition-delay: 0.3s; }
.sj-js .sj-bar {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s;
}
.sj-js .on .sj-bar,
.sj-js .sj-bar.on {
  transform: scaleX(1);
}
@keyframes sjUp {
  to { opacity: 1; transform: none; }
}
@keyframes sjMark {
  to { background-size: 100% 100%; }
}
@keyframes sjFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes sjZoom {
  to { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .sj-in,
  .sj-float,
  .sj-float2,
  .sj-img {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .sj-mark {
    animation: none;
    background-size: 100% 100%;
  }
  .sj-js .rv,
  .sj-js .sj-bar {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ── PHP 판 추가 ──────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* next/image fill 과 같은 배치 — 부모(.sj-hero-photo · .sj-pm-photo)가 position: relative */
.sj-fill-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sj-fill-img-hero {
  object-position: 70% center;
}
.sj-btn-glow {
  box-shadow: 0 8px 24px rgba(36, 72, 216, 0.28);
}
.sj-site .sj-stat-value.sj-accent-blue {
  color: #2448d8;
}
.sj-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sj-footer-brand strong {
  color: #0b1530;
  font-size: 16px;
  font-weight: 800;
}
.sj-site .sj-footer-links a.sj-footer-privacy {
  font-weight: 600;
}
.sj-title-20em {
  display: block;
  max-width: 20em;
}
.sj-min-screen {
  min-height: 100vh;
}
.sj-faq-a[hidden] {
  display: none;
}
.sj-hero-card-code {
  color: #6a7390;
}
.sj-textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.6;
}
select.sj-input {
  appearance: auto;
}
