:root {
  --bg: #ffffff;
  --bg-soft: #f4f8f7;
  --bg-muted: #eaf2f0;
  --ink: #1c2422;
  --ink-soft: #4a5854;
  --line: #d5e3df;
  --accent: #2a7a6e;
  --accent-deep: #1f5c53;
  --accent-soft: #a8d5ce;
  --accent-wash: #e8f4f1;
  --warn: #9a4a3a;
  --ok: #2a7a6e;
  --radius: 10px;
  --shadow: 0 18px 40px rgba(28, 36, 34, 0.06);
  --font-sans: "IBM Plex Sans KR", "Noto Sans KR", sans-serif;
  --font-display: "Outfit", "IBM Plex Sans KR", sans-serif;
  --max: 1120px;
  --space: clamp(1.25rem, 3vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(168, 213, 206, 0.35), transparent 60%),
    radial-gradient(900px 420px at -5% 15%, rgba(234, 242, 240, 0.9), transparent 55%),
    var(--bg);
  line-height: 1.7;
  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);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; 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% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(213, 227, 223, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
}

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

.logo-mark {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.45rem;
  background:
    linear-gradient(145deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

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

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

.site-nav a:hover {
  color: var(--accent-deep);
}

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

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

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
}

.nav-toggle-bar {
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  display: block;
}

.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;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 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);
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

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

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

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

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

@media (min-width: 900px) {
  .split-2 { grid-template-columns: 1.05fr 0.95fr; }
  .split-reverse { direction: rtl; }
  .split-reverse > * { direction: ltr; }
}

.hero {
  padding: clamp(3rem, 9vw, 6.5rem) 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 1rem;
  line-height: 0.95;
}

.hero-statement {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  color: var(--ink);
  max-width: 28rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.hero-copy {
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-visual {
  position: relative;
  min-height: 320px;
  border-radius: 0;
  margin-inline: calc(50% - 50vw);
  width: 100vw;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: min(62vh, 560px);
  object-fit: cover;
  animation: soft-rise 1.1s ease both;
}

.hero-caption {
  position: absolute;
  left: max(1rem, calc((100vw - var(--max)) / 2));
  bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--accent);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem 0 0;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

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

.feature-list {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .feature-list { grid-template-columns: repeat(3, 1fr); }
}

.feature {
  padding: 0.25rem 0;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.feature h3 { margin-bottom: 0.4rem; }

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

@media (min-width: 768px) {
  .course-grid,
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}

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

.media-tile:hover { transform: translateY(-3px); }

.media-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 1rem;
}

.media-tile h3 {
  color: var(--ink);
  font-size: 1.15rem;
}

.media-tile p {
  font-size: 0.95rem;
  margin: 0;
}

.quote-block {
  max-width: 40rem;
  border-left: 3px solid var(--accent-soft);
  padding-left: 1.25rem;
  margin: 0;
}

.quote-block p {
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

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

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

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

.price-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.price-tier ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  flex: 1;
}

.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 {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: #fff;
  color: var(--ink);
}

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

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

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

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

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

.legal {
  max-width: 48rem;
}

.legal h2 {
  margin-top: 2.5rem;
}

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

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

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

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

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

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

.module-list li {
  padding: 1rem 1.1rem;
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
}

.avatar-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

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

.site-footer {
  background: #163530;
  color: #d7e8e4;
  padding: 3.5rem 0 1.5rem;
  margin-top: 2rem;
}

.site-footer a {
  color: #d7e8e4;
  text-decoration: none;
}

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

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

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

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

.footer-tag,
.footer-contact p {
  color: #b7cec8;
  font-size: 0.92rem;
}

.footer-heading {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.footer-col {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: #9bb5ae;
}

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

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

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

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

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

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

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

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

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

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

.case-study {
  background: var(--bg-soft);
  padding: 1.75rem;
  margin-top: 2rem;
}

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

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

.cta-band p { opacity: 0.92; }

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

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

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.not-found .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--accent-soft);
  line-height: 1;
  margin: 0;
}

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

.fade-in {
  animation: soft-rise 0.7s ease both;
}

.fade-in-delay {
  animation: soft-rise 0.9s ease 0.15s both;
}

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

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

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

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

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

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-inline: 0;
    width: 100%;
  }

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

  .hero-caption {
    left: 1rem;
    right: 1rem;
  }
}
