:root {
  --bg: #fff4ef;
  --bg-soft: #ffe8df;
  --surface: #fffaf7;
  --card: #ffffff;
  --ink: #4a3c38;
  --muted: #7a6862;
  --line: #f0d7ce;
  --coral: #e8897a;
  --coral-deep: #d46b5c;
  --mint: #8fcbb8;
  --mint-deep: #6fb39e;
  --peach: #f7d6cf;
  --blush: #f3c1b8;
  --cream: #fff8f5;
  --shadow: 0 12px 32px rgba(74, 60, 56, 0.08);
  --shadow-soft: 0 6px 18px rgba(74, 60, 56, 0.06);
  --radius: 24px;
  --radius-sm: 14px;
  --font-display: "Gowun Dodum", "Noto Sans KR", sans-serif;
  --font-body: "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(circle at 12% 8%, rgba(143, 203, 184, 0.28), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(243, 193, 184, 0.35), transparent 38%),
    linear-gradient(180deg, var(--bg) 0%, #fff8f4 48%, var(--bg-soft) 100%);
  min-height: 100vh;
  line-height: 1.7;
}

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

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

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

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);
}

ul {
  padding-left: 1.2em;
}

.visually-hidden {
  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: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 244, 239, 0.86);
  border-bottom: 1px solid rgba(240, 215, 206, 0.7);
}

.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.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 28%, transparent 29%),
    linear-gradient(145deg, var(--peach), var(--mint));
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

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

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

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

.nav-cta:hover {
  background: var(--coral-deep);
  color: #fff !important;
}

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

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

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

main {
  min-height: 60vh;
}

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

.section {
  margin: 3.5rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--mint-deep);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ink);
}

.section-lead {
  max-width: 38rem;
  font-size: 1.05rem;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(240, 215, 206, 0.65);
  overflow: hidden;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  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: #fff !important;
  box-shadow: 0 10px 24px rgba(212, 107, 92, 0.28);
}

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

.btn-mint {
  background: linear-gradient(135deg, var(--mint), var(--mint-deep));
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(111, 179, 158, 0.28);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero-home {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: end;
  padding: 2rem 0 1rem;
  animation: rise-in 0.8s ease both;
}

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

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--ink);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.hero-kicker {
  font-size: 1.15rem;
  color: var(--coral-deep);
  margin-bottom: 1rem;
}

.hero-home p {
  font-size: 1.05rem;
  max-width: 34rem;
}

.hero-visual {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
  animation: float-soft 5.5s ease-in-out infinite;
}

.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(255, 248, 245, 0.05), rgba(232, 137, 122, 0.18));
  pointer-events: none;
}

.ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

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

.benefit-card {
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(240, 215, 206, 0.7);
  transition: transform 0.25s ease;
}

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

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, var(--peach), #fff);
  font-size: 1.35rem;
}

.benefit-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

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

.course-card h3,
.blog-card h3 {
  font-size: 1.2rem;
}

.meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.pill {
  display: inline-block;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(247, 214, 207, 0.55));
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-align: center;
}

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

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

.testimonial {
  padding: 1.4rem 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(240, 215, 206, 0.7);
}

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

.testimonial cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-hero {
  padding: 2.5rem 0 1rem;
  animation: rise-in 0.7s ease both;
}

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

.page-hero.with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.page-hero.with-image .hero-side-img {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 280px;
}

.page-hero.with-image .hero-side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

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

.price-card {
  padding: 1.75rem 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(240, 215, 206, 0.7);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: linear-gradient(180deg, #fff, #ffe9e2);
  border-color: var(--blush);
  transform: scale(1.02);
}

.price-card h2 {
  font-size: 1.4rem;
}

.price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
  margin: 0.4rem 0 1rem;
}

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

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

.form-card {
  max-width: 640px;
  padding: 1.75rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(240, 215, 206, 0.7);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--ink);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--mint);
  outline-offset: 1px;
}

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

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

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(143, 203, 184, 0.25);
  color: #2f6b5a;
}

.form-status.error {
  display: block;
  background: rgba(232, 137, 122, 0.2);
  color: #8a3b30;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}

.contact-panel {
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(240, 215, 206, 0.7);
}

.legal {
  max-width: 760px;
}

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

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

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

.legal th {
  background: var(--peach);
  color: var(--ink);
}

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

.module-list li {
  padding: 1rem 1.15rem;
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(240, 215, 206, 0.7);
  margin-bottom: 0.75rem;
}

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

.faq details {
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(240, 215, 206, 0.7);
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.7rem;
  box-shadow: var(--shadow-soft);
}

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

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

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(240, 215, 206, 0.7);
}

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

.case-study {
  padding: 1.75rem;
  background: linear-gradient(160deg, #fff, #ffeae4);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
}

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

.site-footer {
  margin-top: 3rem;
  background: linear-gradient(180deg, rgba(255, 248, 245, 0.4), rgba(247, 214, 207, 0.55));
  border-top: 1px solid var(--line);
  padding: 3rem 1.25rem 2rem;
}

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

.footer-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.footer-tag {
  max-width: 28rem;
}

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

.footer-heading {
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

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

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

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

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

.footer-address {
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-copy {
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin: 0;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255, 250, 247, 0.97);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.25rem;
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: rise-in 0.45s ease both;
}

.cookie-banner p {
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
}

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

.error-inline {
  background: rgba(232, 137, 122, 0.18);
  color: #8a3b30;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin: 0.75rem 0;
}

.not-found {
  text-align: center;
  padding: 5rem 1rem;
}

.not-found h1 {
  font-size: 4rem;
  color: var(--coral);
  margin-bottom: 0.2rem;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.flow-step {
  padding: 1.2rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(240, 215, 206, 0.7);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.flow-step .num {
  font-family: var(--font-display);
  color: var(--mint-deep);
  font-size: 1.4rem;
}

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

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

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

.article-cover img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

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

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

@media (max-width: 960px) {
  .hero-home,
  .page-hero.with-image,
  .contact-grid,
  .pricing-grid,
  .grid-3,
  .proof-band,
  .flow-steps,
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(var(--header-h) + 0.35rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    display: block;
    padding: 0.55rem 0.4rem;
  }

  .hero-home,
  .page-hero.with-image,
  .contact-grid,
  .pricing-grid,
  .grid-3,
  .grid-2,
  .proof-band,
  .flow-steps,
  .footer-cols,
  .instructor {
    grid-template-columns: 1fr;
  }

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

  .header-inner {
    position: relative;
  }
}
