:root {
  --blush: #f7e6df;
  --peach: #f0c9b8;
  --coral: #e8957a;
  --coral-deep: #c46a55;
  --mint: #c8ddd4;
  --mint-deep: #7fa896;
  --cream: #fff8f4;
  --sand: #f5ebe4;
  --ink: #4a3530;
  --ink-soft: #6b524c;
  --muted: #8a726b;
  --white: #ffffff;
  --card: #fffcfa;
  --shadow: 0 8px 28px rgba(74, 53, 48, 0.08);
  --shadow-sm: 0 4px 14px rgba(74, 53, 48, 0.06);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --radius-pill: 999px;
  --font-display: "Song Myung", "Noto Serif KR", serif;
  --font-body: "Pretendard", "Noto Sans KR", sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #fde8df 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #dceee6 0%, transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
  background-attachment: fixed;
  line-height: 1.7;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--coral-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.15rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 244, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 149, 122, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo span {
  color: var(--coral);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--coral-deep);
}

.nav-toggle {
  display: none;
  border: none;
  background: var(--blush);
  color: var(--ink);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral) 0%, #de7d62 100%);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(232, 149, 122, 0.35);
}

.btn-primary:hover {
  color: var(--white);
}

.btn-soft {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(232, 149, 122, 0.25);
}

.btn-soft:hover {
  color: var(--ink);
  background: var(--blush);
}

.btn-mint {
  background: var(--mint);
  color: var(--ink);
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(243, 213, 200, 0.7);
  overflow: hidden;
}

.card-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid rgba(232, 149, 122, 0.12);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint-deep);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.lead {
  font-size: 1.08rem;
  max-width: 38rem;
}

/* Home hero — brand-forward, asymmetric */
.hero-home {
  padding: 3.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.hero-home-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: end;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.25rem;
  animation: rise-in 0.8s ease both;
}

.brand-mark em {
  font-style: normal;
  color: var(--coral);
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 28rem;
  margin-bottom: 1.75rem;
  animation: rise-in 0.9s 0.12s ease both;
}

.hero-visual {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: fade-scale 1s 0.2s ease both;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(232, 149, 122, 0.25));
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
  opacity: 0.55;
  animation: float 8s ease-in-out infinite;
}

.blob-a {
  width: 220px;
  height: 220px;
  background: var(--peach);
  top: 10%;
  left: -40px;
}

.blob-b {
  width: 180px;
  height: 180px;
  background: var(--mint);
  bottom: 5%;
  right: 8%;
  animation-delay: -3s;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding: 1.75rem 0 0.5rem;
  animation: rise-in 1s 0.25s ease both;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--coral-deep);
  font-weight: 400;
}

.proof-item span {
  font-size: 0.88rem;
  color: var(--muted);
}

.benefit-list {
  display: grid;
  gap: 1rem;
}

.benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(243, 213, 200, 0.65);
  transition: transform 0.25s ease;
}

.benefit:hover {
  transform: translateY(-3px);
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, var(--blush), var(--mint));
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.pill {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--blush);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.quote {
  position: relative;
  padding: 1.5rem;
}

.quote p {
  font-size: 1.02rem;
  font-style: italic;
  color: var(--ink);
}

.quote footer {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-style: normal;
}

.stars {
  color: var(--coral);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero .brand-inline {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--coral);
  margin-bottom: 0.4rem;
}

.page-hero h1 {
  max-width: 18ch;
}

.page-hero-media {
  margin-top: 2rem;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.page-hero-media img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: linear-gradient(165deg, #fff 0%, #fde8df 100%);
  border-color: rgba(232, 149, 122, 0.45);
  transform: scale(1.03);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--coral-deep);
  margin: 0.5rem 0 1rem;
}

.price-amount small {
  font-size: 0.95rem;
  color: var(--muted);
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.price-list li {
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(232, 149, 122, 0.25);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(232, 149, 122, 0.35);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(232, 149, 122, 0.2);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  display: none;
  color: #b54a3c;
  font-size: 0.82rem;
  margin-top: 0.3rem;
}

.form-group.has-error .field-error {
  display: block;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #b54a3c;
}

.form-status {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.form-status.success {
  display: block;
  background: #e4f3eb;
  color: #2f6b4f;
}

.form-status.error {
  display: block;
  background: #fde8e4;
  color: #8f3a30;
}

.contact-panel {
  padding: 1.5rem;
}

.contact-panel dl {
  margin: 0;
}

.contact-panel dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 1rem;
}

.contact-panel dd {
  margin: 0.25rem 0 0;
  color: var(--ink);
}

.faq details {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(243, 213, 200, 0.65);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

.faq details p {
  margin: 0.75rem 0 0;
}

.module-list {
  counter-reset: mod;
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-list li {
  counter-increment: mod;
  padding: 1.1rem 1.1rem 1.1rem 3.5rem;
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(243, 213, 200, 0.65);
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  font-family: var(--font-display);
  color: var(--coral);
  font-size: 1.1rem;
}

.avatar-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.avatar-row img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.blog-list article {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.blog-list article img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.article-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
}

.prose ul, .prose ol {
  color: var(--ink-soft);
  padding-left: 1.25rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.25rem 0;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.legal-table th,
.legal-table td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid rgba(232, 149, 122, 0.18);
  vertical-align: top;
}

.legal-table th {
  background: var(--blush);
  color: var(--ink);
  font-weight: 600;
}

.site-footer {
  margin-top: 3rem;
  background: linear-gradient(180deg, #efe0d8 0%, #e8d4c8 100%);
  border-top: 1px solid rgba(232, 149, 122, 0.25);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h3 {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--coral-deep);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.footer-address,
.footer-phone {
  font-size: 0.9rem;
  color: var(--ink-soft);
  white-space: pre-line;
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(74, 53, 48, 0.12);
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: min(100% - 2rem, 640px);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(74, 53, 48, 0.18);
  border: 1px solid rgba(232, 149, 122, 0.35);
  padding: 1.25rem 1.35rem;
  z-index: 200;
  transition: transform 0.4s ease;
}

.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
}

.cookie-banner p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.cookie-actions a {
  font-size: 0.85rem;
  margin-right: auto;
}

.error-box {
  display: none;
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  background: #fde8e4;
  color: #8f3a30;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.error-box.is-visible {
  display: block;
}

.not-found {
  text-align: center;
  padding: 5rem 0;
}

.not-found .big {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--peach);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.inline-script-error {
  background: #fde8e4;
  color: #8f3a30;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin: 0.5rem 0;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-scale {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (max-width: 900px) {
  .hero-home-grid,
  .grid-3,
  .pricing-grid,
  .footer-grid,
  .grid-2,
  .blog-list article {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(232, 149, 122, 0.2);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .header-inner {
    position: relative;
  }

  .page-hero-media img {
    aspect-ratio: 16 / 9;
  }
}
