:root {
  --bg: #ffffff;
  --bg-soft: #f5f8f8;
  --bg-mute: #eef3f3;
  --ink: #1c2430;
  --ink-soft: #5c6675;
  --line: #dde4e6;
  --accent: #2a7a7b;
  --accent-deep: #1f5f60;
  --accent-soft: #e4f2f2;
  --accent-warm: #c9784a;
  --shadow: 0 18px 48px rgba(28, 36, 48, 0.08);
  --radius: 14px;
  --font-display: "Noto Serif KR", "Songti SC", serif;
  --font-body: "Noto Sans KR", "Apple SD Gothic Neo", 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-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.35;
  font-weight: 600;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.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(12px);
  border-bottom: 1px solid var(--line);
}

.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: 28px;
  height: 28px;
  border-radius: 7px;
  background:
    radial-gradient(circle at 60% 35%, #c8e6e6 0 28%, transparent 29%),
    linear-gradient(145deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: inset 0 -6px 0 rgba(255, 255, 255, 0.12);
}

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

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

.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(--ink);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-main {
  min-height: 60vh;
}

.hero-home {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-home__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-home__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-zoom 18s ease-out forwards;
}

.hero-home__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 28, 34, 0.25) 0%, rgba(18, 28, 34, 0.72) 68%, rgba(18, 28, 34, 0.88) 100%);
}

.hero-home__content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  animation: rise-in 0.9s ease both;
}

.hero-home .brand-signal {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 0.35em;
}

.hero-home h1 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 500;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.8em;
}

.hero-home .lede {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
}

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

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

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

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

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

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

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: 5rem 0;
}

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

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

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.section-head p {
  color: var(--ink-soft);
  margin: 0;
}

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

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

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

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

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

.course-card,
.blog-card,
.tier,
.review-card,
.case-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.course-card img,
.blog-card img,
.page-hero img,
.detail-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.course-card .body,
.blog-card .body,
.tier .body,
.review-card,
.case-card {
  padding: 1.35rem 1.4rem 1.5rem;
}

.course-card h3,
.blog-card h3,
.tier h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.course-card p,
.blog-card p,
.meta {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.meta {
  font-size: 0.85rem;
  margin-bottom: 0.55rem;
}

.benefit-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-list li {
  padding-left: 0;
  animation: fade-up 0.7s ease both;
}

.benefit-list li:nth-child(2) { animation-delay: 0.08s; }
.benefit-list li:nth-child(3) { animation-delay: 0.16s; }
.benefit-list li:nth-child(4) { animation-delay: 0.24s; }

.benefit-list h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.benefit-list p {
  color: var(--ink-soft);
  margin: 0;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
}

.quote {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
}

.quote blockquote {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--ink);
}

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

.quote--tall {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--accent-soft);
  border-color: transparent;
}

.cta-band {
  background:
    linear-gradient(135deg, rgba(42, 122, 123, 0.92), rgba(31, 95, 96, 0.95)),
    url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 3rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-band p {
  margin: 0;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.85);
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero--split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding-bottom: 3rem;
}

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

.page-hero .lede {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 42ch;
}

.page-hero--split img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  animation: rise-in 1s ease both;
}

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

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.prose {
  max-width: 42rem;
}

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

.prose h3 {
  margin-top: 1.5rem;
  font-size: 1.15rem;
}

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

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

.prose th {
  background: var(--bg-soft);
  font-weight: 600;
}

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

.module-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.module-num {
  font-family: var(--font-display);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

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

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

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

.tier {
  display: flex;
  flex-direction: column;
}

.tier.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

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

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

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

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

.tier .body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  color: var(--ink-soft);
  margin: 0.75rem 0 0.25rem;
}

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

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

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

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

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

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

.form-status {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  display: none;
}

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

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

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

.contact-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 1.75rem;
}

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

.contact-card p {
  color: var(--ink-soft);
  word-break: break-word;
}

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

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

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

.footer-tag {
  margin: 0;
  max-width: 28ch;
}

.footer-col h2 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
}

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

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

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 520px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: rise-in 0.45s ease both;
}

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

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

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  background: #f8e8e5;
  color: #8a3328;
  border-radius: 10px;
  font-size: 0.92rem;
}

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

.not-found h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--accent);
  margin-bottom: 0.2em;
}

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

.metric {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent-deep);
}

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

.tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.stars {
  color: var(--accent-warm);
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

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

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

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@media (max-width: 960px) {
  .course-grid,
  .blog-grid,
  .pricing-grid,
  .proof-grid,
  .footer-grid,
  .contact-layout,
  .page-hero--split,
  .quote-grid,
  .metric-row {
    grid-template-columns: 1fr 1fr;
  }

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

  .tier.featured {
    transform: none;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    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: 0.75rem 1.25rem 1.25rem;
    gap: 0;
    display: none;
  }

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

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

  .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-bottom: 0 !important;
  }

  .course-grid,
  .blog-grid,
  .pricing-grid,
  .proof-grid,
  .footer-grid,
  .contact-layout,
  .page-hero--split,
  .quote-grid,
  .benefit-list,
  .metric-row,
  .instructor {
    grid-template-columns: 1fr;
  }

  .hero-home__content {
    padding: 3rem 0 3.5rem;
  }

  .cta-band {
    padding: 2rem 1.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}
