:root {
  --bg: #faf3ef;
  --bg-soft: #f7e8e1;
  --surface: #fffaf7;
  --ink: #4a3f3a;
  --ink-soft: #7a6a63;
  --blush: #e8b4a8;
  --blush-deep: #d4897a;
  --sage: #b7cbb6;
  --sage-deep: #7f9a82;
  --lavender: #d9cce6;
  --peach: #f2c9b8;
  --cream: #fff6f0;
  --shadow: 0 12px 32px rgba(74, 63, 58, 0.08);
  --shadow-soft: 0 6px 18px rgba(74, 63, 58, 0.06);
  --radius: 1.35rem;
  --radius-sm: 0.9rem;
  --font-display: "Nanum Myeongjo", "Song Myung", serif;
  --font-body: "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%, rgba(232, 180, 168, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(183, 203, 182, 0.4), transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(217, 204, 230, 0.25), transparent 60%),
    var(--bg);
  line-height: 1.7;
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--sage-deep);
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.inline-error {
  margin: 0;
  padding: 0.85rem 1.1rem;
  background: #f8e0dc;
  color: #7a3c35;
  border-radius: var(--radius-sm);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(250, 243, 239, 0.88);
  border-bottom: 1px solid rgba(232, 180, 168, 0.35);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, var(--peach), var(--blush) 55%, var(--sage) 100%);
  box-shadow: var(--shadow-soft);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

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

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

.nav-cta {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--blush);
  color: var(--ink) !important;
  box-shadow: var(--shadow-soft);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 0;
  font-family: inherit;
  font-size: 0.98rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--blush), var(--peach));
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  box-shadow: var(--shadow);
  color: var(--ink);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid rgba(232, 180, 168, 0.55);
}

.btn-sage {
  background: linear-gradient(135deg, var(--sage), #d5e4d4);
  color: var(--ink);
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(242, 201, 184, 0.45);
  overflow: hidden;
}

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

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

.hero-home {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-home-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-home-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-home-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(250, 243, 239, 0.15) 0%, rgba(74, 63, 58, 0.45) 55%, rgba(74, 63, 58, 0.72) 100%);
}

.hero-home-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 3.5rem;
  color: #fffaf7;
  max-width: 36rem;
  animation: rise 0.9s ease both;
}

.hero-home-content .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  line-height: 1.05;
  margin: 0 0 0.85rem;
  color: #fffaf7;
  letter-spacing: -0.03em;
}

.hero-home-content p {
  color: rgba(255, 250, 247, 0.9);
  font-size: 1.08rem;
  margin-bottom: 1.4rem;
}

.hero-home-content .btn-primary {
  background: linear-gradient(135deg, #f7e8e1, #e8b4a8);
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
}

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

.section {
  padding: 3.5rem 0;
}

.section-tight {
  padding: 2.5rem 0;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  margin-bottom: 0.5rem;
}

.section-intro {
  max-width: 36rem;
  margin-bottom: 2rem;
}

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

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

.soft-panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(183, 203, 182, 0.4);
}

.soft-panel.blush {
  background: linear-gradient(160deg, #fff6f0, #f7e8e1);
  border-color: rgba(232, 180, 168, 0.5);
}

.soft-panel.sage {
  background: linear-gradient(160deg, #f4f8f3, #e4efe3);
}

.soft-panel.lavender {
  background: linear-gradient(160deg, #f8f4fb, #ebe3f3);
}

.pill {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(232, 180, 168, 0.35);
  color: var(--ink);
  font-size: 0.82rem;
  margin-bottom: 0.65rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding: 1.5rem 0 0;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--ink);
}

.trust-item span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

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

.feature-list article h3 {
  font-size: 1.2rem;
}

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

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

.quote footer {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.stars {
  letter-spacing: 0.08em;
  color: var(--blush-deep);
  margin-bottom: 0.5rem;
}

.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;
  gap: 0.75rem;
}

.price-card .amount {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
}

.price-card ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  flex: 1;
}

.price-card.featured {
  background: linear-gradient(165deg, #fff6f0, #f2c9b8 140%);
  transform: translateY(-6px);
}

.faq details {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(232, 180, 168, 0.35);
}

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

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

.form-card {
  padding: 1.75rem;
}

.field {
  margin-bottom: 1.1rem;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(232, 180, 168, 0.65);
  background: #fff;
  font: inherit;
  color: var(--ink);
}

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

.field-error {
  min-height: 1.2em;
  margin: 0.3rem 0 0;
  color: #a14a40;
  font-size: 0.88rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
}

.form-status.is-success {
  background: #e4efe3;
  color: #3f5a44;
}

.form-status.is-error {
  background: #f8e0dc;
  color: #7a3c35;
}

.address-block {
  white-space: pre-wrap;
}

.site-footer {
  margin-top: 3rem;
  background: linear-gradient(180deg, transparent, rgba(247, 232, 225, 0.85));
  border-top: 1px solid rgba(232, 180, 168, 0.35);
  padding: 3rem 0 2rem;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.footer-tag {
  margin-bottom: 1.5rem;
}

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

.footer-col h2 {
  font-size: 1rem;
  margin-bottom: 0.65rem;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.footer-contact p {
  font-size: 0.9rem;
}

.footer-copy {
  font-size: 0.85rem;
  border-top: 1px solid rgba(232, 180, 168, 0.35);
  padding-top: 1rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 720px;
  margin-inline: auto;
  animation: rise 0.5s ease both;
}

.cookie-banner-inner {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(232, 180, 168, 0.55);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner-inner p {
  margin: 0;
  flex: 1 1 260px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.55rem;
}

.prose {
  max-width: 46rem;
}

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

.prose h3 {
  margin-top: 1.4rem;
  font-size: 1.15rem;
}

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

.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 0.92rem;
}

th,
td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(232, 180, 168, 0.35);
  color: var(--ink-soft);
}

th {
  color: var(--ink);
  background: var(--bg-soft);
}

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

.instructor {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.module-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.module-list li {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(183, 203, 182, 0.35);
}

.blog-meta {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.cta-band {
  margin: 2rem 0 0;
  padding: 2.25rem;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(232, 180, 168, 0.55), rgba(183, 203, 182, 0.45)),
    var(--surface);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 0.5rem;
}

.cta-band p {
  max-width: 32rem;
  margin: 0 auto 1.25rem;
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
}

[data-reveal].reveal-ready {
  animation: rise 0.7s ease both;
}

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

@keyframes drift {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.08) translateY(-1.5%);
  }
}

@media (max-width: 900px) {
  .grid-3,
  .pricing-grid,
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 250, 247, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(232, 180, 168, 0.4);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 0.55rem 0;
  }

  .grid-3,
  .grid-2,
  .pricing-grid,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .hero-home {
    min-height: 78vh;
  }

  .instructor {
    flex-direction: column;
    align-items: flex-start;
  }
}
