:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5d6677;
  --soft: #f5f8ff;
  --softer: #eef7f6;
  --paper: #ffffff;
  --line: #e3e8f2;
  --blue: #176cff;
  --blue-dark: #0d4de3;
  --mint: #4bd8bd;
  --navy: #101a36;
  --lavender: #f0efff;
  --shadow: 0 24px 70px rgba(25, 45, 90, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 94px;
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body.is-locked {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.mobile-only {
  display: none;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  padding: 0 clamp(22px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(227, 232, 242, 0.75);
  backdrop-filter: blur(18px);
}

.brand,
.hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark,
.hero-logo-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(23, 108, 255, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  color: #0f172a;
  font-size: 16px;
  font-weight: 850;
}

.nav-links a {
  padding: 10px 0;
}

.nav-links a:hover,
.header-cta:hover {
  color: var(--blue);
}

.header-cta,
.primary-button,
.secondary-button,
.mini-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.header-cta,
.primary-button,
.mini-button {
  color: #ffffff;
  background: linear-gradient(180deg, #2290ff, var(--blue));
  box-shadow: 0 18px 34px rgba(23, 108, 255, 0.25);
}

.secondary-button {
  color: var(--blue);
  background: #ffffff;
  border: 1px solid rgba(23, 108, 255, 0.18);
}

.secondary-button.light {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 88px);
  padding: clamp(46px, 7vw, 86px) clamp(22px, 5vw, 72px) clamp(92px, 9vw, 116px);
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 18% 28%, rgba(75, 216, 189, 0.22), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(23, 108, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 68%, #ffffff 100%);
}

.hero > * {
  max-width: 980px;
}

.hero-logo {
  margin-bottom: 26px;
  color: var(--blue);
  font-size: 26px;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.04;
  font-weight: 950;
}

h1 span {
  display: inline-block;
  min-width: min(640px, 86vw);
  color: var(--blue);
  transition: transform 180ms ease, opacity 180ms ease;
}

h1 span.is-changing {
  opacity: 0;
  transform: translateY(12px);
}

h1 .hero-fee {
  display: inline-block;
  min-width: 0;
  color: inherit;
  white-space: nowrap;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.16;
  font-weight: 950;
}

h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.34;
  font-weight: 920;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.76;
}

.hero-sub {
  margin-bottom: 16px;
  color: #263247;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  font-weight: 750;
}

.hero-support {
  margin-right: auto;
  margin-bottom: 24px;
  margin-left: auto;
  max-width: 780px;
  font-size: 17px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-note {
  margin: 24px auto 0;
  max-width: 760px;
  color: #6c7483;
  font-size: 14px;
}

.marquee-section {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--navy);
}

.marquee-track {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  display: grid;
  min-height: 76px;
  place-items: center;
  padding: 0 36px;
  color: #ffffff;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 18px;
  font-weight: 900;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: clamp(76px, 10vw, 132px) clamp(22px, 5vw, 72px);
}

.section > *,
.final-cta > * {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading.center {
  text-align: center;
}

.attention-heading {
  position: relative;
  display: inline-block;
  padding: 0 0.12em 0.14em;
  animation: titleBlink 1.25s ease-in-out infinite;
}

.attention-heading::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.32em;
  z-index: -1;
  background: rgba(16, 26, 54, 0.12);
  border-radius: 999px;
  animation: underlineBlink 1.25s ease-in-out infinite;
}

.attention-kicker {
  animation: kickerBlink 1.25s ease-in-out infinite;
}

@keyframes titleBlink {
  0%,
  100% {
    color: var(--navy);
    opacity: 1;
    text-shadow: none;
    transform: scale(1);
  }

  45%,
  55% {
    color: var(--navy);
    opacity: 0.58;
    text-shadow: 0 0 18px rgba(16, 26, 54, 0.2);
    transform: scale(1.012);
  }
}

@keyframes underlineBlink {
  0%,
  100% {
    opacity: 0.16;
    transform: scaleX(0.7);
  }

  45%,
  55% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes kickerBlink {
  0%,
  100% {
    opacity: 1;
  }

  45%,
  55% {
    opacity: 0.46;
    text-shadow: none;
  }
}

.empathy {
  max-width: none;
  background: #ffffff;
}

.empathy p {
  max-width: 850px;
  color: #3a4455;
  font-size: 22px;
  font-weight: 650;
}

.diagnosis-section {
  background:
    linear-gradient(90deg, rgba(23, 108, 255, 0.05), transparent 48%),
    var(--soft);
}

.diagnosis-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(34px, 7vw, 90px);
}

.diagnosis-phone {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  padding: 28px 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.phone-header span {
  width: 12px;
  height: 12px;
  background: var(--mint);
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(75, 216, 189, 0.13);
}

.analysis-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}

.analysis-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: #f7f9ff;
  border: 1px solid transparent;
  border-radius: var(--radius);
  opacity: 0.68;
  transition: opacity 260ms ease, transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.analysis-item.is-done {
  background: #ffffff;
  border-color: rgba(23, 108, 255, 0.18);
  opacity: 1;
  transform: translateY(-2px);
}

.status-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #ffffff;
  background: #a8b3c7;
  border-radius: 999px;
  font-weight: 900;
}

.analysis-item.is-done .status-icon {
  background: var(--blue);
}

.analysis-item strong,
.analysis-item b {
  color: var(--navy);
}

.analysis-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.analysis-item b {
  font-size: 14px;
  white-space: nowrap;
}

.mini-button {
  width: 100%;
}

.courses {
  background: #ffffff;
}

.course-grid,
.strength-grid,
.review-grid,
.trust-grid {
  display: grid;
  gap: 18px;
}

.course-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.course-card,
.strength-grid article,
.review-grid blockquote,
.trust-grid div,
.faq-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(25, 45, 90, 0.06);
}

.course-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 28px;
}

.course-card.featured {
  border-color: rgba(23, 108, 255, 0.42);
  box-shadow: 0 24px 65px rgba(23, 108, 255, 0.14);
}

.badge {
  align-self: flex-start;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  margin-bottom: 20px;
  color: var(--blue);
  background: var(--lavender);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.badge-soft {
  color: #047f6f;
  background: #e8fbf7;
}

.course-card dl {
  display: grid;
  gap: 12px;
  margin: 10px 0 18px;
}

.course-card dl div {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf1f7;
}

.course-card dt {
  color: #7a8496;
  font-size: 13px;
  font-weight: 850;
}

.course-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.course-card .price {
  color: var(--blue);
  font-size: 24px;
  animation: pricePulse 2.5s ease-in-out infinite;
}

@keyframes pricePulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.035);
  }
}

.course-card p {
  margin-bottom: 0;
  font-size: 16px;
}

.strengths {
  background: var(--soft);
}

.strength-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.strength-grid article {
  padding: 30px;
}

.strength-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 30px;
  font-weight: 950;
}

.reviews {
  background: #ffffff;
}

.review-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.review-grid blockquote {
  margin: 0;
  padding: 30px;
  color: #202a3d;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.65;
}

.review-note {
  max-width: 760px;
  margin-top: 28px;
  text-align: center;
}

.trust {
  background:
    radial-gradient(circle at 22% 14%, rgba(75, 216, 189, 0.18), transparent 30%),
    var(--soft);
  text-align: center;
}

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 30px;
}

.trust-grid div {
  padding: 34px 24px;
}

.trust-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 950;
}

.trust-grid span {
  color: var(--navy);
  font-weight: 850;
}

.faq {
  background: #ffffff;
}

.faq-list {
  display: grid;
  max-width: 880px;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  color: var(--navy);
  background: #ffffff;
  border: 0;
  font-size: 19px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-item button span {
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
}

.faq-item p {
  max-height: 0;
  padding: 0 26px;
  margin: 0;
  overflow: hidden;
  transition: max-height 260ms ease, padding 260ms ease;
}

.faq-item.is-open p {
  max-height: 180px;
  padding-bottom: 24px;
}

.final-cta {
  padding: clamp(82px, 10vw, 130px) clamp(22px, 5vw, 72px);
  color: #ffffff;
  text-align: center;
  background:
    radial-gradient(circle at 78% 16%, rgba(75, 216, 189, 0.28), transparent 26%),
    linear-gradient(135deg, #101a36, #0e3b96 62%, #176cff);
}

.final-cta h2,
.final-cta p {
  color: #ffffff;
}

.final-cta p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.final-cta .section-kicker {
  color: #bcecff;
}

address {
  margin-top: 34px;
  color: #ffffff;
  font-size: 23px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.55;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: auto;
  z-index: 40;
  display: grid;
  width: min(360px, calc(100vw - 36px));
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(227, 232, 242, 0.92);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(16, 26, 54, 0.22);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(22px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sticky-cta span {
  padding: 4px 0 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.sticky-cta a {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: #ffffff;
  background: linear-gradient(180deg, #2290ff, var(--blue));
  border-radius: 999px;
  font-weight: 900;
  text-align: center;
}

.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.consult-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.consult-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(7px);
}

.consult-dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100svh - 44px);
  overflow-y: auto;
  padding: 32px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(16, 26, 54, 0.28);
  transform: translateY(16px) scale(0.98);
  transition: transform 220ms ease;
}

.consult-modal.is-open .consult-dialog {
  transform: translateY(0) scale(1);
}

.consult-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  color: var(--muted);
  background: #f4f7fb;
  border: 0;
  border-radius: 999px;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.consult-form-wrap h2 {
  margin-bottom: 10px;
  font-size: 32px;
}

.consult-form-wrap.is-submitted [data-consult-intro] {
  display: none;
}

.consult-form-wrap.is-submitted .consult-form {
  display: none !important;
}

.consult-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.consult-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
}

.consult-form input,
.consult-form select {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
}

.consult-form input:focus,
.consult-form select:focus {
  outline: 3px solid rgba(23, 108, 255, 0.14);
  border-color: var(--blue);
}

.consult-form button {
  min-height: 56px;
  margin-top: 8px;
  color: #ffffff;
  background: linear-gradient(180deg, #2290ff, var(--blue));
  border: 0;
  border-radius: 999px;
  font-weight: 950;
  cursor: pointer;
}

.consult-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.consult-hp {
  position: absolute;
  left: -9999px;
}

.consult-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.consult-message {
  margin-top: 18px;
  padding: 16px;
  color: #046c4e;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 14px;
  font-weight: 900;
  line-height: 1.55;
}

.consult-form-wrap.is-submitted .consult-message {
  margin-top: 0;
}

.consult-message.is-error {
  color: #b42318;
  background: #fff1f0;
  border-color: #ffccc7;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms ease var(--reveal-delay, 0ms), transform 620ms ease var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .course-grid,
  .strength-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 72px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
  }

  .hero-logo {
    margin-bottom: 28px;
    font-size: 22px;
  }

  .diagnosis-card {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 104px;
  }

  .site-header {
    min-height: 64px;
    padding-inline: 16px;
  }

  .brand,
  .hero-logo {
    gap: 8px;
  }

  .brand-mark,
  .hero-logo-icon {
    width: 34px;
    height: 34px;
  }

  .brand span:last-child {
    max-width: 144px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
  }

  .header-cta {
    width: 52px;
    min-height: 40px;
    padding-inline: 0;
    font-size: 0;
    box-shadow: 0 10px 22px rgba(23, 108, 255, 0.22);
  }

  .header-cta::after {
    content: "상담";
    font-size: 13px;
  }

  .hero {
    min-height: calc(100svh - 64px);
    padding: 40px 22px 54px;
  }

  .hero-logo {
    margin-bottom: 18px;
    font-size: 20px;
  }

  .hero-kicker,
  .section-kicker {
    margin-bottom: 12px;
    font-size: 13px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(31px, 9.6vw, 36px);
    line-height: 1.11;
    word-break: keep-all;
  }

  h1 span {
    min-width: 0;
  }

  h1 .hero-fee {
    font-size: clamp(24px, 6.2vw, 28px);
  }

  .mobile-only {
    display: block;
  }

  h2 {
    font-size: 26px;
    line-height: 1.22;
    word-break: keep-all;
  }

  h3 {
    font-size: 20px;
  }

  p,
  .empathy p {
    font-size: 16px;
    line-height: 1.68;
  }

  .hero-sub {
    max-width: 320px;
    margin-right: auto;
    margin-bottom: 14px;
    margin-left: auto;
    font-size: 17px;
    line-height: 1.46;
  }

  .hero-sub br {
    display: none;
  }

  .hero-support {
    max-width: 320px;
    margin-right: auto;
    margin-bottom: 22px;
    margin-left: auto;
    font-size: 15px;
    line-height: 1.62;
    word-break: keep-all;
  }

  .hero-note {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.56;
  }

  .hero-actions,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .primary-button,
  .secondary-button,
  .mini-button {
    min-height: 52px;
    padding-inline: 18px;
  }

  .marquee-track span {
    min-height: 62px;
    padding-inline: 18px;
    font-size: 15px;
  }

  .course-grid,
  .strength-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 22px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .diagnosis-card {
    gap: 28px;
  }

  .diagnosis-phone {
    padding: 20px;
    border-radius: 22px;
  }

  .analysis-item {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    padding: 15px;
  }

  .analysis-item b {
    grid-column: 2;
  }

  .course-card,
  .strength-grid article,
  .review-grid blockquote,
  .trust-grid div {
    padding: 24px;
  }

  .course-card dl {
    gap: 10px;
  }

  .course-card .price {
    font-size: 22px;
  }

  .faq-item button {
    padding: 20px;
    font-size: 17px;
  }

  .faq-item p {
    padding-inline: 20px;
  }

  .faq-item.is-open p {
    padding-bottom: 20px;
  }

  .final-cta {
    padding: 66px 22px;
  }

  .sticky-cta {
    right: 18px;
    left: 18px;
    width: auto;
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .sticky-cta span {
    padding: 4px 0 0;
    text-align: center;
  }

  .sticky-cta a {
    width: 100%;
    min-height: 48px;
  }

  .consult-modal {
    align-items: end;
    padding: 14px;
  }

  .consult-dialog {
    width: 100%;
    max-height: calc(100svh - 28px);
    padding: 26px 20px 22px;
    border-radius: 20px;
  }

  .consult-form-wrap h2 {
    font-size: 25px;
  }

  .consult-form input,
  .consult-form select {
    min-height: 50px;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding-inline: 12px;
  }

  .brand span:last-child {
    max-width: 128px;
  }

  h1 {
    font-size: 30px;
  }

  .hero {
    padding-inline: 18px;
  }
}
