:root {
  --blush: #f7d6e0;
  --rose: #e8a0bf;
  --peach: #f2c4a0;
  --sage: #b8d4c8;
  --mint: #d8ebe3;
  --cream: #fff8f4;
  --ink: #5c4a52;
  --ink-soft: #7a6570;
  --card: #ffffff;
  --shadow: 0 12px 32px rgba(92, 74, 82, 0.08);
  --shadow-soft: 0 6px 18px rgba(92, 74, 82, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1120px;
  --font-display: "Gaegu", "Noto Sans KR", sans-serif;
  --font-body: "Noto Sans KR", sans-serif;
}

*,
*::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(247, 214, 224, 0.9), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(184, 212, 200, 0.55), transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, #fff 40%, #faf3ef 100%);
  line-height: 1.7;
  min-height: 100vh;
}

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

a {
  color: #b45a7a;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #8f3f5d;
}

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

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.35rem;
}

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

.inline-error {
  margin: 0;
  padding: 0.75rem 1rem;
  background: #ffe3e8;
  color: #8a3048;
  text-align: center;
}

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

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blush), var(--sage));
  box-shadow: var(--shadow-soft);
}

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

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

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

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

.nav-toggle {
  display: none;
  border: none;
  background: var(--mint);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  font-family: var(--font-body);
}

.site-footer {
  margin-top: 4rem;
  background: linear-gradient(180deg, transparent, rgba(247, 214, 224, 0.45));
  border-top: 1px solid rgba(184, 212, 200, 0.5);
  padding: 3rem 1.25rem 2rem;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr;
}

.site-footer h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

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

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  text-decoration: none;
  color: var(--ink-soft);
}

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

.footer-meta {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(92, 74, 82, 0.08);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.45rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  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(--rose), #f2b8a0);
  color: #fff;
  box-shadow: 0 10px 24px rgba(232, 160, 191, 0.35);
}

.btn--primary:hover {
  color: #fff;
}

.btn--ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

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

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card__body {
  padding: 1.35rem 1.4rem 1.55rem;
}

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

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

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

.section {
  padding: 3.5rem 0;
}

.section__head {
  margin-bottom: 1.75rem;
  max-width: 38rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: #b45a7a;
  background: rgba(247, 214, 224, 0.7);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.hero {
  padding: 3rem 0 2rem;
}

.hero--home {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: end;
  min-height: calc(100vh - 76px);
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #5c4a52 20%, #b45a7a 55%, #7aa892);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.9s ease both;
}

.hero__lead {
  font-size: 1.12rem;
  max-width: 28rem;
  animation: rise 0.9s ease 0.12s both;
}

.hero__cta {
  margin-top: 1.5rem;
  animation: rise 0.9s ease 0.22s both;
}

.hero__visual {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
  animation: float-in 1.1s ease both;
}

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

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(247, 214, 224, 0.15), rgba(184, 212, 200, 0.25));
  pointer-events: none;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

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

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

.benefit {
  padding: 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}

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

.benefit__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--blush), var(--peach));
}

.benefit:nth-child(2) .benefit__icon {
  background: linear-gradient(135deg, var(--sage), var(--mint));
}

.benefit:nth-child(3) .benefit__icon {
  background: linear-gradient(135deg, var(--peach), var(--blush));
}

.soft-panel {
  background: linear-gradient(145deg, rgba(247, 214, 224, 0.45), rgba(216, 235, 227, 0.55));
  border-radius: 28px;
  padding: 2rem;
}

.quote {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

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

.quote__meta {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.stars {
  color: #d4896a;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

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

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

.page-hero p {
  max-width: 40rem;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.75rem 0 0;
}

.chip {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-size: 0.8rem;
}

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

.price-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.price-card--featured {
  background: linear-gradient(180deg, #fff 0%, #fff5f8 100%);
  outline: 2px solid rgba(232, 160, 191, 0.45);
  transform: scale(1.02);
}

.price-card .amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin: 0.4rem 0 1rem;
}

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

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

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

.form-field {
  margin-bottom: 1.1rem;
}

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

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1.5px solid rgba(232, 160, 191, 0.45);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #fffaf8;
  color: var(--ink);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(184, 212, 200, 0.8);
  border-color: var(--sage);
}

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

.form-status {
  margin-top: 1rem;
  min-height: 1.4em;
}

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

.form-status--error {
  color: #b13d5c;
}

.legal {
  max-width: 760px;
}

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

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.legal th,
.legal td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(92, 74, 82, 0.08);
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: rgba(247, 214, 224, 0.45);
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1rem 1.15rem;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.faq-item__a {
  display: none;
  padding: 0 1.15rem 1.1rem;
  color: var(--ink-soft);
}

.faq-item.is-open .faq-item__a {
  display: block;
}

.module {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  padding: 1.1rem;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  margin-bottom: 0.85rem;
}

.module__num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--blush);
  font-family: var(--font-display);
  font-size: 1.3rem;
}

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

.blog-prose {
  max-width: 720px;
}

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

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 640px;
  margin: 0 auto;
}

.cookie-banner__inner {
  background: #fff;
  border-radius: 20px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 16px 40px rgba(92, 74, 82, 0.18);
  border: 1px solid rgba(232, 160, 191, 0.35);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.9rem;
  justify-content: flex-end;
}

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

.error-page .code {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--rose);
  margin: 0;
}

.case-study {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.case-study + .case-study {
  margin-top: 1.25rem;
}

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

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

  .hero--home {
    min-height: auto;
  }

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

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

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 248, 244, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid rgba(232, 160, 191, 0.25);
  }

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

  .site-header {
    position: sticky;
  }

  .site-header__inner {
    position: relative;
  }
}
