:root {
  --bg: #ffffff;
  --bg-soft: #f5f8f6;
  --bg-muted: #eef3f0;
  --ink: #1a2b26;
  --ink-soft: #4a5c56;
  --ink-faint: #7a8c85;
  --line: #d8e3de;
  --accent: #2f6f5e;
  --accent-deep: #245748;
  --accent-soft: #a8d5c4;
  --accent-wash: #e7f3ee;
  --warn: #9a5b3c;
  --error: #9b3b3b;
  --ok: #2f6f5e;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 18px 40px rgba(26, 43, 38, 0.08);
  --font-sans: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  --font-display: "Noto Serif KR", "Source Han Serif KR", serif;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 7rem;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}

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

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

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

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

h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  margin: 0 0 var(--space-5);
}

h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  margin: 0 0 var(--space-4);
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 var(--space-3);
}

p {
  margin: 0 0 var(--space-4);
  color: var(--ink-soft);
}

ul,
ol {
  color: var(--ink-soft);
}

.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: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  z-index: 1000;
}

.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

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

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

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

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

.logo-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 6px;
  background:
    radial-gradient(circle at 35% 35%, var(--accent-soft), transparent 55%),
    linear-gradient(145deg, var(--accent), var(--accent-deep));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-nav .nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
}

.nav-toggle-bar::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.nav-toggle-bar::after {
  position: absolute;
  top: 6px;
  left: 0;
}

.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: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

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

.btn-primary: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-deep);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.section {
  padding: var(--space-8) 0;
}

.section-tight {
  padding: var(--space-7) 0;
}

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

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

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

.lead {
  font-size: 1.15rem;
  max-width: 42rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: var(--space-6);
}

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

/* Hero — brand-forward, edge-to-edge visual */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #16352c;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 35, 29, 0.25) 0%, rgba(15, 35, 29, 0.78) 70%, rgba(15, 35, 29, 0.92) 100%),
    radial-gradient(ellipse at 20% 20%, rgba(168, 213, 196, 0.22), transparent 45%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-9) 0 var(--space-8);
  max-width: 38rem;
  animation: riseIn 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 var(--space-4);
  color: #fff;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  margin-bottom: var(--space-4);
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: var(--space-5);
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--bg);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  padding: var(--space-6) 0;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--accent-deep);
  margin-bottom: 0.25rem;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-7);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.grid-2-auto {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-5);
}

.feature-list li {
  padding-left: var(--space-5);
  border-left: 3px solid var(--accent-soft);
}

.feature-list h3 {
  margin-bottom: var(--space-2);
}

.feature-list p {
  margin: 0;
}

.course-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
}

.course-tile:hover {
  transform: translateY(-4px);
}

.course-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
}

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

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  color: var(--ink-faint);
  font-size: 0.9rem;
  margin-bottom: var(--space-3);
}

.quote-block {
  max-width: 36rem;
}

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

.quote-block cite {
  font-style: normal;
  color: var(--ink-faint);
  font-size: 0.95rem;
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-muted);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  animation: softZoom 14s ease-in-out infinite alternate;
}

.page-hero {
  padding: var(--space-8) 0 var(--space-6);
  background:
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-bottom: 1px solid var(--line);
}

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

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  align-items: stretch;
}

.price-tier {
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.price-tier.featured {
  border-color: var(--accent);
  background: var(--accent-wash);
  box-shadow: var(--shadow);
}

.price-tier h2 {
  margin: 0;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent-deep);
}

.price-tier ul {
  margin: 0;
  padding-left: 1.1rem;
  flex: 1;
}

.price-note {
  font-size: 0.9rem;
  color: var(--ink-faint);
  margin: 0;
}

.review-stack {
  display: grid;
  gap: var(--space-5);
}

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

.review-item:last-child {
  border-bottom: 0;
}

.review-item .rating {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: var(--space-2);
}

.review-item p:last-child {
  margin-bottom: 0;
}

.case-study {
  padding: var(--space-6);
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  margin-top: var(--space-6);
}

.blog-list {
  display: grid;
  gap: var(--space-6);
}

.blog-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-5);
  text-decoration: none;
  color: inherit;
  align-items: start;
}

.blog-row img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.blog-row h2 {
  font-size: 1.35rem;
  margin-bottom: var(--space-2);
  color: var(--ink);
}

.article {
  max-width: 42rem;
  margin: 0 auto;
  padding: var(--space-7) 0 var(--space-8);
}

.article-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: var(--space-5) 0 var(--space-6);
}

.article h2 {
  margin-top: var(--space-6);
}

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

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

.faq p {
  margin: var(--space-3) 0 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: var(--space-7);
}

.contact-card {
  background: var(--bg-soft);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
}

.contact-card address {
  font-style: normal;
  color: var(--ink-soft);
  margin-bottom: var(--space-4);
}

.form {
  display: grid;
  gap: var(--space-4);
}

.form-field {
  display: grid;
  gap: var(--space-2);
}

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

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  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 {
  color: var(--error);
  font-size: 0.88rem;
  min-height: 1.2em;
}

.form-status {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  display: none;
}

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

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

.legal {
  max-width: 48rem;
  padding: var(--space-7) 0 var(--space-8);
}

.legal h2 {
  margin-top: var(--space-6);
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-4) 0 var(--space-5);
  font-size: 0.95rem;
}

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

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

.module-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.module-list li {
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.instructor {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-5);
  align-items: center;
  margin: var(--space-5) 0;
}

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

.cta-band {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff;
  padding: var(--space-8) 0;
  text-align: center;
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band p {
  max-width: 34rem;
  margin-inline: auto;
  margin-bottom: var(--space-5);
  opacity: 0.92;
}

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

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

.site-footer {
  background: #132820;
  color: rgba(255, 255, 255, 0.78);
  padding: var(--space-8) 0 var(--space-5);
  margin-top: auto;
}

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

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

.site-footer .logo-text {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-4);
  font-size: 0.95rem;
}

.footer-heading {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: var(--space-3);
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--space-4);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 200;
  max-width: 520px;
  margin-left: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: var(--space-5);
  animation: riseIn 0.45s ease both;
}

.cookie-banner p {
  margin-bottom: var(--space-4);
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.inline-error {
  display: none;
  margin: var(--space-3) 0;
  padding: var(--space-3) var(--space-4);
  background: #f8ecec;
  color: var(--error);
  border-radius: var(--radius);
}

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

.error-page {
  min-height: calc(100vh - var(--header-h) - 220px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-8) var(--space-4);
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--accent-soft);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-5);
}

.timeline li {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: var(--space-4);
}

.timeline .step {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
}

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

@keyframes heroDrift {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.08) translateY(-1.5%);
  }
}

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

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-2-auto,
  .price-grid,
  .contact-layout,
  .footer-grid,
  .blog-row,
  .instructor,
  .trust-grid {
    grid-template-columns: 1fr;
  }

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

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: var(--space-4);
  }

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

  .site-nav .nav-list {
    flex-direction: column;
    gap: var(--space-3);
  }

  .hero {
    min-height: 78vh;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
}

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