:root {
  --bg: #ffffff;
  --bg-soft: #f4f7f6;
  --bg-muted: #e9efed;
  --ink: #1c2422;
  --ink-muted: #5a6b66;
  --accent: #2f6f62;
  --accent-deep: #1f4a41;
  --accent-soft: #d8ebe5;
  --line: #d5e0dc;
  --danger: #a33b3b;
  --ok: #2f6f62;
  --radius: 4px;
  --shadow-soft: 0 18px 40px rgba(28, 36, 34, 0.06);
  --font-display: "Noto Serif KR", "Source Serif 4", Georgia, serif;
  --font-body: "Noto Sans KR", "Source Sans 3", 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: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.25rem; }

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2.5rem, 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;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.brand:hover { text-decoration: none; }

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(145deg, var(--accent) 0%, #4a9a88 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.2);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

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

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

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--accent-deep);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 3px 0;
}

.nav-toggle-label {
  font-size: 0.85rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(28, 36, 34, 0.15) 0%, rgba(28, 36, 34, 0.72) 100%),
    url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  color: #fff;
}

.hero-inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0 5rem;
  animation: rise 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.35em;
  color: #fff;
  line-height: 1.05;
}

.hero-line {
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: #fff;
  color: var(--accent-deep);
}

.btn-primary:hover { background: var(--accent-soft); }

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

.btn-accent:hover { background: var(--accent-deep); color: #fff; }

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

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

.btn-light-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}

.section {
  padding: 5rem 0;
}

.section-soft {
  background: var(--bg-soft);
}

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

.section-head p { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.proof-strip {
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
  background: var(--bg);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.proof-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  margin: 0;
}

.proof-label {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
}

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

.course-grid,
.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

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

.media-tile {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-muted);
}

.media-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.media-tile:hover img {
  transform: scale(1.03);
}

.tile-body {
  padding: 1.15rem 0 0;
}

.tile-body h3 {
  margin-bottom: 0.4rem;
}

.tile-body h3 a {
  color: var(--ink);
  text-decoration: none;
}

.tile-body h3 a:hover { color: var(--accent); }

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

.benefit-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.benefit-item:last-child { border-bottom: 1px solid var(--line); }

.benefit-item h3 { margin-bottom: 0.35rem; }

.quote-block {
  max-width: 40rem;
  margin: 0 auto;
  text-align: left;
}

.quote-block blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  color: var(--ink);
  line-height: 1.45;
}

.quote-attr {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.page-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    linear-gradient(135deg, var(--bg-soft) 0%, #fff 55%, var(--accent-soft) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero p { max-width: 38rem; margin-bottom: 0; }

.tier {
  border: 1px solid var(--line);
  padding: 1.75rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tier:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}

.tier-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}

.tier-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0;
  color: var(--ink);
}

.tier-price {
  font-size: 2rem;
  font-family: var(--font-display);
  color: var(--accent);
  margin: 0;
}

.tier-price span {
  font-size: 0.95rem;
  color: var(--ink-muted);
  font-family: var(--font-body);
}

.tier ul {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.tier li {
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.form {
  max-width: 36rem;
  display: grid;
  gap: 1.1rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

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

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

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

.field-error {
  display: none;
  color: var(--danger);
  font-size: 0.88rem;
  margin-top: 0.35rem;
}

.form-field.is-invalid .field-error { display: block; }
.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: var(--danger);
}

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

.form-status.is-success {
  display: block;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.form-status.is-error {
  display: block;
  background: #f8e8e8;
  color: var(--danger);
}

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  background: #f8e8e8;
  color: var(--danger);
  border-radius: var(--radius);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.contact-aside {
  background: var(--bg-soft);
  padding: 1.75rem;
  border: 1px solid var(--line);
}

.contact-aside h2 { font-size: 1.2rem; }

.review-list {
  display: grid;
  gap: 1.75rem;
}

.review-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.review-item:first-child { border-top: 1px solid var(--line); }

.stars {
  color: var(--accent);
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.case-study {
  background: var(--bg-soft);
  padding: 2rem;
  border: 1px solid var(--line);
  margin-top: 2rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 { margin-top: 2rem; }
.prose ul, .prose ol { color: var(--ink-muted); padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}

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

.prose th { background: var(--bg-soft); color: var(--ink); }

.module-list {
  display: grid;
  gap: 1rem;
}

.module {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.module h3 { margin-bottom: 0.3rem; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

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

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

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  align-items: center;
  margin: 2rem 0;
}

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

.split-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.cta-band {
  background: linear-gradient(120deg, var(--accent) 0%, #3d8a78 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 34rem; margin: 0 auto 1.5rem; }

.site-footer {
  background: #16201d;
  color: rgba(255,255,255,0.78);
  padding: 3.5rem 0 1.5rem;
  margin-top: 0;
}

.footer-grid {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  gap: 2rem;
}

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

.footer-tag { margin: 0; color: rgba(255,255,255,0.65); }

.footer-heading {
  color: #fff;
  font-weight: 700;
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
}

.footer-col a,
.footer-legal a {
  display: block;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.45rem;
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-col a:hover,
.footer-legal a:hover { color: #fff; }

.footer-address {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
}

.footer-bottom {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal a { display: inline; margin: 0; }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(28, 36, 34, 0.08);
  padding: 1.15rem 0;
  animation: slideUp 0.35s ease both;
}

.cookie-inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cookie-inner p {
  margin: 0;
  font-size: 0.92rem;
  max-width: 42rem;
}

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

.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--accent);
  margin: 0;
  line-height: 1;
}

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

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

@media (max-width: 900px) {
  .course-grid,
  .blog-grid,
  .tier-grid,
  .proof-grid,
  .footer-grid,
  .contact-layout,
  .split-visual,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.35rem;
  }

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

  .site-nav a {
    padding: 0.7rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

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