/* ============================================
   Star Prototype — Victor Saju
   어두운 배경 + 움직이는 별 + 몽환적 무드
   prefix: sp-
   ============================================ */

:root {
  --sp-bg: #040410;
  --sp-bg-2: #0a0a18;
  --sp-bg-3: #050513;
  --sp-ink: #ebe6d6;
  --sp-mute: #8a8678;
  --sp-gold: #d4a574;
  --sp-gold-soft: #b89968;
  --sp-line: #2a2a3a;
  --sp-line-soft: #3a3a4a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--sp-bg);
  color: var(--sp-ink);
  font-family: 'Noto Sans KR', -apple-system, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================
   STAR FIELD — 3 layer parallax + twinkle
   ============================================ */

.sp-cosmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 22% 18%, rgba(70, 50, 110, 0.4) 0%, transparent 55%),
    radial-gradient(ellipse at 78% 75%, rgba(40, 70, 110, 0.32) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 95%, rgba(120, 80, 60, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, var(--sp-bg) 0%, var(--sp-bg-3) 45%, #02020c 100%);
}

/* MILKY WAY — 대각선 은하수 띠 */
.sp-milkyway {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(115deg,
      transparent 30%,
      rgba(180, 170, 220, 0.06) 45%,
      rgba(220, 200, 240, 0.10) 50%,
      rgba(200, 180, 230, 0.07) 55%,
      transparent 70%);
  animation: sp-milkyway-pulse 18s ease-in-out infinite;
}
@keyframes sp-milkyway-pulse {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}

/* STAR LAYERS — box-shadow 트릭으로 별 수백 개씩
   별 좌표는 JS가 페이지 로드 시 동적 생성 (--sp-stars-N CSS variable)
   .sp-star-dot 단일 픽셀에 box-shadow 수백 줄 적용 */

.sp-stars-far,
.sp-stars-mid,
.sp-stars-near,
.sp-stars-glow {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
}

.sp-star-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: transparent;
}

/* FAR — 800개 작은 별, 매우 천천히, 옅음 */
.sp-stars-far .sp-star-dot {
  box-shadow: var(--sp-stars-far, none);
  opacity: 0.75;
}
.sp-stars-far {
  animation: sp-drift-far 240s linear infinite;
}

/* MID — 400개 중간 별, 보통 속도, twinkle */
.sp-stars-mid .sp-star-dot {
  box-shadow: var(--sp-stars-mid, none);
}
.sp-stars-mid {
  animation: sp-drift-mid 160s linear infinite, sp-twinkle 6s ease-in-out infinite;
}

/* NEAR — 200개 큰 별, 빠르게, 강한 twinkle */
.sp-stars-near .sp-star-dot {
  box-shadow: var(--sp-stars-near, none);
}
.sp-stars-near {
  animation: sp-drift-near 100s linear infinite, sp-twinkle-strong 7s ease-in-out infinite;
}

/* GLOW — 30개 컬러 포인트 별 (골드·청백·옅은 적), 글로우 효과 */
.sp-stars-glow .sp-star-dot {
  box-shadow: var(--sp-stars-glow, none);
  filter: blur(0.3px);
}
.sp-stars-glow {
  animation: sp-drift-glow 200s linear infinite, sp-twinkle 5s ease-in-out infinite;
}

@keyframes sp-drift-far {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-100px, 60px, 0); }
}
@keyframes sp-drift-mid {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-180px, -90px, 0); }
}
@keyframes sp-drift-near {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-260px, 120px, 0); }
}
@keyframes sp-drift-glow {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-140px, -50px, 0); }
}

@keyframes sp-twinkle {
  0%, 100% { opacity: 0.9; }
  50%      { opacity: 0.55; }
}
@keyframes sp-twinkle-strong {
  0%, 100% { opacity: 1; }
  35%      { opacity: 0.35; }
  70%      { opacity: 0.85; }
}

/* Nebula glow — 색 구름 */
.sp-nebula {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 700px at 18% 28%, rgba(90, 60, 140, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 1100px 800px at 82% 72%, rgba(60, 110, 160, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 65% 20%, rgba(200, 150, 90, 0.10) 0%, transparent 60%);
  animation: sp-nebula-shift 50s ease-in-out infinite;
}
@keyframes sp-nebula-shift {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 1; }
  33%      { transform: scale(1.08) translate(30px, -15px); opacity: 0.9; }
  66%      { transform: scale(0.95) translate(-20px, 25px); opacity: 0.95; }
}

@media (prefers-reduced-motion: reduce) {
  .sp-stars-far, .sp-stars-mid, .sp-stars-near, .sp-stars-glow,
  .sp-nebula, .sp-milkyway { animation: none; }
}

/* ============================================
   LAYOUT
   ============================================ */

.sp-stage {
  position: relative;
  z-index: 10;
  min-height: 100vh;
}

.sp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 28px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(4,4,16,0.7) 0%, transparent 100%);
  backdrop-filter: blur(8px);
}

.sp-logo {
  font-family: 'Noto Serif KR', 'Source Han Serif', serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--sp-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.sp-logo span {
  color: var(--sp-gold);
  font-size: 14px;
  opacity: 0.7;
}
.sp-logo-sub {
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--sp-mute);
  text-transform: uppercase;
  margin-left: 4px;
}

.sp-nav {
  display: flex;
  gap: 36px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sp-mute);
}
.sp-nav a { color: inherit; text-decoration: none; transition: color 0.3s; }
.sp-nav a:hover { color: var(--sp-gold); }

/* HERO */
.sp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 56px;
  text-align: center;
  overflow: hidden;
}

/* HERO DECOR — 거대 한자 4격(元亨利貞), 옅게 배경에 떠있음 */
.sp-hero-decor {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.055;
}
.sp-hero-decor span {
  font-family: 'Noto Serif KR', 'Source Han Serif', serif;
  font-size: clamp(140px, 22vw, 320px);
  font-weight: 400;
  color: var(--sp-gold);
  line-height: 1;
  letter-spacing: -0.02em;
  animation: sp-decor-float 14s ease-in-out infinite;
  filter: blur(0.4px);
}
.sp-hero-decor span:nth-child(1) { animation-delay: 0s; }
.sp-hero-decor span:nth-child(2) { animation-delay: 1.6s; }
.sp-hero-decor span:nth-child(3) { animation-delay: 3.2s; }
.sp-hero-decor span:nth-child(4) { animation-delay: 4.8s; }
@keyframes sp-decor-float {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(-8px); opacity: 0.7; }
}

.sp-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* REVEAL CASCADE — 첫 진입 시 순차 등장 */
.sp-reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: sp-reveal-in 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.sp-reveal-1 { animation-delay: 0.15s; }
.sp-reveal-2 { animation-delay: 0.5s; }
.sp-reveal-3 { animation-delay: 1.05s; }
.sp-reveal-4 { animation-delay: 1.55s; }
.sp-reveal-5 { animation-delay: 2.0s; }
.sp-reveal-6 { animation-delay: 2.6s; }
@keyframes sp-reveal-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .sp-reveal { opacity: 1; transform: none; animation: none; }
}

.sp-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.55em;
  color: var(--sp-gold);
  text-transform: uppercase;
  margin-bottom: 36px;
  position: relative;
  padding: 0 28px;
}
.sp-hero-eyebrow::before,
.sp-hero-eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--sp-gold);
  opacity: 0.5;
}
.sp-hero-eyebrow::before { left: -10px; }
.sp-hero-eyebrow::after  { right: -10px; }

.sp-hero-headline {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(38px, 6.4vw, 84px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--sp-ink);
  max-width: 17ch;
  margin-bottom: 30px;
  text-shadow: 0 0 60px rgba(212, 165, 116, 0.15);
}
.sp-hero-headline em {
  font-style: normal;
  color: var(--sp-gold);
  font-weight: 600;
  text-shadow: 0 0 30px rgba(212, 165, 116, 0.4);
}

.sp-hero-sub {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--sp-mute);
  max-width: 560px;
  margin-bottom: 48px;
}

/* HERO STATS — 5 · 81 · 9,459 정량 지표 */
.sp-hero-stats {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  margin-bottom: 56px;
  padding: 28px 40px;
  border-top: 1px solid var(--sp-line);
  border-bottom: 1px solid var(--sp-line);
  background: linear-gradient(180deg, rgba(212, 165, 116, 0.02), transparent);
}
.sp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.sp-stat-num {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  color: var(--sp-gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.sp-stat-label {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sp-mute);
  line-height: 1.65;
  text-align: center;
}
.sp-stat-line {
  width: 1px;
  height: 48px;
  background: var(--sp-line-soft);
}

.sp-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.sp-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 19px 40px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: 'Noto Serif KR', serif;
  font-weight: 500;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.sp-cta-primary {
  background: transparent;
  color: var(--sp-ink);
  border: 1px solid var(--sp-gold);
  box-shadow: 0 0 0 0 rgba(212, 165, 116, 0.35);
  animation: sp-cta-pulse 4.5s ease-in-out infinite;
}
.sp-cta-primary::after {
  content: '→';
  font-family: sans-serif;
  font-size: 14px;
  transition: transform 0.4s;
}
.sp-cta-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(212, 165, 116, 0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.sp-cta-primary:hover {
  background: var(--sp-gold);
  color: var(--sp-bg);
  animation: none;
  box-shadow: 0 0 40px rgba(212, 165, 116, 0.4);
}
.sp-cta-primary:hover::after { transform: translateX(4px); }
.sp-cta-primary:hover::before { transform: translateX(100%); }
@keyframes sp-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 165, 116, 0.0); }
  50%      { box-shadow: 0 0 24px 2px rgba(212, 165, 116, 0.18); }
}

.sp-cta-ghost {
  background: transparent;
  color: var(--sp-mute);
  border: 1px solid var(--sp-line);
}
.sp-cta-ghost:hover {
  color: var(--sp-ink);
  border-color: var(--sp-line-soft);
}

.sp-hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--sp-mute);
  text-transform: uppercase;
  animation: sp-scroll-pulse 2.5s ease-in-out infinite;
}
@keyframes sp-scroll-pulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* VIRTUES — 3 USP */
.sp-virtues {
  padding: 160px 56px;
  max-width: 1280px;
  margin: 0 auto;
}
.sp-virtues-eyebrow {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--sp-gold);
  text-transform: uppercase;
  margin-bottom: 24px;
  text-align: center;
}
.sp-virtues-title {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 400;
  text-align: center;
  margin-bottom: 96px;
  letter-spacing: -0.01em;
  color: var(--sp-ink);
}
.sp-virtue-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.sp-virtue {
  position: relative;
  padding-top: 32px;
  border-top: 1px solid var(--sp-line);
}
.sp-virtue-num {
  font-family: 'Noto Serif KR', serif;
  font-size: 13px;
  color: var(--sp-gold);
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}
.sp-virtue-title {
  font-family: 'Noto Serif KR', serif;
  font-size: 22px;
  color: var(--sp-ink);
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.4;
}
.sp-virtue-body {
  font-size: 14px;
  line-height: 1.9;
  color: var(--sp-mute);
}

/* COVENANT — 가격·약속 */
.sp-covenant {
  padding: 160px 56px;
  text-align: center;
  border-top: 1px solid var(--sp-line);
  border-bottom: 1px solid var(--sp-line);
  background: rgba(4, 4, 16, 0.4);
}
.sp-covenant-eyebrow {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--sp-gold);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.sp-covenant-title {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  margin-bottom: 24px;
  color: var(--sp-ink);
  letter-spacing: -0.01em;
}
.sp-covenant-price {
  font-family: 'Noto Serif KR', serif;
  font-size: 64px;
  font-weight: 600;
  color: var(--sp-gold);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.sp-covenant-sub {
  font-size: 13px;
  color: var(--sp-mute);
  letter-spacing: 0.1em;
  margin-bottom: 48px;
  text-transform: uppercase;
}
.sp-covenant-list {
  display: inline-flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  font-size: 14px;
  color: var(--sp-ink);
  line-height: 1.7;
  margin-bottom: 56px;
}
.sp-covenant-list span::before {
  content: '✦  ';
  color: var(--sp-gold);
  margin-right: 4px;
}

/* FOOTER */
.sp-footer {
  padding: 64px 56px 48px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--sp-mute);
  text-transform: uppercase;
}
.sp-footer-line {
  width: 60px;
  height: 1px;
  background: var(--sp-gold);
  margin: 0 auto 28px;
  opacity: 0.5;
}

/* ============================================
   SUB-HERO — input · processing · result · faq 페이지 상단
   ============================================ */
.sp-subhero {
  padding: 160px 56px 80px;
  text-align: center;
  position: relative;
}
.sp-subhero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.45em;
  color: var(--sp-gold);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.sp-subhero-title {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 500;
  color: var(--sp-ink);
  margin-bottom: 18px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.sp-subhero-sub {
  font-size: 15px;
  line-height: 1.85;
  color: var(--sp-mute);
  max-width: 580px;
  margin: 0 auto;
}

/* CONTAINER — 본문 영역 */
.sp-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px 120px;
  position: relative;
  z-index: 10;
}
.sp-container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px 120px;
  position: relative;
  z-index: 10;
}

/* CARD — 정보 그룹 카드 */
.sp-card {
  background: rgba(13, 13, 24, 0.55);
  border: 1px solid var(--sp-line);
  padding: 36px 36px 32px;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
}
.sp-card-head {
  font-family: 'Noto Serif KR', serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sp-gold);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sp-line-soft);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.sp-card-head-opt {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--sp-mute);
  font-family: 'Noto Sans KR', sans-serif;
  text-transform: none;
}

/* FORM */
.sp-form { display: block; }
.sp-field { margin-bottom: 22px; }
.sp-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sp-ink);
  margin-bottom: 12px;
  font-weight: 500;
}
.sp-label-req::after {
  content: '· 필수';
  color: var(--sp-gold);
  font-size: 10px;
  margin-left: 8px;
  letter-spacing: 0.1em;
}
.sp-label-opt::after {
  content: '· 선택';
  color: var(--sp-mute);
  font-size: 10px;
  margin-left: 8px;
  letter-spacing: 0.1em;
}
.sp-help {
  font-size: 12px;
  color: var(--sp-mute);
  margin-top: 8px;
  line-height: 1.7;
}

.sp-input,
.sp-select,
.sp-textarea {
  width: 100%;
  background: rgba(4, 4, 16, 0.7);
  border: 1px solid var(--sp-line);
  color: var(--sp-ink);
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  border-radius: 0;
  transition: border-color 0.25s, background 0.25s;
}
.sp-input:focus,
.sp-select:focus,
.sp-textarea:focus {
  outline: none;
  border-color: var(--sp-gold);
  background: rgba(13, 13, 24, 0.8);
}
.sp-textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.sp-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--sp-gold) 50%),
                    linear-gradient(135deg, var(--sp-gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.sp-select option { background: var(--sp-bg-2); color: var(--sp-ink); }

/* TOGGLE GROUP */
.sp-toggle-row {
  display: flex;
  gap: 0;
  border: 1px solid var(--sp-line);
}
.sp-toggle-btn {
  flex: 1;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--sp-line);
  color: var(--sp-mute);
  padding: 14px 20px;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Noto Serif KR', serif;
  transition: all 0.3s;
}
.sp-toggle-btn:last-child { border-right: 0; }
.sp-toggle-btn.active {
  background: rgba(212, 165, 116, 0.1);
  color: var(--sp-gold);
}

/* RADIO / CHECKBOX */
.sp-radio-row,
.sp-check-row { display: flex; gap: 28px; flex-wrap: wrap; }
.sp-radio,
.sp-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--sp-ink);
  font-size: 14px;
}
.sp-radio input,
.sp-check input {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--sp-line-soft);
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.sp-radio input { border-radius: 50%; }
.sp-radio input:checked,
.sp-check input:checked {
  border-color: var(--sp-gold);
  background: rgba(212, 165, 116, 0.15);
}
.sp-radio input:checked::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  background: var(--sp-gold);
  border-radius: 50%;
}
.sp-check input:checked::after {
  content: '✓';
  position: absolute;
  top: -2px; left: 2px;
  color: var(--sp-gold);
  font-size: 14px;
}

/* INPUT GRID — 시·분 같이 */
.sp-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* NOTICE — 안내 박스 */
.sp-notice {
  background: rgba(212, 165, 116, 0.06);
  border-left: 2px solid var(--sp-gold);
  padding: 18px 22px;
  margin-bottom: 28px;
  font-size: 13.5px;
  line-height: 1.85;
  color: #c8c4b7;
}
.sp-notice strong { color: var(--sp-gold); display: block; margin-bottom: 6px; font-weight: 500; letter-spacing: 0.08em; }

/* SUBMIT */
.sp-submit {
  display: block;
  width: 100%;
  padding: 22px;
  background: transparent;
  color: var(--sp-ink);
  border: 1px solid var(--sp-gold);
  font-family: 'Noto Serif KR', serif;
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 16px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.sp-submit:hover {
  background: var(--sp-gold);
  color: var(--sp-bg);
  box-shadow: 0 0 40px rgba(212, 165, 116, 0.3);
}

/* ============================================
   PROCESSING — 작명 진행 페이지
   ============================================ */
.sp-process-list {
  list-style: none;
  padding: 0;
  margin: 48px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.sp-process-step {
  display: flex;
  gap: 24px;
  padding: 24px 28px;
  background: rgba(13, 13, 24, 0.5);
  border: 1px solid var(--sp-line);
  align-items: flex-start;
  backdrop-filter: blur(6px);
  transition: border-color 0.3s, background 0.3s;
}
.sp-process-step.is-active {
  border-color: var(--sp-gold);
  background: rgba(212, 165, 116, 0.06);
}
.sp-process-step.is-done {
  opacity: 0.6;
}
.sp-process-mark {
  font-family: 'Noto Serif KR', serif;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sp-line);
  border-radius: 50%;
  font-size: 14px;
  color: var(--sp-mute);
  flex-shrink: 0;
}
.sp-process-step.is-active .sp-process-mark {
  border-color: var(--sp-gold);
  color: var(--sp-gold);
  animation: sp-process-spin 2s linear infinite;
}
.sp-process-step.is-done .sp-process-mark {
  border-color: var(--sp-gold);
  color: var(--sp-gold);
  background: rgba(212, 165, 116, 0.1);
}
@keyframes sp-process-spin {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 165, 116, 0); }
  50%      { box-shadow: 0 0 20px 2px rgba(212, 165, 116, 0.3); }
}
.sp-process-text { flex: 1; }
.sp-process-title {
  font-family: 'Noto Serif KR', serif;
  font-size: 17px;
  color: var(--sp-ink);
  margin-bottom: 6px;
  font-weight: 500;
}
.sp-process-desc {
  font-size: 13px;
  color: var(--sp-mute);
  line-height: 1.7;
}
.sp-countdown {
  text-align: center;
  padding: 28px;
  border-top: 1px solid var(--sp-line);
  border-bottom: 1px solid var(--sp-line);
  margin-top: 32px;
}
.sp-countdown-num {
  font-family: 'Noto Serif KR', serif;
  font-size: 38px;
  color: var(--sp-gold);
  font-weight: 500;
  margin-bottom: 6px;
}
.sp-countdown-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sp-mute);
}

/* ============================================
   RESULT — 결과 보고서 페이지
   ============================================ */
.sp-pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--sp-line);
  margin: 18px 0 8px;
}
.sp-pillar {
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid var(--sp-line-soft);
  background: rgba(4, 4, 16, 0.5);
}
.sp-pillar:last-child { border-right: 0; }
.sp-pillar-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--sp-mute);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sp-pillar-han {
  font-family: 'Noto Serif KR', 'Source Han Serif', serif;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--sp-gold);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 8px;
}
.sp-pillar-han-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sp-pillar-kor {
  font-size: 11px;
  color: var(--sp-mute);
  letter-spacing: 0.05em;
}

.sp-ohaeng-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.sp-ohaeng {
  text-align: center;
  padding: 16px 8px;
  border: 1px solid var(--sp-line);
  background: rgba(4, 4, 16, 0.4);
}
.sp-ohaeng-han {
  font-family: 'Noto Serif KR', serif;
  font-size: 26px;
  color: var(--sp-gold);
  font-weight: 500;
  margin-bottom: 6px;
}
.sp-ohaeng-state {
  font-size: 10px;
  color: var(--sp-mute);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.sp-ohaeng-state.is-low  { color: #c98a8a; }
.sp-ohaeng-state.is-high { color: #c9b78a; }
.sp-ohaeng-state.is-ok   { color: #8ac9a4; }

/* NAME CARD */
.sp-name-card {
  background: rgba(13, 13, 24, 0.6);
  border: 1px solid var(--sp-gold);
  padding: 36px 36px 32px;
  margin-bottom: 24px;
  text-align: center;
}
.sp-name-rank {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--sp-gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sp-name-han {
  font-family: 'Noto Serif KR', 'Source Han Serif', serif;
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 500;
  color: var(--sp-ink);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-shadow: 0 0 40px rgba(212, 165, 116, 0.2);
}
.sp-name-kor {
  font-family: 'Noto Serif KR', serif;
  font-size: 22px;
  color: var(--sp-gold);
  font-weight: 500;
  margin-bottom: 16px;
}
.sp-name-meta {
  font-size: 12.5px;
  color: var(--sp-mute);
  line-height: 1.8;
}

/* EVIDENCE */
.sp-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
  text-align: left;
}
.sp-evidence {
  padding: 22px 24px;
  background: rgba(4, 4, 16, 0.5);
  border-left: 2px solid var(--sp-gold-soft);
}
.sp-evidence-num {
  font-family: 'Noto Serif KR', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--sp-gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sp-evidence-title {
  font-family: 'Noto Serif KR', serif;
  font-size: 15px;
  color: var(--sp-ink);
  margin-bottom: 10px;
  font-weight: 500;
}
.sp-evidence-body {
  font-size: 13px;
  color: #b8b4a7;
  line-height: 1.8;
}
.sp-evidence-body strong { color: var(--sp-gold-soft); font-weight: 500; }

/* SCHOOL TABLE */
.sp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 13.5px;
}
.sp-table th,
.sp-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--sp-line);
  vertical-align: top;
  line-height: 1.8;
}
.sp-table th {
  font-family: 'Noto Serif KR', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sp-gold);
  font-weight: 500;
  border-bottom-color: var(--sp-gold-soft);
}
.sp-table td { color: #b8b4a7; }
.sp-table td strong { color: var(--sp-ink); font-weight: 500; }
.sp-table tr.is-main { background: rgba(212, 165, 116, 0.04); }

/* SIMPLE PROSE — 결과 본문 단락 */
.sp-prose {
  font-size: 14.5px;
  line-height: 1.95;
  color: #b8b4a7;
}
.sp-prose strong { color: var(--sp-gold-soft); font-weight: 500; }
.sp-prose p { margin-bottom: 14px; }

/* CTA STRIP — result 하단 의뢰/PDF */
.sp-cta-strip {
  padding: 56px 40px;
  text-align: center;
  border-top: 1px solid var(--sp-line);
  margin-top: 56px;
}
.sp-cta-strip-title {
  font-family: 'Noto Serif KR', serif;
  font-size: 24px;
  color: var(--sp-ink);
  margin-bottom: 12px;
  font-weight: 500;
}
.sp-cta-strip-sub {
  font-size: 13.5px;
  color: var(--sp-mute);
  margin-bottom: 28px;
  line-height: 1.8;
}

/* ============================================
   FAQ — 아코디언
   ============================================ */
.sp-faq-group {
  margin-bottom: 48px;
}
.sp-faq-group-title {
  font-family: 'Noto Serif KR', serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sp-gold);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sp-line);
}
.sp-faq-item {
  border-bottom: 1px solid var(--sp-line-soft);
}
.sp-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  user-select: none;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  color: var(--sp-ink);
  font-family: 'Noto Serif KR', serif;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
}
.sp-faq-q:hover { color: var(--sp-gold); }
.sp-faq-q::after {
  content: '+';
  color: var(--sp-gold);
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.sp-faq-item.is-open .sp-faq-q::after { transform: rotate(45deg); }
.sp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.sp-faq-item.is-open .sp-faq-a { max-height: 600px; }
.sp-faq-a-inner {
  padding: 0 0 22px;
  font-size: 14px;
  line-height: 1.95;
  color: #b8b4a7;
}
.sp-faq-a-inner p { margin-bottom: 10px; }
.sp-faq-a-inner strong { color: var(--sp-gold-soft); font-weight: 500; }
.sp-faq-a-inner ul { padding-left: 22px; margin: 8px 0 12px; }
.sp-faq-a-inner li { margin-bottom: 6px; }

/* Responsive */
@media (max-width: 900px) {
  .sp-header { padding: 20px 24px; }
  .sp-nav { display: none; }
  .sp-hero { padding: 0 24px; }
  .sp-hero-eyebrow { font-size: 10px; letter-spacing: 0.4em; padding: 0 20px; }
  .sp-hero-eyebrow::before, .sp-hero-eyebrow::after { width: 12px; }
  .sp-hero-stats { padding: 20px 24px; gap: 18px; }
  .sp-stat-line { height: 36px; }
  .sp-virtues { padding: 100px 24px; }
  .sp-virtue-list { grid-template-columns: 1fr; gap: 40px; }
  .sp-covenant { padding: 100px 24px; }
  .sp-subhero { padding: 130px 24px 60px; }
  .sp-container, .sp-container-wide { padding: 0 20px 80px; }
  .sp-card { padding: 28px 24px; }
  .sp-pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-pillar:nth-child(2) { border-right: 0; }
  .sp-pillar:nth-child(-n+2) { border-bottom: 1px solid var(--sp-line-soft); }
  .sp-ohaeng-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .sp-evidence-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sp-hero-stats { flex-direction: column; gap: 16px; padding: 22px 24px; }
  .sp-stat-line { width: 36px; height: 1px; }
  .sp-radio-row, .sp-check-row { flex-direction: column; gap: 14px; }
}
