:root {
  --bg: #fbf4ef;
  --bg-soft: #f3ebe3;
  --surface: #fffaf7;
  --surface-elevated: #ffffff;
  --ink: #3a2f2a;
  --ink-soft: #6b5a52;
  --muted: #8f7d74;
  --line: rgba(88, 64, 52, 0.12);
  --sage: #7eb8a2;
  --sage-deep: #4f8f7b;
  --peach: #f0b7a4;
  --blush: #f7d6cc;
  --butter: #f3dfb8;
  --sky: #c9dde8;
  --shadow: 0 12px 30px rgba(90, 60, 45, 0.08);
  --shadow-soft: 0 6px 18px rgba(90, 60, 45, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Song Myung", "Noto Serif KR", serif;
  --font-body: "Noto Sans KR", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::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(126, 184, 162, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 5%, rgba(240, 183, 164, 0.35), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(201, 221, 232, 0.35), transparent 55%),
    var(--bg);
  line-height: 1.7;
  min-height: 100vh;
}

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

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

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

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

p {
  margin: 0 0 1em;
  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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--surface-elevated);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 1000;
}

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

.inline-error {
  background: #f8d7d0;
  color: #6b2f26;
  padding: 0.85rem 1.2rem;
  text-align: center;
  font-size: 0.95rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(251, 244, 239, 0.82);
  border-bottom: 1px solid var(--line);
}

.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;
  min-height: var(--header-h);
}

.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 30% 30%, #fff8f4, transparent 40%),
    linear-gradient(135deg, var(--sage), var(--peach));
  box-shadow: var(--shadow-soft);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

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

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

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

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

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
}

.nav-toggle-bar::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.nav-toggle-bar::after {
  position: absolute;
  top: 6px;
  left: 0;
}

main {
  overflow-x: clip;
}

.section {
  padding: 4.5rem 1.25rem;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.125rem;
  max-width: 42rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.45rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  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(--sage), var(--sage-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(79, 143, 123, 0.28);
}

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

.btn-secondary {
  background: var(--surface-elevated);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

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

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

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

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

.card-media {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  background: var(--bg-soft);
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(126, 184, 162, 0.18);
  color: var(--sage-deep);
  font-size: 0.82rem;
}

/* Home hero — split narrative, brand-forward */
.hero-home {
  padding: 2.5rem 1.25rem 1rem;
}

.hero-panel {
  max-width: var(--max);
  margin: 0 auto;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: linear-gradient(160deg, #fff7f2 0%, #f3ebe3 45%, #e8f3ee 100%);
  box-shadow: var(--shadow);
  animation: rise-in 0.9s ease both;
}

.hero-copy {
  padding: 3.5rem 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  margin: 0 0 0.4rem;
  color: var(--ink);
  animation: fade-up 0.8s ease 0.15s both;
}

.hero-copy h1 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 1rem;
  animation: fade-up 0.8s ease 0.28s both;
}

.hero-copy .lead {
  animation: fade-up 0.8s ease 0.4s both;
}

.hero-copy .btn-row {
  animation: fade-up 0.8s ease 0.52s both;
}

.hero-visual {
  position: relative;
  min-height: 320px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: soft-zoom 12s ease-in-out infinite alternate;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 244, 239, 0.55), transparent 35%);
  pointer-events: none;
}

.soft-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  pointer-events: none;
}

.blob-a {
  width: 140px;
  height: 140px;
  background: var(--blush);
  top: 12%;
  right: 8%;
  animation: float-y 7s ease-in-out infinite;
}

.blob-b {
  width: 90px;
  height: 90px;
  background: var(--sky);
  bottom: 18%;
  left: 10%;
  animation: float-y 9s ease-in-out infinite reverse;
}

.proof-strip {
  max-width: var(--max);
  margin: -1.5rem auto 0;
  padding: 0 1.25rem;
  position: relative;
  z-index: 3;
}

.proof-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: var(--surface-elevated);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.6rem;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--sage-deep);
}

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

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

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

.benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

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

.quote-card {
  padding: 1.6rem;
  background: var(--surface-elevated);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.quote-card blockquote {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--ink);
}

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

.cta-band {
  margin: 1rem 1.25rem 4rem;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  border-radius: 32px;
  padding: 2.8rem 2rem;
  background:
    linear-gradient(135deg, rgba(126, 184, 162, 0.35), rgba(240, 183, 164, 0.4)),
    var(--surface);
  text-align: center;
  box-shadow: var(--shadow);
}

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

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

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

.page-hero.with-image {
  padding-bottom: 0;
}

.page-hero-media {
  max-width: var(--max);
  margin: 1.5rem auto 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-height: 380px;
}

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

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

.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.price-card {
  padding: 1.8rem 1.6rem;
  background: var(--surface-elevated);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: linear-gradient(180deg, #fff, #f4faf7);
  border-color: rgba(126, 184, 162, 0.45);
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.price-card h3 {
  font-size: 1.55rem;
  margin-bottom: 0.35rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--sage-deep);
  margin: 0.6rem 0 1rem;
}

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

.price-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

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

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

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

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.field {
  margin-bottom: 1.1rem;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface-elevated);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font: inherit;
  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(--sage);
  box-shadow: 0 0 0 4px rgba(126, 184, 162, 0.2);
}

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

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
}

.form-status.is-success {
  background: rgba(126, 184, 162, 0.2);
  color: #2f6a58;
}

.form-status.is-error {
  background: #f8d7d0;
  color: #6b2f26;
}

.address-block {
  background: var(--surface-elevated);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.legal-content {
  max-width: 760px;
}

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

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
  background: var(--surface-elevated);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.legal-content th,
.legal-content td {
  border: 1px solid var(--line);
  padding: 0.75rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: rgba(126, 184, 162, 0.15);
}

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

.module-list li {
  background: var(--surface-elevated);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.module-list strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

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

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

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

.article-body {
  max-width: 720px;
}

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

.case-study {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid var(--line);
  margin-bottom: 1.5rem;
}

.stars {
  color: #d4a017;
  letter-spacing: 0.08em;
}

.site-footer {
  margin-top: 2rem;
  background: #f3ebe3;
  border-top: 1px solid var(--line);
  padding: 3rem 1.25rem 1.5rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 1.75rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.footer-tagline {
  margin: 0;
  font-size: 0.95rem;
}

.footer-heading {
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

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

.footer-contact p {
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}

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

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface-elevated);
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 1.2rem 1.35rem;
  display: grid;
  gap: 1rem;
}

.cookie-banner-inner p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

.error-page h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: 0.2rem;
}

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

.soft-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

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

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

@keyframes soft-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

@media (max-width: 960px) {
  .hero-panel,
  .grid-3,
  .pricing-grid,
  .pricing-grid-4,
  .proof-inner,
  .footer-inner,
  .contact-layout,
  .illustration-row {
    grid-template-columns: 1fr;
  }

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

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 1rem;
    right: 1rem;
    background: var(--surface-elevated);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

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

  .header-inner {
    position: relative;
  }

  .hero-copy {
    padding: 2.4rem 1.5rem 1.5rem;
  }

  .hero-visual {
    min-height: 240px;
    max-height: 280px;
  }

  .instructor {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
