:root {
  --navy: #0b1f33;
  --navy-deep: #071523;
  --steel: #12324f;
  --teal: #2fd6c0;
  --teal-dark: #159b89;
  --amber: #f2b544;
  --ink: #eaf2f8;
  --sub: #9fb7c9;
  --paper: #ffffff;
  --paper-ink: #132238;
  --paper-sub: #5d6a79;
  --line: #dbe3ea;
  --max: 1120px;
  --shadow: 0 24px 70px rgba(4, 17, 29, 0.18);
  --font: "Pretendard Variable", Pretendard, "Malgun Gothic", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--paper-ink);
  font-family: var(--font);
  line-height: 1.62;
  word-break: keep-all;
  background: var(--paper);
}

body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }

.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  color: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 21, 35, 0.94);
  backdrop-filter: blur(18px);
}

.nav-inner,
.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-copy { min-width: 0; }
.brand-copy strong,
.brand-copy small { display: block; }
.brand-copy strong { font-size: 1.5rem; line-height: 1.2; }
.brand-copy small { margin-top: 3px; color: var(--sub); font-size: 0.64rem; letter-spacing: 0.09em; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--sub);
  font-size: 0.9rem;
  font-weight: 760;
  white-space: nowrap;
}

.nav-actions > a { padding: 9px 12px; }
.nav-actions > a:hover { color: #fff; }
.nav-actions .nav-cta {
  margin-left: 5px;
  color: var(--navy-deep);
  border-radius: 9px;
  background: var(--teal);
  font-weight: 900;
}

.grid-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.55;
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: center;
  gap: 54px;
  padding: clamp(80px, 10vw, 130px) max(20px, calc((100vw - var(--max)) / 2));
  color: var(--ink);
  background:
    radial-gradient(circle at 83% 15%, rgba(47, 214, 192, 0.16), transparent 38%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 72%, #050d17 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

.hero-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  top: 50%;
  right: 8%;
  border-radius: 50%;
  background: rgba(47, 214, 192, 0.08);
  filter: blur(30px);
  transform: translateY(-50%);
}

.hero-inner,
.hero-summary { position: relative; z-index: 1; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 5.7vw, 5.8rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.search-title {
  display: block;
  margin-bottom: 16px;
  color: var(--amber);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.hero h1 .hero-line { color: inherit; white-space: nowrap; }
.hero h1 strong { color: var(--teal); }

.hero-lead {
  max-width: 690px;
  margin: 26px 0 0;
  color: var(--sub);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.hero-lead strong { color: var(--ink); }

/* 답변엔진(AI 요약) 추출용 직답 문단 — 첫 화면에서 질문에 바로 답한다 */
.hero-answer {
  max-width: 690px;
  margin: 20px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--amber);
  background: rgba(242, 181, 68, 0.08);
  color: var(--ink);
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  font-weight: 700;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.button,
.btn-submit,
.btn-confirm-popup {
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 900;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
}

.button.primary { color: var(--navy-deep); background: var(--teal); }
.button.secondary { color: var(--ink); border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.05); }

.hero-summary {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(18, 50, 79, 0.78), rgba(7, 21, 35, 0.78));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.hero-summary span { color: var(--amber); font-size: 0.82rem; font-weight: 850; }
.hero-summary strong { display: block; margin-top: 14px; font-size: 1.7rem; line-height: 1.25; }
.hero-summary p { margin: 15px 0 0; color: var(--sub); }

.section { padding: clamp(70px, 9vw, 112px) 0; }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head.center { margin-right: auto; margin-left: auto; text-align: center; }
.section-head h2,
.apply-copy h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.14; letter-spacing: -0.025em; }
.section-head > p:not(.eyebrow),
.apply-copy > p:not(.eyebrow) { margin: 16px 0 0; color: var(--paper-sub); font-size: 1.06rem; }

.concern-section { background: #f7fafc; }

.persona-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.persona-list article {
  min-height: 220px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(19, 34, 56, 0.06);
}

.persona-list article > span,
.step-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--navy-deep);
  border-radius: 9px;
  background: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
}

.persona-list h3,
.support-steps h3,
.feature-card h3,
.cta-panel h3 { margin: 0; line-height: 1.3; }
.persona-list p,
.support-steps p,
.feature-card p,
.cta-panel p { margin: 10px 0 0; color: var(--paper-sub); }

.comparison {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.comparison article {
  padding: 25px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.comparison article small { display: block; color: var(--paper-sub); font-weight: 760; }
.comparison article strong { display: block; margin-top: 6px; font-size: 1.22rem; }
.comparison .comparison-after { color: var(--ink); border-color: rgba(47, 214, 192, 0.45); background: var(--steel); }
.comparison .comparison-after small { color: var(--teal); }
.comparison-arrow { color: var(--teal-dark); font-size: 1.8rem; font-weight: 900; }

.support-section {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: var(--navy-deep);
}

.support-section .section-inner { position: relative; z-index: 1; }
.section-head.light > p:not(.eyebrow) { color: var(--sub); }

.support-steps { display: grid; gap: 16px; }
.support-steps article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(18, 50, 79, 0.7), rgba(11, 31, 51, 0.64));
}
.support-steps p { color: var(--sub); }

.feature-section { background: #fff; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 250px;
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f9fbfc;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(47, 214, 192, 0.14);
}
.feature-icon svg { width: 29px; height: 29px; stroke: var(--teal-dark); stroke-width: 2; }
.feature-card h3 { font-size: 1.25rem; }
.feature-card p { font-size: 1.08rem; line-height: 1.5; }

.cta-panel {
  margin-top: 28px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(47, 214, 192, 0.14), rgba(242, 181, 68, 0.1)),
    var(--navy);
}
.cta-panel h3 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
.cta-panel p { color: var(--sub); }
.cta-panel .button { flex: none; }

.faq-section { background: #f7fafc; }
.faq-list { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 24px 50px 24px 4px;
  color: var(--paper-ink);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 24px; right: 5px; content: "+"; color: var(--teal-dark); font-size: 1.35rem; line-height: 1; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: -4px 0 24px; padding: 0 54px 0 4px; color: var(--paper-sub); line-height: 1.8; }

.apply-section {
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 15%, rgba(47, 214, 192, 0.1), transparent 32%),
    #050d17;
}

.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
  align-items: center;
  gap: clamp(42px, 8vw, 96px);
}

.apply-copy > p:not(.eyebrow) { color: var(--sub); }
.apply-copy ul { margin: 28px 0 0; padding: 0; list-style: none; }
.apply-copy li { position: relative; padding: 9px 0 9px 27px; color: var(--sub); font-weight: 700; }
.apply-copy li::before { content: ""; position: absolute; top: 18px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

.apply-card {
  padding: clamp(25px, 4vw, 36px);
  color: var(--paper-ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.apply-card > h2 { margin: 0 0 23px; text-align: center; }
.form-grid { display: grid; gap: 15px; }
.form-group label { display: block; margin-bottom: 7px; color: #25334a; font-size: 0.92rem; font-weight: 850; }
.form-group input,
.form-group select,
.region-trigger {
  width: 100%;
  height: 50px;
  border: 1px solid #cfd7df;
  border-radius: 9px;
  padding: 0 13px;
  color: var(--paper-ink);
  background: #fff;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.region-trigger:focus,
.region-select.open .region-trigger { border-color: var(--teal-dark); box-shadow: 0 0 0 3px rgba(47, 214, 192, 0.16); }
.readonly { color: #748190 !important; background: #f1f4f6 !important; }

.contact-target-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-target-group legend { margin-bottom: 7px; color: #25334a; font-size: 0.92rem; font-weight: 850; }
.contact-target-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.contact-target-option { position: relative; margin: 0 !important; cursor: pointer; }
.contact-target-option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.contact-target-option span {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfd7df;
  border-radius: 9px;
  color: #536173;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 850;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}
.contact-target-option:hover span { border-color: var(--teal-dark); background: rgba(47, 214, 192, 0.08); }
.contact-target-option input:focus-visible + span { border-color: var(--teal-dark); box-shadow: 0 0 0 3px rgba(47, 214, 192, 0.16); }
.contact-target-option input:checked + span { color: var(--navy-deep); border-color: var(--teal); background: var(--teal); }

.phone-inputs {
  display: grid;
  grid-template-columns: 72px 10px minmax(0, 1fr) 10px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
}
.phone-inputs > span { color: #8a96a3; text-align: center; font-weight: 850; }

.region-select { position: relative; }
.region-trigger { display: flex; align-items: center; justify-content: space-between; cursor: pointer; text-align: left; }
.region-trigger-text.is-placeholder { color: #929eaa; }
.region-chevron { flex: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.18s ease; }
.region-select.open .region-chevron { transform: rotate(180deg); }
.region-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(7, 21, 35, 0.17);
}
.region-panel[hidden] { display: none; }
.region-option { height: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-size: 0.88rem; font-weight: 750; }
.region-option:hover { border-color: var(--teal-dark); background: rgba(47, 214, 192, 0.08); }
.region-option.selected { color: var(--navy-deep); border-color: var(--teal); background: var(--teal); }

.checkbox-label { display: flex; align-items: flex-start; gap: 9px; color: var(--paper-sub); font-size: 0.9rem; font-weight: 680; }
.checkbox-label input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--teal-dark); }
.checkbox-label a { color: var(--paper-ink); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.btn-submit { min-height: 54px; margin-top: 5px; color: var(--navy-deep); background: var(--teal); box-shadow: 0 13px 30px rgba(47, 214, 192, 0.22); }
.form-contact-actions { margin-top: 16px; padding-top: 16px; border-top: 1px solid #e6ebef; }
.kakao-action { min-height: 52px; display: flex; align-items: center; justify-content: center; color: #211a00; border: 1px solid #f0d252; border-radius: 9px; background: #fee500; font-weight: 900; }

footer {
  min-height: 80px;
  padding: 20px max(20px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--sub);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050d17;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.privacy-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 13, 23, 0.72);
}
.privacy-overlay.is-visible { display: flex; }
.privacy-box {
  position: relative;
  width: min(100%, 500px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 30px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.privacy-box h3 { margin: 0 36px 20px 0; color: var(--paper-ink); }
.privacy-body { color: var(--paper-sub); }
.privacy-body p { padding-bottom: 14px; border-bottom: 1px solid #e8edf1; }
.privacy-body p:last-child { border-bottom: 0; }
.close-btn { position: absolute; top: 16px; right: 18px; border: 0; background: transparent; cursor: pointer; font-size: 1.8rem; line-height: 1; }
.btn-confirm-popup { width: 100%; min-height: 50px; margin-top: 12px; color: var(--navy-deep); background: var(--teal); }
.result-popup-title { margin-right: 0 !important; text-align: center; }
.result-popup-message { color: var(--paper-sub); text-align: center; white-space: pre-line; }

@media (max-width: 900px) {
  .nav-actions > a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 44px; }
  .hero-summary { max-width: 560px; }
  .persona-list { grid-template-columns: 1fr; }
  .persona-list article { min-height: 0; flex-direction: row; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apply-layout { grid-template-columns: 1fr; }
  .apply-copy { max-width: 680px; }
  .apply-card { width: min(100%, 520px); }
}

@media (max-width: 640px) {
  .nav-inner,
  .section-inner { width: min(100% - 28px, var(--max)); }
  .nav-inner { min-height: 66px; }
  .brand-copy small { display: none; }
  .nav-actions .nav-cta { padding: 8px 10px; font-size: 0.82rem; }
  .hero { padding: 76px 20px 66px; }
  .hero h1 { font-size: clamp(2.25rem, 10vw, 3.2rem); }
  .hero-lead br { display: none; }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-summary { padding: 26px 22px; }
  .section { padding: 64px 0; }
  .section-head h2,
  .apply-copy h2 { font-size: 2.15rem; }
  .persona-list article { padding: 21px; gap: 16px; }
  .comparison { grid-template-columns: 1fr; }
  .comparison-arrow { justify-self: center; transform: rotate(90deg); }
  .support-steps article { padding: 23px 20px; gap: 15px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .cta-panel { align-items: stretch; flex-direction: column; padding: 27px 23px; }
  .cta-panel .button { width: 100%; }
  .faq-list summary { padding: 20px 40px 20px 2px; font-size: 0.98rem; }
  .faq-list summary::after { top: 21px; }
  .faq-list details p { margin-bottom: 20px; padding: 0 2px; font-size: 0.92rem; }
  .apply-card { padding: 24px 18px; }
  .phone-inputs { grid-template-columns: 62px 8px minmax(0, 1fr) 8px minmax(0, 1fr); gap: 5px; }
  .form-group input,
  .form-group select,
  .region-trigger { padding-right: 10px; padding-left: 10px; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
