:root {
  --cream: #faf4ef;
  --blush: #f7e4dc;
  --peach: #f0c4b4;
  --coral: #e8896b;
  --coral-deep: #d46b4c;
  --sage: #7ba89a;
  --sage-deep: #5d8a7c;
  --lilac: #d8c5d4;
  --ink: #3d3430;
  --ink-soft: #6a5c55;
  --muted: #9a8b83;
  --white: #fffdfb;
  --card: #ffffff;
  --shadow: 0 12px 32px rgba(61, 52, 48, 0.08);
  --shadow-sm: 0 6px 18px rgba(61, 52, 48, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Hahmlet", "Noto Serif KR", serif;
  --font-body: "IBM Plex Sans KR", "Noto Sans KR", sans-serif;
  --max: 1120px;
  --header-h: 76px;
}

*,
*::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(240, 196, 180, 0.55), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 5%, rgba(216, 197, 212, 0.45), transparent 50%),
    radial-gradient(ellipse 50% 35% at 70% 100%, rgba(123, 168, 154, 0.18), transparent 55%),
    var(--cream);
  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: 3px;
}

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

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(250, 244, 239, 0.86);
  border-bottom: 1px solid rgba(232, 137, 107, 0.18);
}

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

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

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    linear-gradient(145deg, var(--peach), var(--coral)),
    radial-gradient(circle at 70% 30%, var(--sage), transparent 55%);
  box-shadow: var(--shadow-sm);
}

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

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

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

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

.site-nav .nav-cta {
  background: var(--coral);
  color: var(--white);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.site-nav .nav-cta:hover {
  background: var(--coral-deep);
  color: var(--white);
}

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

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

/* Hero variants */
.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: end;
  padding: 3.5rem 0 2.5rem;
}

.hero-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
  animation: rise-in 0.9s ease both;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.hero-copy {
  padding-bottom: 1rem;
  animation: rise-in 0.8s ease 0.1s both;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-deep);
  background: rgba(123, 168, 154, 0.18);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.35rem);
  margin: 0 0 1rem;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  margin: 0 0 0.85rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  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), var(--coral-deep));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(212, 107, 76, 0.28);
}

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

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  color: var(--ink);
}

/* Sections */
.section {
  padding: 3.75rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--ink-soft);
  margin: 0;
}

.soft-panel {
  background: rgba(255, 253, 251, 0.72);
  border: 1px solid rgba(240, 196, 180, 0.45);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(240, 196, 180, 0.35);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card:hover .card-media img {
  transform: scale(1.04);
}

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

.card-body p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.tag {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--sage-deep);
  background: rgba(123, 168, 154, 0.16);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  background: var(--blush);
  color: var(--ink-soft);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
}

/* Story band */
.story-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(120deg, rgba(247, 228, 220, 0.9), rgba(216, 197, 212, 0.35));
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.story-band img {
  border-radius: 20px;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.metric {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--coral-deep);
}

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

/* Testimonials */
.quote-stack {
  display: grid;
  gap: 1rem;
}

.quote {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--peach);
}

.quote p {
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.quote footer {
  color: var(--muted);
  font-size: 0.88rem;
}

.quote.wide {
  grid-column: 1 / -1;
}

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

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(240, 196, 180, 0.4);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: linear-gradient(180deg, #fff8f4, #ffffff);
  border-color: var(--coral);
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.price-card h3 {
  margin-bottom: 0.25rem;
}

.price-card .price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--coral-deep);
  margin: 0.75rem 0;
}

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

.price-card li + li {
  margin-top: 0.45rem;
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* Forms */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 2rem;
}

.form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(154, 139, 131, 0.35);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(232, 137, 107, 0.2);
}

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

.field-error {
  color: #b4483a;
  font-size: 0.85rem;
  margin-top: 0.35rem;
  display: none;
}

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

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b4483a;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(123, 168, 154, 0.2);
  color: var(--sage-deep);
}

.form-status.error {
  display: block;
  background: rgba(180, 72, 58, 0.12);
  color: #8f3429;
}

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(180, 72, 58, 0.12);
  color: #8f3429;
}

/* Blog / content */
.prose {
  max-width: 720px;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

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

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.article-hero {
  border-radius: 24px;
  overflow: hidden;
  margin: 1.5rem 0 2rem;
  box-shadow: var(--shadow);
}

.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Course detail */
.module-list {
  display: grid;
  gap: 0.85rem;
}

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

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

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq details p {
  color: var(--ink-soft);
  margin: 0.75rem 0 0;
}

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.instructor img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

/* Legal */
.legal h1 {
  margin-top: 2rem;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

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

.legal th,
.legal td {
  border: 1px solid rgba(240, 196, 180, 0.5);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--blush);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 640px;
  margin-inline: auto;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(61, 52, 48, 0.18);
  border: 1px solid rgba(240, 196, 180, 0.55);
  padding: 1.25rem 1.35rem;
  display: none;
  animation: rise-in 0.45s ease both;
}

.cookie-banner.is-visible {
  display: block;
}

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

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

.cookie-actions .btn {
  padding: 0.65rem 1.1rem;
}

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

.btn-reject:hover {
  color: var(--ink);
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(247, 228, 220, 0.7));
  border-top: 1px solid rgba(232, 137, 107, 0.15);
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.footer-tag,
.footer-contact p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
}

.footer-heading {
  font-weight: 700;
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.footer-links,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a,
.footer-legal a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--coral-deep);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(154, 139, 131, 0.2);
  color: var(--muted);
  font-size: 0.85rem;
}

/* Page chrome */
.page-hero {
  padding: 2.75rem 0 1.5rem;
}

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

.breadcrumb {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

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

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

.cta-band {
  text-align: center;
  background: linear-gradient(135deg, rgba(232, 137, 107, 0.18), rgba(123, 168, 154, 0.2));
  border-radius: 28px;
  padding: 2.5rem 1.5rem;
  margin: 1rem 0;
}

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

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

.avatar-row span {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: start;
}

.timeline-step {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--peach);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}

.case-study {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.case-study h3 {
  margin-top: 0;
}

.stars {
  color: var(--coral);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.muted {
  color: var(--ink-soft);
}

.center {
  text-align: center;
}

.narrow {
  max-width: 560px;
  margin-inline: auto;
}

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

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--peach);
  line-height: 1;
  margin: 0;
}

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

@media (max-width: 960px) {
  .hero-split,
  .story-band,
  .form-wrap,
  .footer-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .card-grid.cols-3,
  .price-grid,
  .metric-row {
    grid-template-columns: 1fr;
  }

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

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

  .nav-toggle {
    display: flex;
  }

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

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

  .site-nav .nav-cta {
    text-align: center;
  }

  .instructor {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 260px;
  }
}
