html.yp-startup-image-mode,
html.yp-startup-image-mode body {
  margin: 0 !important;
  padding: 0 !important;
  background: #f3f5f8 !important;
  color: #0f172a;
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo",
    "Noto Sans KR", "Malgun Gothic", sans-serif;
  word-break: keep-all;
}

html.yp-startup-image-mode *,
html.yp-startup-image-mode *::before,
html.yp-startup-image-mode *::after {
  box-sizing: border-box;
}

/* 기존 사이트 헤더/푸터/메뉴류 최대한 숨김 */
html.yp-startup-image-mode #hd,
html.yp-startup-image-mode #ft,
html.yp-startup-image-mode #aside,
html.yp-startup-image-mode #tnb,
html.yp-startup-image-mode #gnb,
html.yp-startup-image-mode #header,
html.yp-startup-image-mode .header,
html.yp-startup-image-mode .site-header,
html.yp-startup-image-mode .site-footer,
html.yp-startup-image-mode .sub_visual,
html.yp-startup-image-mode .page_title,
html.yp-startup-image-mode .location,
html.yp-startup-image-mode .bo_w_tit,
html.yp-startup-image-mode .bo_btn,
html.yp-startup-image-mode .btn_confirm {
  display: none !important;
}

:root {
  --yp-primary: #102d5e;
  --yp-primary-hover: #0d244b;
  --yp-line: #dbe3ed;
  --yp-text: #0f172a;
  --yp-sub: #64748b;
  --yp-card: #ffffff;
  --yp-fixed-h: 88px;
}

.yp-startup-image-wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  min-height: 100vh;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
  padding-bottom: calc(var(--yp-fixed-h) + 24px);
}

.yp-startup-image-stack,
.yp-startup-image-stack picture,
.yp-startup-image-stack img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.yp-startup-image-stack img {
  vertical-align: top;
}

.yp-form-section {
  padding: 24px 16px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid #e8eef5;
}

.yp-form-card {
  background: #fff;
  border: 1px solid var(--yp-line);
  border-radius: 24px;
  padding: 24px 18px 18px;
  box-shadow: 0 20px 40px rgba(16, 45, 94, .08);
}

.yp-form-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #315172;
}

.yp-form-card h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.16;
  letter-spacing: -0.055em;
  color: #0d2447;
  font-weight: 850;
}

.yp-form-card h2 strong {
  color: var(--yp-primary);
}

.yp-form-desc {
  margin: 12px 0 0;
  color: var(--yp-sub);
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: -0.025em;
}

.yp-consult-form {
  display: grid;
  gap: 13px;
  margin-top: 20px;
}

.yp-field {
  display: grid;
  gap: 7px;
}

.yp-field-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #172a45;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.yp-field-label b {
  color: #0f4a90;
}

.yp-input,
.yp-select,
.yp-textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid #d8e2ee;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  padding: 14px;
  font-family: inherit;
  font-size: 15px;
  outline: 0;
  -webkit-appearance: none;
  appearance: none;
}

.yp-textarea {
  min-height: 108px;
  resize: vertical;
}

.yp-input:focus,
.yp-select:focus,
.yp-textarea:focus {
  border-color: #0f4a90;
  box-shadow: 0 0 0 4px rgba(15, 74, 144, .10);
}

.yp-privacy-box {
  padding: 14px;
  border: 1px solid #dce5f0;
  border-radius: 16px;
  background: #f8fafc;
}

.yp-privacy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.yp-privacy-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #172a45;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.yp-privacy-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--yp-primary);
  flex: 0 0 18px;
}

.yp-privacy-toggle {
  border: 1px solid #cad8e6;
  background: #fff;
  color: var(--yp-primary);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.yp-privacy-content {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f2f6fb;
  color: #5b6978;
  font-size: 12px;
  line-height: 1.6;
}

.yp-privacy-content p {
  margin: 0 0 5px;
}

.yp-submit-btn {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 16px;
  background: var(--yp-primary);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.03em;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(16, 45, 94, .18);
}

.yp-submit-btn:hover {
  background: var(--yp-primary-hover);
}

.yp-form-note {
  margin: 4px 0 0;
  text-align: center;
  color: #7b8794;
  font-size: 12px;
}

.yp-fixed-cta {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(760px, 100%);
  z-index: 9999;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid #e2e8f0;
  transition: transform .22s ease, opacity .22s ease;
}

.yp-fixed-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(100%);
}

.yp-fixed-cta-btn {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  background: var(--yp-primary);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.03em;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(16, 45, 94, .20);
}

@media (max-width: 820px) {
  html.yp-startup-image-mode,
  html.yp-startup-image-mode body {
    background: #fff !important;
  }

  .yp-startup-image-wrap {
    max-width: 100%;
    box-shadow: none;
  }
}