:root {
  --bg: #fff3ee;
  --bg-soft: #ffe8df;
  --surface: #ffffff;
  --ink: #3a322f;
  --muted: #7d716c;
  --line: #f0d5cb;
  --coral: #e8927f;
  --coral-deep: #d47361;
  --blush: #f7b7a8;
  --mint: #a8d5c4;
  --mint-deep: #6fae98;
  --lavender-mist: #e8d5e3;
  --shadow: 0 12px 32px rgba(216, 140, 120, 0.14);
  --shadow-soft: 0 6px 18px rgba(216, 140, 120, 0.1);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1120px;
  --font: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  --display: "Gowun Dodum", "Noto Sans KR", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #ffd8cc 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, #d9efe6 0%, transparent 50%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--surface);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

.inline-error {
  background: #ffe0e0;
  color: #8a3030;
  padding: 0.75rem 1rem;
  margin: 0.5rem 1rem;
  border-radius: var(--radius-sm);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 243, 238, 0.88);
  border-bottom: 1px solid rgba(240, 213, 203, 0.7);
}

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

.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.85rem;
  background:
    radial-gradient(circle at 30% 30%, #fff 0 18%, transparent 19%),
    linear-gradient(145deg, var(--blush), var(--mint));
  box-shadow: var(--shadow-soft);
}

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

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

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

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

.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: #d47361 !important;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 0.8rem 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), #f0a090);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

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

.btn-secondary {
  background: var(--mint);
  color: #23483d;
}

.btn-secondary:hover {
  color: #23483d;
}

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

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

/* Cards */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(240, 213, 203, 0.65);
  overflow: hidden;
}

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

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

.pill {
  display: inline-block;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.8rem;
}

/* Typography */
h1, h2, h3, .display {
  font-family: var(--display);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.25rem; }

.lede {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 38rem;
}

.section {
  padding: 4.5rem 0;
}

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

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

.muted { color: var(--muted); }

/* Home hero — asymmetric brand-forward */
.hero-home {
  padding: 3.5rem 0 2rem;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
}

.hero-panel {
  background: linear-gradient(160deg, #fff 0%, #ffe9e1 100%);
  border-radius: calc(var(--radius) + 8px);
  padding: 2.4rem 2.2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(240, 213, 203, 0.8);
  position: relative;
  overflow: hidden;
  animation: floatIn 0.8s ease both;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  bottom: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 213, 196, 0.55), transparent 70%);
}

.hero-kicker {
  font-size: 0.9rem;
  color: var(--mint-deep);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.hero-brand {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0 0 0.4rem;
  color: var(--ink);
}

.hero-line {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  margin: 0 0 1rem;
  color: #5a4d48;
}

.hero-visual {
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  min-height: 320px;
  animation: softRise 1s ease 0.15s both;
}

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

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

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
}

.trust-item {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  border: 1px solid var(--line);
}

.trust-item strong {
  display: block;
  font-family: var(--display);
  font-size: 1.55rem;
  color: var(--coral);
}

/* Grids */
.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 {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.benefit .icon-blob {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--blush), var(--mint));
}

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

.quote-card.soft-mint {
  background: linear-gradient(160deg, #f3faf7, #fff);
}

.quote-card.soft-blush {
  background: linear-gradient(160deg, #fff6f3, #fff);
}

.stars {
  color: #e2a06a;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

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

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

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

.price-card.featured {
  background: linear-gradient(175deg, #fff, #ffe8df);
  border-color: var(--blush);
  transform: translateY(-6px);
}

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

.price-card ul {
  padding-left: 1.1rem;
  color: var(--muted);
  flex: 1;
}

.price-card .btn {
  margin-top: 1.25rem;
  width: 100%;
}

/* Forms */
.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  border: 1px solid var(--line);
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fffaf8;
  color: var(--ink);
}

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

.field-error {
  min-height: 1.2rem;
  margin: 0.3rem 0 0;
  color: #b14545;
  font-size: 0.85rem;
}

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

.form-status.is-success {
  background: #e4f5ee;
  color: #1f5c45;
}

.form-status.is-error {
  background: #ffe6e2;
  color: #8f3a2d;
}

.contact-aside {
  background: linear-gradient(160deg, #fff, #eef8f3);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.contact-aside p {
  margin: 0.5rem 0;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, transparent, #ffe6dc 30%);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.footer-tag,
.footer-contact p {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-heading {
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(240, 213, 203, 0.8);
  color: var(--muted);
  font-size: 0.88rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 640px;
  margin-inline: auto;
  animation: softRise 0.45s ease both;
}

.cookie-banner-inner {
  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.9rem;
}

.cookie-banner-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

/* Blog / prose */
.prose {
  max-width: 720px;
}

.prose p,
.prose li {
  color: #524844;
}

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

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero.compact {
  padding: 2.5rem 0 1rem;
}

.banner-illust {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 1.5rem 0;
}

.banner-illust img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
}

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

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

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

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

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

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

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

.module-list strong {
  display: block;
  margin-bottom: 0.25rem;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

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

.cta-band {
  background: linear-gradient(120deg, #ffe4dc, #dff3eb);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

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

.not-found .big {
  font-family: var(--display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--blush);
  margin: 0;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes floatIn {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: none; }
}

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

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

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

@media (max-width: 900px) {
  .hero-shell,
  .grid-3,
  .price-grid,
  .footer-grid,
  .trust-strip,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 4.25rem;
    left: 0;
    right: 0;
    background: rgba(255, 248, 245, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }

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

  .site-nav a {
    padding: 0.7rem 0.5rem;
  }

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

  .header-inner {
    position: relative;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
