:root {
  --bg: #fdf4ef;
  --bg-soft: #f8e8e1;
  --surface: #fffaf7;
  --card: #ffffff;
  --ink: #3a2a2c;
  --ink-soft: #6b5558;
  --rose: #e8a0a0;
  --rose-deep: #d47f84;
  --sage: #a8c5b8;
  --sage-deep: #7fa894;
  --lilac: #d4a5c9;
  --peach: #f2c4a8;
  --cream: #fff3ec;
  --line: rgba(58, 42, 44, 0.08);
  --shadow: 0 12px 32px rgba(212, 127, 132, 0.12);
  --shadow-soft: 0 6px 18px rgba(58, 42, 44, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --font-display: "Sora", "Noto Sans KR", sans-serif;
  --font-body: "Noto Sans KR", "Sora", 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%, #f7d6d0 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #d9ebe3 0%, transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, var(--cream) 40%, var(--bg-soft) 100%);
  min-height: 100vh;
  line-height: 1.7;
  font-size: 1rem;
}

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

a {
  color: var(--rose-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.25;
  font-weight: 650;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

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

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

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(253, 244, 239, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  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: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 22%, transparent 23%),
    linear-gradient(145deg, var(--rose), var(--lilac));
  box-shadow: var(--shadow-soft);
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--surface);
  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;
}

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

.nav-list a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.35rem 0.2rem;
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--rose), var(--lilac));
  color: #fff !important;
  padding: 0.55rem 1rem !important;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
}

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

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

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

  .site-nav.is-open {
    display: block;
    animation: softRise 0.35s ease;
  }

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

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

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

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

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

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

.reveal {
  animation: fadeUp 0.7s ease both;
}

.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }
.reveal-delay-3 { animation-delay: 0.36s; }

/* Buttons */
.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: inherit;
  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(--rose-deep), var(--lilac));
  color: #fff;
  box-shadow: var(--shadow);
}

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

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

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

/* Cards */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  overflow: hidden;
}

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

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

.pill {
  display: inline-block;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Hero home — editorial split, brand dominant */
.home-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: end;
  padding: 2.5rem 0 1rem;
  min-height: calc(100vh - var(--header-h) - 2rem);
}

.home-hero-copy {
  padding-bottom: 1.5rem;
}

.home-hero .brand-lockup {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin-bottom: 1.1rem;
  background: linear-gradient(120deg, var(--ink) 20%, var(--rose-deep) 70%, var(--lilac));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-hero h1 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 600;
  color: var(--ink-soft);
  max-width: 22ch;
}

.home-hero .lede {
  max-width: 38ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.home-hero-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
  animation: floaty 7s ease-in-out infinite;
}

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

.home-hero-actions {
  margin-top: 1.5rem;
}

@media (max-width: 860px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.5rem;
  }

  .home-hero-visual {
    min-height: 280px;
    order: -1;
  }

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

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

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

.section-lead {
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 2rem;
}

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

.proof-item {
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  text-align: center;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--rose-deep);
  letter-spacing: -0.03em;
}

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

@media (max-width: 700px) {
  .proof-band {
    grid-template-columns: 1fr;
  }
}

.course-grid,
.blog-grid,
.tier-grid,
.benefit-grid {
  display: grid;
  gap: 1.25rem;
}

.course-grid,
.blog-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.benefit-grid {
  grid-template-columns: repeat(2, 1fr);
}

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

.benefit-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.benefit-item p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

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

.quote-stack {
  display: grid;
  gap: 1rem;
}

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

.quote-card blockquote {
  margin: 0 0 0.85rem;
  font-size: 1.02rem;
}

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

.soft-panel {
  background: linear-gradient(145deg, rgba(232, 160, 160, 0.18), rgba(168, 197, 184, 0.22));
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid var(--line);
}

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

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

.page-hero p {
  color: var(--ink-soft);
  max-width: 48ch;
}

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

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

/* Pricing */
.tier-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

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

.tier.featured {
  background: linear-gradient(180deg, #fff 0%, #fff5f2 100%);
  border-color: rgba(232, 160, 160, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.tier h2 {
  font-size: 1.35rem;
}

.tier .price {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0.4rem 0 1rem;
  letter-spacing: -0.03em;
}

.tier ul {
  flex: 1;
  margin-bottom: 1.25rem;
}

.tier li {
  padding: 0.4rem 0 0.4rem 1.2rem;
  position: relative;
  color: var(--ink-soft);
}

.tier li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  position: absolute;
  left: 0;
  top: 0.75rem;
}

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

  .tier.featured {
    transform: none;
  }
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form label {
  font-weight: 600;
  font-size: 0.92rem;
}

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

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

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

.field-error {
  color: #b44a55;
  font-size: 0.85rem;
  min-height: 1.2em;
}

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

.form-status.is-success {
  display: block;
  background: rgba(168, 197, 184, 0.35);
  color: #2f5a48;
}

.form-status.is-error {
  display: block;
  background: rgba(232, 160, 160, 0.35);
  color: #8a3340;
}

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

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

.contact-aside p {
  color: var(--ink-soft);
}

@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* Legal */
.legal {
  max-width: 720px;
}

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

.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.75rem;
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--cream);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 560px;
  margin-inline: auto;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 1.25rem 1.35rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: softRise 0.4s ease;
}

.cookie-banner p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

.inline-error {
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(232, 160, 160, 0.3);
  color: #8a3340;
  display: none;
}

.inline-error.is-visible {
  display: block;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  background: rgba(255, 250, 247, 0.9);
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
}

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

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

.footer-tag {
  color: var(--ink-soft);
  max-width: 36ch;
}

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

.footer-heading {
  font-weight: 700;
  margin-bottom: 0.65rem;
}

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

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

.footer-contact p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

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

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

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

/* Course detail */
.module-list,
.outcome-list,
.faq-list {
  display: grid;
  gap: 0.85rem;
}

.module-item,
.faq-item {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  align-items: center;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--line);
}

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

@media (max-width: 560px) {
  .instructor {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.case-study {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.25rem;
}

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

.prose {
  max-width: 680px;
}

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

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

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}
