:root {
  --blush: #f7d6c8;
  --rose: #e8b4bc;
  --mint: #b8d4c8;
  --sage: #7eb8a8;
  --lilac: #d4c4e0;
  --cream: #faf6f2;
  --peach: #f3e0d4;
  --ink: #5c4a52;
  --ink-soft: #7a6670;
  --ink-muted: #9a8790;
  --white: #fffdfb;
  --card: #ffffff;
  --shadow: 0 8px 28px rgba(92, 74, 82, 0.08);
  --shadow-soft: 0 4px 16px rgba(92, 74, 82, 0.06);
  --radius: 1.5rem;
  --radius-sm: 0.9rem;
  --font-display: "Outfit", "Noto Sans KR", sans-serif;
  --font-body: "Noto Sans KR", "Outfit", 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%, var(--blush) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 5%, var(--lilac) 0%, transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 100%, var(--mint) 0%, transparent 55%),
    var(--cream);
  line-height: 1.7;
  min-height: 100vh;
}

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

a {
  color: var(--sage);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

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

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

h1 { font-size: clamp(2rem, 4.5vw, 3.15rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; }

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 251, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 180, 188, 0.35);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.7rem;
  background: linear-gradient(145deg, var(--blush), var(--rose));
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 28% 28%;
  border-radius: 50%;
  background: var(--sage);
  opacity: 0.85;
}

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

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

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

.nav-cta {
  background: linear-gradient(135deg, var(--rose), var(--blush));
  color: var(--ink) !important;
  padding: 0.45rem 1rem !important;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.nav-toggle {
  display: none;
  border: none;
  background: var(--peach);
  border-radius: var(--radius-sm);
  width: 2.6rem;
  height: 2.6rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

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

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(var(--header-h) + 0.35rem);
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    gap: 0.35rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.55rem 0.75rem; border-radius: 0.6rem; }
  .nav a:hover { background: var(--peach); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  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(--rose) 0%, var(--blush) 100%);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

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

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid rgba(232, 180, 188, 0.55);
}

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

.btn-mint {
  background: linear-gradient(135deg, var(--sage), var(--mint));
  color: var(--white);
}

/* Cards */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(232, 180, 188, 0.25);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

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

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

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

.section-head {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

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

/* Hero home — brand-forward, asymmetric */
.hero-home {
  padding: 3rem 0 2rem;
  position: relative;
}

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

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 1.25rem;
}

.hero-brand span {
  display: block;
  background: linear-gradient(120deg, var(--rose), var(--sage));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  font-size: 1.08rem;
  max-width: 28rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

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

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(247, 214, 200, 0.45));
  pointer-events: none;
}

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

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

.reveal {
  animation: rise 0.7s ease both;
}

.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }
.reveal-delay-3 { animation-delay: 0.36s; }

@media (max-width: 800px) {
  .hero-home-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-visual { min-height: 240px; }
  .hero-visual img { min-height: 240px; }
}

/* Soft proof strip */
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  padding: 1.5rem 1.75rem;
  background: rgba(255, 253, 251, 0.75);
  border-radius: var(--radius);
  border: 1px solid rgba(184, 212, 200, 0.5);
  box-shadow: var(--shadow-soft);
}

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

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

/* Grids */
.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.35rem;
}

@media (max-width: 800px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.benefit {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 196, 224, 0.4);
}

.benefit-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, var(--mint), var(--lilac));
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

/* Testimonials */
.quote {
  padding: 1.5rem 1.6rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--rose);
}

.quote p { font-size: 0.98rem; }
.quote footer {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.quote .stars { color: var(--sage); letter-spacing: 0.1em; margin-bottom: 0.5rem; }

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

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

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

.page-hero-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

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

@media (max-width: 860px) {
  .price-grid { grid-template-columns: 1fr; }
}

.price-card {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1.5px solid rgba(232, 180, 188, 0.3);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--sage);
  background: linear-gradient(180deg, #fff 0%, #f0f7f4 100%);
  transform: scale(1.02);
}

.price-card .tier {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.price-card .amount {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin: 0.75rem 0;
}

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

.price-card li {
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--sage);
}

.note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 1.5rem;
}

/* Forms */
.form {
  display: grid;
  gap: 1.1rem;
  max-width: 36rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
}

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

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

.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: #c45c6a;
}

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

.form-status.success {
  display: block;
  background: #e5f3ee;
  color: #2d6b58;
}

.form-status.error {
  display: block;
  background: #fce8eb;
  color: #a33d4c;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.contact-card h3 { margin-bottom: 0.75rem; }
.contact-card p { margin-bottom: 0.5rem; font-size: 0.95rem; }

/* FAQ */
.faq details {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 0.65rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(232, 180, 188, 0.25);
}

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

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

/* Modules list */
.module {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(232, 180, 188, 0.3);
}

.module:last-child { border-bottom: none; }

.module-num {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--peach);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}

/* Blog */
.blog-meta {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

.article {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.article .lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

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

/* Legal */
.legal {
  max-width: 44rem;
  padding: 2rem 0 4rem;
}

.legal h2 { margin-top: 2rem; font-size: 1.35rem; }
.legal h3 { margin-top: 1.35rem; font-size: 1.1rem; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.88rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

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

.legal th {
  background: var(--peach);
  font-weight: 600;
}

/* 404 */
.not-found {
  text-align: center;
  padding: 5rem 1rem 6rem;
}

.not-found .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 700;
  background: linear-gradient(120deg, var(--rose), var(--lilac));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  background: linear-gradient(180deg, transparent, rgba(247, 214, 200, 0.45));
  border-top: 1px solid rgba(232, 180, 188, 0.35);
  padding: 3rem 0 2rem;
}

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

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.site-footer h4 {
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

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

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

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

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

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.footer-meta {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(232, 180, 188, 0.35);
  font-size: 0.82rem;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 420px;
  z-index: 200;
  background: var(--white);
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1.5px solid rgba(232, 180, 188, 0.45);
  display: none;
  animation: rise 0.4s ease both;
}

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

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

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

.cookie-actions .btn { padding: 0.55rem 1.1rem; font-size: 0.88rem; }

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

.instructor {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  padding: 1.35rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--peach);
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.cta-band {
  padding: 2.5rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, var(--blush) 0%, var(--lilac) 50%, var(--mint) 100%);
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--ink-soft); max-width: 32rem; margin-inline: auto; }

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

.case-study h3 { margin-bottom: 0.5rem; }

.inline-error {
  padding: 0.75rem 1rem;
  background: #fce8eb;
  color: #a33d4c;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

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