:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #66736f;
  --paper: #fbfaf7;
  --mist: #e8f1ee;
  --line: #d7e3df;
  --teal: #0f766e;
  --teal-dark: #0b4f4b;
  --rose: #b54f66;
  --gold: #b58b2a;
  --kakao: #fee500;
  --kakao-ink: #2f2417;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(17, 38, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(215, 227, 223, 0.85);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--rose));
  border-radius: 50%;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--teal-dark);
}

.section-band {
  padding: clamp(64px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.94) 0%, rgba(251, 250, 247, 0.84) 43%, rgba(251, 250, 247, 0.4) 70%, rgba(251, 250, 247, 0.22) 100%),
    linear-gradient(180deg, rgba(232, 241, 238, 0.34), rgba(245, 226, 219, 0.34)),
    url("./assets/hero-bg.png");
  background-size: cover;
  background-position: center;
}

.sub-hero {
  min-height: auto;
  padding-top: clamp(72px, 8vw, 120px);
  padding-bottom: clamp(56px, 7vw, 92px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--rose);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: 0;
  overflow-wrap: normal;
}

h2 {
  margin: 0 0 28px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 24px;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #35423f;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
}

.keyword-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.keyword-line span {
  padding: 8px 12px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.contact-actions {
  width: min(440px, 100%);
  margin-top: 34px;
}

.top-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.action-button,
.inline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  color: var(--white);
  background: var(--teal);
  border: 1px solid rgba(11, 79, 75, 0.24);
  border-radius: 8px;
  box-shadow: 0 12px 25px rgba(15, 118, 110, 0.22);
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.action-button:hover,
.inline-button:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.community-button {
  width: 100%;
  margin-top: 12px;
  background: var(--rose);
  box-shadow: 0 12px 25px rgba(181, 79, 102, 0.2);
}

.community-button:hover {
  background: #913d53;
}

.top-actions .action-button:nth-child(2),
.floating-contact a:last-child {
  color: var(--kakao-ink);
  background: var(--kakao);
  border-color: rgba(47, 36, 23, 0.14);
  box-shadow: 0 12px 25px rgba(254, 229, 0, 0.28);
}

.top-actions .action-button:nth-child(2):hover,
.floating-contact a:last-child:hover {
  background: #f7d900;
}

.icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 14px;
  font-weight: 900;
}

.hero-panel {
  width: min(420px, 100%);
  justify-self: end;
  padding: clamp(24px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.panel-stat strong {
  display: block;
  color: var(--teal-dark);
  font-size: clamp(44px, 6vw, 70px);
  line-height: 1;
}

.panel-stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.panel-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.panel-list span {
  padding: 14px 16px;
  background: rgba(232, 241, 238, 0.9);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  font-weight: 800;
}

.light {
  background: var(--white);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

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

.course-card {
  padding: 28px;
  min-height: 190px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.course-card.featured {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-color: transparent;
}

.time {
  margin: 28px 0 8px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 800;
}

.featured .time {
  color: rgba(255, 255, 255, 0.8);
}

.price {
  margin: 0;
  font-size: 34px;
  font-weight: 900;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.rich-text p {
  margin: 0 0 18px;
  color: #35423f;
  font-size: 18px;
  line-height: 1.82;
}

.section-lead {
  max-width: 900px;
  margin: -8px 0 28px;
  color: #35423f;
  font-size: 18px;
  line-height: 1.78;
}

.intro-section .two-column {
  margin-bottom: 34px;
}

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

.feature-card,
.step-card {
  min-height: 190px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card h3,
.step-card h3 {
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 21px;
}

.feature-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.course-desc {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.featured .course-desc {
  color: rgba(255, 255, 255, 0.82);
}

.area-list,
.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.area-list span,
.keyword-cloud span {
  padding: 10px 14px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  font-weight: 800;
}

.area-list a,
.keyword-cloud a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  font-weight: 800;
}

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

.region-card {
  min-height: 180px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.region-card h3 {
  margin-bottom: 12px;
  color: var(--teal-dark);
}

.region-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.text-link {
  color: var(--rose);
  font-weight: 900;
}

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

.step-card {
  background: var(--white);
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--rose);
  border-radius: 50%;
  font-weight: 900;
}

.guide-section {
  background: #f6efe9;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list p {
  position: relative;
  margin: 0;
  padding: 16px 18px 16px 46px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(181, 79, 102, 0.18);
  border-radius: 8px;
  color: #35423f;
  line-height: 1.7;
}

.check-list p::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 10px;
  height: 10px;
  background: var(--rose);
  border-radius: 50%;
}

.recruit {
  background: var(--mist);
}

.seo-section {
  border-top: 1px solid var(--line);
}

.inline-button {
  margin-top: 8px;
}

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

details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  min-height: 58px;
  padding: 18px 20px;
  cursor: pointer;
  color: var(--teal-dark);
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.75;
}

.site-footer {
  padding: 36px 18px 92px;
  color: rgba(255, 255, 255, 0.84);
  background: var(--teal-dark);
  text-align: center;
}

.site-footer p {
  margin: 8px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.footer-links a {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  gap: 10px;
}

.floating-contact a {
  min-width: 104px;
  padding: 13px 16px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(15, 118, 110, 0.28);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.floating-contact a:last-child {
  background: var(--kakao);
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .hero-panel {
    justify-self: start;
  }

  .course-grid,
  .two-column,
  .feature-grid,
  .step-grid,
  .region-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .section-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .contact-actions {
    width: min(360px, 92vw);
  }

  .top-actions {
    gap: 10px;
  }

  .action-button {
    min-height: 50px;
    padding: 0 10px;
    font-size: 15px;
  }

  .community-button {
    width: 100%;
  }

  .keyword-line span {
    font-size: 13px;
  }

  .feature-card,
  .step-card,
  .course-card {
    min-height: auto;
    padding: 22px;
  }

  .area-list span,
  .area-list a,
  .keyword-cloud a,
  .keyword-cloud span {
    font-size: 13px;
  }

  .floating-contact {
    left: 50%;
    right: auto;
    bottom: 14px;
    transform: translateX(-50%);
    width: min(340px, calc(100vw - 28px));
  }

  .floating-contact a {
    flex: 1;
    min-width: 0;
  }
}
