:root {
  --bg: #fff6f1;
  --bg-soft: #fdeee6;
  --surface: #ffffff;
  --ink: #3a2f2c;
  --ink-soft: #6b5a55;
  --muted: #8f7d76;
  --line: #f0d8cc;
  --blush: #f7d6c8;
  --peach: #e88b7a;
  --peach-deep: #d56f5d;
  --mint: #7eb8a2;
  --mint-soft: #d8efe6;
  --lilac: #c9b6d8;
  --lilac-soft: #efe6f6;
  --sand: #f4e4d4;
  --shadow: 0 12px 30px rgba(90, 55, 45, 0.08);
  --shadow-soft: 0 6px 18px rgba(90, 55, 45, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --font-display: "Fraunces", "Noto Serif KR", Georgia, serif;
  --font-body: "Nunito", "Noto Sans KR", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --max: 1120px;
  --header-h: 4.5rem;
}

*,
*::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%, #ffe0d4 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #e8f5ef 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #fffaf7 40%, var(--bg-soft) 100%);
  min-height: 100vh;
  line-height: 1.7;
  font-size: 1.05rem;
}

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

a {
  color: var(--peach-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

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

p {
  margin: 0 0 1rem;
  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);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255, 246, 241, 0.88);
  border-bottom: 1px solid rgba(240, 216, 204, 0.7);
}

.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: 2.1rem;
  height: 2.1rem;
  border-radius: 0.75rem;
  background:
    radial-gradient(circle at 50% 30%, var(--mint) 0 28%, transparent 29%),
    linear-gradient(145deg, var(--blush), #fff 55%, var(--peach));
  box-shadow: var(--shadow-soft);
}

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

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

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

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

.nav-cta {
  background: var(--peach);
  color: #fff !important;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
}

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

.nav-toggle {
  display: none;
  border: 0;
  background: var(--surface);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 1.1rem;
  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;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(var(--header-h) + 0.4rem);
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
    animation: rise 0.35s ease;
  }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  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(--peach), var(--peach-deep));
  color: #fff;
  box-shadow: var(--shadow-soft);
}

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

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

.btn-mint {
  background: var(--mint);
  color: #fff;
}

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

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-tight {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--mint);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.15rem;
  max-width: 40rem;
}

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

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

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

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

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

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--mint-soft);
  color: #2f6b57;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-home {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem;
}

.hero-stage {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  min-height: min(72vh, 640px);
  box-shadow: var(--shadow);
  animation: fade-in 0.8s ease;
}

.hero-stage img {
  width: 100%;
  height: 100%;
  min-height: min(72vh, 640px);
  object-fit: cover;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(58, 47, 44, 0.62) 0%, rgba(58, 47, 44, 0.28) 48%, rgba(232, 139, 122, 0.18) 100%);
}

.hero-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: #fff;
  max-width: 36rem;
}

.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 0.6rem;
  animation: rise 0.7s ease 0.1s both;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.92);
  animation: rise 0.7s ease 0.22s both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: #ffe8df;
  animation: rise 0.7s ease both;
}

.soft-band {
  background: linear-gradient(90deg, var(--lilac-soft), var(--mint-soft));
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
}

.soft-band strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  display: block;
}

.soft-band span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.feature-row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.feature-item {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  transition: transform 0.25s ease;
}

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

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  background: var(--sand);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}

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

.quote-card p {
  font-size: 1.05rem;
}

.quote-meta {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blush);
}

.page-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 1rem;
}

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

.split {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

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

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

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.price-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
}

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

.price-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--ink);
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1.25rem;
}

.price-list li {
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
}

.form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--ink);
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fffaf8;
  color: var(--ink);
}

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

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--mint);
  border-color: transparent;
}

.field-error {
  color: #b4453a;
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 1.2em;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  display: none;
}

.form-status.is-success {
  display: block;
  background: var(--mint-soft);
  color: #2a6a54;
}

.form-status.is-error {
  display: block;
  background: #fde2de;
  color: #8f2f24;
}

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #fde2de;
  color: #8f2f24;
  font-weight: 600;
}

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

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

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

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

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

th {
  background: var(--bg-soft);
  font-weight: 700;
}

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

.module-list li {
  counter-increment: mod;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1rem 1rem 1rem 3.4rem;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  position: absolute;
  left: 0.9rem;
  top: 1rem;
  font-family: var(--font-display);
  color: var(--peach);
  font-weight: 700;
}

.legal {
  max-width: 48rem;
}

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

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(247, 214, 200, 0.45));
  border-top: 1px solid var(--line);
}

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

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

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

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

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

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

.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-address {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

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

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 720px;
  margin-inline: auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 1.15rem 1.25rem;
  display: grid;
  gap: 0.85rem;
  animation: rise 0.4s ease;
}

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

.stars {
  color: var(--peach);
  letter-spacing: 0.08em;
}

.case-study {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff, var(--lilac-soft));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}

.prose {
  max-width: 42rem;
}

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

.cta-panel {
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background:
    radial-gradient(circle at 90% 20%, rgba(126, 184, 162, 0.35), transparent 40%),
    linear-gradient(135deg, #fff, var(--blush));
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  text-align: center;
}

.cta-panel h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.illustration-blob {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 40% 60% 55% 45%;
  background: linear-gradient(145deg, var(--mint-soft), var(--blush));
  margin-bottom: 1rem;
  animation: floaty 5s ease-in-out infinite;
}

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

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}

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

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.instructor {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

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

.not-found h1 {
  font-size: clamp(3rem, 10vw, 5rem);
  color: var(--peach);
}

.blog-cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

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