:root {
  --bg: #f7f9f8;
  --surface: #ffffff;
  --ink: #1c2422;
  --ink-soft: #4a5754;
  --muted: #6b7875;
  --line: #dfe6e3;
  --accent: #1a5f5a;
  --accent-soft: #e6f2f0;
  --accent-hover: #134845;
  --warm: #c4785a;
  --warm-soft: #f8efe9;
  --success: #2d6a4f;
  --error: #9b3a3a;
  --radius: 4px;
  --shadow: 0 12px 40px rgba(28, 36, 34, 0.06);
  --font-display: "Cormorant Garamond", "Noto Serif KR", 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);
  font-size: 1rem;
  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);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

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.4rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; 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;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 249, 248, 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: 1rem;
}

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

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

.logo-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

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

.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 {
  color: var(--accent);
}

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

.nav-cta:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

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

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

.site-main {
  overflow-x: clip;
}

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

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

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

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

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

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

.btn-warm {
  background: var(--warm-soft);
  color: #7a3f2a;
  border-color: transparent;
}

.btn-warm:hover {
  background: #f0e0d6;
  color: #7a3f2a;
}

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

.section {
  padding: 5rem 0;
}

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

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

.section-head p {
  font-size: 1.05rem;
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 880px) {
  .split-2 { grid-template-columns: 1.05fr 0.95fr; }
  .split-2-rev { grid-template-columns: 0.95fr 1.05fr; }
  .split-2-rev > :first-child { order: 2; }
}

.hero-home {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(26, 95, 90, 0.55) 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-home .container {
  padding: 4.5rem 0 5rem;
  max-width: var(--max);
}

.hero-home .brand-signal {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  line-height: 1.05;
  color: #fff;
  animation: rise-in 0.9s ease both;
}

.hero-home h1 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-family: var(--font-body);
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  max-width: 28rem;
  margin-bottom: 1.25rem;
  animation: rise-in 0.9s ease 0.12s both;
}

.hero-home .lead {
  max-width: 32rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2rem;
  animation: rise-in 0.9s ease 0.22s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise-in 0.9s ease 0.32s both;
}

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

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

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

.hero-home .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.08);
}

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

@keyframes fade-soft {
  from { opacity: 0; }
  to { opacity: 1; }
}

.proof-strip {
  background: var(--surface);
  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-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  font-weight: 600;
}

.proof-item span {
  font-size: 0.9rem;
  color: var(--muted);
}

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

@media (min-width: 720px) {
  .course-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: repeat(3, 1fr); }
}

.media-block {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

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

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

.course-item,
.blog-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.course-item:hover,
.blog-item:hover {
  box-shadow: var(--shadow);
  border-color: #c9d5d1;
}

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

.course-body,
.blog-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.course-body h3,
.blog-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

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

.course-body h3 a:hover,
.blog-body h3 a:hover {
  color: var(--accent);
}

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

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

.benefit-item h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

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

.quote {
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
}

.quote p {
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: 0.85rem;
}

.quote footer {
  font-size: 0.88rem;
  color: var(--muted);
}

.quote .stars {
  color: var(--warm);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.band {
  background: var(--accent);
  color: #fff;
  padding: 4rem 0;
}

.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,0.82); }
.band .btn-primary {
  background: #fff;
  color: var(--accent);
}
.band .btn-primary:hover {
  background: var(--accent-soft);
}

.page-hero {
  padding: 4rem 0 2.5rem;
  background:
    radial-gradient(ellipse at top right, var(--accent-soft), transparent 55%),
    var(--bg);
}

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

.page-hero .lede {
  max-width: 40rem;
  font-size: 1.1rem;
}

.full-bleed-hero {
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  position: relative;
}

.full-bleed-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,36,34,0.2), rgba(28,36,34,0.65));
}

.full-bleed-hero .container {
  position: relative;
  padding: 3.5rem 0;
  color: #fff;
}

.full-bleed-hero h1 { color: #fff; }
.full-bleed-hero p { color: rgba(255,255,255,0.85); }

.tier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.tier .price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--ink);
  margin: 0.25rem 0;
}

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

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

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

.tier .btn { width: 100%; }

.prose {
  max-width: 42rem;
}

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

.prose ul, .prose ol {
  color: var(--ink-soft);
  padding-left: 1.2rem;
}

.prose li { margin-bottom: 0.4rem; }

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

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

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

th {
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 600;
}

tr:last-child td { border-bottom: 0; }

.form {
  display: grid;
  gap: 1.1rem;
  max-width: 36rem;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.75rem;
  border-radius: var(--radius);
}

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

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 95, 90, 0.15);
}

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

.field-error {
  color: var(--error);
  font-size: 0.82rem;
  min-height: 1.1em;
}

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

.form-status.show { display: block; }
.form-status.success {
  background: #e8f5ee;
  color: var(--success);
}
.form-status.error {
  background: #f8eaea;
  color: var(--error);
}

.contact-panel {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .contact-panel {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

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

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

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

.faq summary {
  cursor: pointer;
  font-weight: 560;
  color: var(--ink);
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

.modules {
  display: grid;
  gap: 0.75rem;
}

.module {
  padding: 1rem 1.15rem;
  background: var(--surface);
  border-left: 3px solid var(--accent);
}

.module strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
}

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

@media (min-width: 640px) {
  .instructor {
    grid-template-columns: 120px 1fr;
  }
}

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

.case-study {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.case-study h3 {
  margin-bottom: 0.75rem;
}

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

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

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

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

.footer-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
}

.footer-heading {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col a {
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  font-size: 0.92rem;
}

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

.footer-contact p {
  color: rgba(255,255,255,0.68);
  font-size: 0.88rem;
  margin: 0 0 0.55rem;
}

.footer-contact a { color: rgba(255,255,255,0.8); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
}

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

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

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

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 200;
  max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  animation: rise-in 0.4s ease both;
}

.cookie-banner p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

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

.cookie-banner[hidden] { display: none !important; }

.inline-error {
  background: #f8eaea;
  color: var(--error);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin: 1rem 0;
  font-size: 0.9rem;
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

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

.insight-list {
  display: grid;
  gap: 1.25rem;
}

.insight-row {
  display: grid;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 720px) {
  .insight-row {
    grid-template-columns: 8rem 1fr;
    gap: 1.5rem;
  }
}

.insight-row .label {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.9rem;
}

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

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

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

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

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

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

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

  .proof-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
