:root {
  --bg: #fbf6f2;
  --bg-soft: #f3ebe4;
  --surface: #fffdfb;
  --blush: #f7ddd4;
  --mint: #d9ebe4;
  --peach: #ffe4d0;
  --lavender: #eadfe8;
  --accent: #e07a68;
  --accent-deep: #c45f4f;
  --sage: #7fa894;
  --ink: #3a3532;
  --muted: #6f675f;
  --line: rgba(58, 53, 50, 0.1);
  --shadow: 0 12px 32px rgba(90, 60, 50, 0.08);
  --shadow-soft: 0 6px 18px rgba(90, 60, 50, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Gowun Dodum", "Noto Sans KR", sans-serif;
  --font-body: "Noto Sans KR", sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(247, 221, 212, 0.9), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(217, 235, 228, 0.85), transparent 40%),
    radial-gradient(circle at 70% 88%, rgba(255, 228, 208, 0.55), transparent 45%),
    var(--bg);
  line-height: 1.7;
  min-height: 100vh;
}

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

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.35;
  font-weight: 400;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--surface);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.inline-error {
  background: #fde8e4;
  color: #8a3a2e;
  padding: 0.85rem 1.2rem;
  text-align: center;
  border-bottom: 1px solid rgba(138, 58, 46, 0.15);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(251, 246, 242, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.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%, #fff 0 28%, transparent 29%),
    linear-gradient(135deg, var(--blush), var(--mint));
  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: 1.1rem;
  flex-wrap: wrap;
}

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

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

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font: inherit;
  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: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  background: var(--accent-deep);
  color: #fff;
}

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--mint {
  background: var(--sage);
  color: #fff;
}

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

.card--pad {
  padding: 1.5rem;
}

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

.pill {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--mint);
  color: #3f5f52;
  font-size: 0.82rem;
}

.section {
  padding: 4.5rem 0;
}

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

.section__head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section__head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--ink);
}

.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.5rem;
}

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

.hero-home__panel {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  min-height: min(72vh, 640px);
  background: #dcc7bc;
  box-shadow: var(--shadow);
  animation: rise-in 0.8s ease both;
}

.hero-home__panel img {
  width: 100%;
  height: min(72vh, 640px);
  object-fit: cover;
  filter: saturate(0.92) contrast(0.96);
}

.hero-home__copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(transparent, rgba(48, 36, 32, 0.72));
  color: #fff;
  animation: fade-up 0.9s 0.15s ease both;
}

.hero-home__copy h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  color: #fff;
  max-width: 14ch;
  margin-bottom: 0.4rem;
}

.hero-home__copy p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 36rem;
  margin-bottom: 1.2rem;
}

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

.hero-page__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-page__visual {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: soft-float 5s ease-in-out infinite;
}

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

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-soft);
  min-width: 8.5rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
}

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

.benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.benefit__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--peach), var(--blush));
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.course-card h3,
.blog-card h3 {
  margin: 0.9rem 1.2rem 0.35rem;
  font-size: 1.2rem;
  color: var(--ink);
}

.course-card p,
.blog-card p {
  margin: 0 1.2rem 1.2rem;
  font-size: 0.95rem;
}

.course-card .meta,
.blog-card .meta {
  margin: 0 1.2rem 1.2rem;
  font-size: 0.85rem;
  color: var(--sage);
}

.quote-block {
  background: linear-gradient(160deg, var(--lavender), var(--blush));
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}

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

.quote-block cite {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}

.soft-band {
  background: linear-gradient(120deg, rgba(217, 235, 228, 0.55), rgba(247, 221, 212, 0.45));
  border-radius: 36px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

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

.price-card {
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.price-card--featured {
  background: linear-gradient(180deg, #fff8f4, #f7ebe5);
  transform: translateY(-8px);
}

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

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

.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(243, 235, 228, 0.9));
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  gap: 1.5rem;
}

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

.footer-tag,
.footer-contact {
  font-size: 0.92rem;
}

.footer-label {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
}

.footer-links li + li {
  margin-top: 0.35rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  animation: fade-up 0.45s ease both;
}

.cookie-banner__inner {
  max-width: 920px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 1.2rem 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner__text {
  margin: 0;
  flex: 1;
  min-width: 240px;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
}

.form {
  display: grid;
  gap: 1rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  color: var(--ink);
  font-weight: 500;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

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

.form input.is-invalid,
.form select.is-invalid,
.form textarea.is-invalid {
  border-color: var(--accent);
  background: #fff7f5;
}

.field-error {
  margin: 0;
  color: var(--accent-deep);
  font-size: 0.85rem;
}

.form-status {
  margin: 0;
  font-size: 0.95rem;
}

.form-status--success {
  color: #2f6b55;
}

.form-status--error {
  color: var(--accent-deep);
}

.prose {
  max-width: 46rem;
}

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

.prose table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.prose th,
.prose td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.92rem;
  vertical-align: top;
}

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

.module-list {
  display: grid;
  gap: 0.8rem;
}

.module {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

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

.faq details {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 0.7rem;
}

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

.rating {
  color: var(--accent);
  letter-spacing: 0.08em;
}

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

.page-404 h1 {
  font-size: clamp(3rem, 10vw, 5rem);
  color: var(--accent);
}

@keyframes rise-in {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

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

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

.reveal {
  animation: fade-up 0.7s ease both;
}

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

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

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(251, 246, 242, 0.98);
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
  }

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