:root {
  --cream: #fff7f2;
  --cream-deep: #f3e6de;
  --blush: #f5cfc4;
  --coral: #e8a090;
  --coral-deep: #d48474;
  --mint: #b8d4c8;
  --mint-deep: #7fad9a;
  --lilac: #d8cce8;
  --ink: #4a3c38;
  --ink-soft: #6e5e58;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(74, 60, 56, 0.08);
  --shadow-soft: 0 4px 16px rgba(74, 60, 56, 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: 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(ellipse 80% 50% at 10% -10%, #fde8df 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 0%, #e4f0ea 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, #efe6f7 0%, transparent 55%),
    var(--cream);
  line-height: 1.7;
  min-height: 100vh;
}

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

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);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 247, 242, 0.88);
  border-bottom: 1px solid rgba(232, 160, 144, 0.25);
}

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

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

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--blush), var(--mint));
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

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

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

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

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-cta {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: #fff !important;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(212, 132, 116, 0.35);
}

.nav-cta:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  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, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: #fff;
  box-shadow: 0 8px 22px rgba(212, 132, 116, 0.35);
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.04);
}

.btn-ghost {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(232, 160, 144, 0.35);
}

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

.btn-mint {
  background: linear-gradient(135deg, var(--mint), var(--mint-deep));
  color: #fff;
  box-shadow: 0 8px 22px rgba(127, 173, 154, 0.35);
}

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

/* Cards */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(245, 207, 196, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(74, 60, 56, 0.12);
}

.card-body {
  padding: 1.35rem 1.45rem 1.55rem;
}

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

.pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--cream-deep);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.pill-mint { background: #dff0e8; color: #3d6b5a; }
.pill-blush { background: #fde8e2; color: #9a5a4c; }
.pill-lilac { background: #efe8f8; color: #6a5a82; }

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

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

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.section-head p {
  font-size: 1.05rem;
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint-deep);
  margin-bottom: 0.75rem;
}

/* Hero variants */
.hero-home {
  padding: 3.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

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

.hero-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  animation: softZoom 18s ease-in-out infinite alternate;
}

.hero-float {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-soft);
  animation: riseIn 0.9s ease both;
}

.hero-float strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

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

.hero-copy {
  padding-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both;
}

.hero-copy .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 0.4rem;
  background: linear-gradient(120deg, var(--ink) 40%, var(--coral-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

.page-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.page-hero .brand-signal {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--coral-deep);
  margin-bottom: 0.5rem;
}

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

.page-hero p {
  max-width: 36rem;
  margin-inline: auto;
}

.hero-banner {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-top: 2rem;
  box-shadow: var(--shadow);
}

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

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

.benefit-item {
  padding: 1.75rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(184, 212, 200, 0.5);
  animation: fadeUp 0.7s ease both;
}

.benefit-item:nth-child(2) { animation-delay: 0.1s; }
.benefit-item:nth-child(3) { animation-delay: 0.2s; }

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

.quote-block {
  background: linear-gradient(160deg, #fff, #fff5f0);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(245, 207, 196, 0.5);
}

.quote-block blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.5;
}

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

.stars {
  color: var(--coral-deep);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* Pricing */
.price-card {
  padding: 2rem 1.75rem;
  text-align: center;
  position: relative;
}

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

.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--ink);
  margin: 0.5rem 0;
}

.price-amount small {
  font-size: 1rem;
  color: var(--ink-soft);
  font-family: var(--font-body);
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.price-list li {
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(232, 160, 144, 0.35);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Forms */
.form-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(245, 207, 196, 0.45);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--cream-deep);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(232, 160, 144, 0.25);
}

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

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

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #d48474;
}

.form-group.has-error .field-error {
  display: block;
}

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

.form-status.success {
  display: block;
  background: #dff0e8;
  color: #2d5c4a;
}

.form-status.error {
  display: block;
  background: #fde8e2;
  color: #8a4034;
}

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

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

.contact-info {
  background: linear-gradient(160deg, #fff, #f0f7f4);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.contact-info dt {
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mint-deep);
  margin-top: 1.25rem;
}

.contact-info dt:first-child {
  margin-top: 0;
}

.contact-info dd {
  margin: 0.35rem 0 0;
  color: var(--ink);
  line-height: 1.6;
}

/* FAQ */
.faq-list details {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(245, 207, 196, 0.4);
}

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

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

/* Tables */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  font-size: 0.92rem;
}

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

.cookie-table th {
  background: var(--cream-deep);
  font-weight: 700;
}

/* Legal */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  background: var(--card);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.legal-content ul {
  color: var(--ink-soft);
  padding-left: 1.25rem;
}

/* Course / blog detail */
.prose {
  max-width: 720px;
  margin: 0 auto;
}

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

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

.module-list li {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--card);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(184, 212, 200, 0.4);
}

.module-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--mint), var(--lilac));
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.instructor {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.instructor img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blush);
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  background: linear-gradient(180deg, transparent, var(--cream-deep) 12%);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(232, 160, 144, 0.2);
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

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

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

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

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

.footer-address {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(74, 60, 56, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 520px;
  margin: 0 auto;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 16px 40px rgba(74, 60, 56, 0.18);
  border: 1px solid rgba(232, 160, 144, 0.4);
  animation: riseIn 0.5s ease both;
}

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

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

.cookie-actions .btn {
  padding: 0.65rem 1.2rem;
  font-size: 0.88rem;
}

/* Soft pattern band */
.soft-band {
  background: linear-gradient(90deg, rgba(184, 212, 200, 0.35), rgba(245, 207, 196, 0.4), rgba(216, 204, 232, 0.35));
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}

.soft-band h2 {
  margin-bottom: 0.5rem;
}

.avatar-row {
  display: flex;
  justify-content: center;
  margin: 1.25rem 0;
}

.avatar-row img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  object-fit: cover;
}

.avatar-row img:first-child {
  margin-left: 0;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 1.5rem;
}

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

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

.case-study {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--mint-deep);
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.outcome-list {
  display: grid;
  gap: 0.75rem;
}

.outcome-list li {
  background: #f0f7f4;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  list-style: none;
  color: var(--ink-soft);
}

.outcome-list {
  padding: 0;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes softZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

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

/* Responsive */
@media (max-width: 900px) {
  .hero-home .hero-grid,
  .contact-grid,
  .footer-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

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

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

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 247, 242, 0.98);
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(232, 160, 144, 0.25);
    box-shadow: var(--shadow);
  }

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

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .header-inner {
    position: relative;
  }

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

@media (max-width: 560px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .section {
    padding: 3rem 0;
  }

  .legal-content {
    padding: 1.5rem;
  }

  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }
}
