:root {
  --ink: #12263a;
  --ink-soft: #2a4058;
  --mist: #e7eef5;
  --paper: #f5f8fb;
  --teal: #1fa89a;
  --teal-deep: #147f75;
  --amber: #e0a106;
  --line: rgba(18, 38, 58, 0.12);
  --shadow: 0 18px 50px rgba(18, 38, 58, 0.12);
  --radius: 18px;
  --font-display: "Black Han Sans", "Noto Sans KR", sans-serif;
  --font-body: "Noto Sans KR", 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:
    radial-gradient(1200px 600px at 10% -10%, rgba(31, 168, 154, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(224, 161, 6, 0.12), transparent 50%),
    linear-gradient(180deg, #dce7f1 0%, var(--paper) 38%, #eef3f8 100%);
  background-attachment: fixed;
  line-height: 1.7;
  min-height: 100vh;
}

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

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

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

h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 0.6em;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

.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: 40;
  backdrop-filter: blur(14px);
  background: rgba(245, 248, 251, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    linear-gradient(145deg, var(--teal), #0f6f67);
  position: relative;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.12);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px 11px 8px;
  border: 2.5px solid #fff;
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 0.35rem 0;
  transition: color 0.2s ease;
}

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

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

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

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

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

main {
  display: block;
}

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

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 22, 36, 0.88) 18%, rgba(10, 22, 36, 0.45) 62%, rgba(10, 22, 36, 0.25) 100%),
    linear-gradient(0deg, rgba(10, 22, 36, 0.7), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 5rem 0 4.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  animation: rise 0.9s ease both;
}

.hero-lead {
  max-width: 34rem;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.8rem;
  animation: rise 0.9s ease 0.12s both;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  animation: rise 0.9s ease 0.22s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  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(--teal);
  color: #072926;
}

.btn-primary:hover {
  background: #34d0bf;
  color: #072926;
}

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

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

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

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

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

.section {
  padding: 4.5rem 0;
}

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

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

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

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

.proof-band {
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  box-shadow: var(--shadow);
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
}

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

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

.media-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

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

.benefit-list li {
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--teal);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 0 14px 14px 0;
}

.benefit-list strong {
  display: block;
  margin-bottom: 0.25rem;
}

.course-grid,
.card-grid,
.blog-grid,
.tier-grid {
  display: grid;
  gap: 1.4rem;
}

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

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

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

.course-card,
.blog-card,
.tier,
.review-card,
.case-card {
  background: rgba(255, 255, 255, 0.88);
  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,
.instructor-avatar img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.course-body,
.blog-body,
.tier-body,
.review-body,
.case-body {
  padding: 1.25rem 1.3rem 1.45rem;
}

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

.price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 0.4rem 0 0.8rem;
}

.price span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.tier {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
}

.tier.featured {
  background: linear-gradient(165deg, #143049, #1a3d56);
  color: #fff;
  border-color: transparent;
  transform: translateY(-8px);
}

.tier.featured .meta,
.tier.featured p,
.tier.featured li {
  color: rgba(255, 255, 255, 0.82);
}

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

.tier li + li {
  margin-top: 0.45rem;
}

.quote {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

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

.stars {
  color: var(--amber);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.page-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.page-hero .hero-content {
  padding: 4rem 0 3rem;
}

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

.prose {
  max-width: 46rem;
}

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

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.faq details {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
}

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

.faq details[open] summary {
  margin-bottom: 0.6rem;
  color: var(--teal-deep);
}

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

.module {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.module-num {
  font-family: var(--font-display);
  color: var(--teal-deep);
  font-size: 1.3rem;
}

.cta-band {
  margin: 2rem 0 4.5rem;
  padding: 2.4rem;
  border-radius: 28px;
  background:
    linear-gradient(120deg, rgba(18, 38, 58, 0.95), rgba(20, 127, 117, 0.92)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1400&q=80") center/cover;
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin-bottom: 0.5rem;
}

.cta-band p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
}

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

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

label {
  font-weight: 600;
  font-size: 0.94rem;
}

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

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(31, 168, 154, 0.35);
  border-color: var(--teal);
}

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

.form-status {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(31, 168, 154, 0.15);
  color: #0f5f57;
  border: 1px solid rgba(31, 168, 154, 0.35);
}

.form-status.error {
  display: block;
  background: rgba(180, 35, 24, 0.1);
  color: #8a1c14;
  border: 1px solid rgba(180, 35, 24, 0.25);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.info-panel {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.info-panel p {
  color: var(--ink-soft);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

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

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

th {
  background: var(--mist);
}

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

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

.footer-name {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

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

.footer-links {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

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

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

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

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

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 720px;
  margin: 0 auto;
  background: #0f2032;
  color: #fff;
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  display: none;
  animation: rise 0.45s ease both;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
}

.cookie-banner a {
  color: #7fe0d4;
}

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

.cookie-actions .btn {
  min-width: 110px;
}

.inline-error {
  margin: 1rem auto;
  width: min(100% - 2.5rem, var(--max));
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(180, 35, 24, 0.1);
  color: #8a1c14;
  border: 1px solid rgba(180, 35, 24, 0.2);
}

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

.not-found .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.instructor {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.2rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.instructor-avatar {
  border-radius: 50%;
  overflow: hidden;
  width: 140px;
  height: 140px;
}

.instructor-avatar img {
  aspect-ratio: 1;
  height: 100%;
}

.outcome-list {
  columns: 2;
  column-gap: 2rem;
  margin: 0;
  padding-left: 1.1rem;
}

.outcome-list li {
  break-inside: avoid;
  margin-bottom: 0.55rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  position: relative;
  padding-left: 1.4rem;
  border-left: 2px solid var(--teal);
}

.reveal {
  animation: rise 0.8s ease both;
}

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

@keyframes drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 960px) {
  .course-grid,
  .blog-grid,
  .tier-grid,
  .footer-grid,
  .split,
  .contact-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .proof-row {
    grid-template-columns: 1fr;
  }

  .tier.featured {
    transform: none;
  }

  .outcome-list {
    columns: 1;
  }

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

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

  .site-nav {
    display: none;
    position: absolute;
    top: calc(var(--header-h) + 0.4rem);
    left: 1.25rem;
    right: 1.25rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.8rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
  }

  .site-nav a:hover {
    background: var(--mist);
  }

  .nav-cta {
    text-align: center;
  }

  .header-inner {
    position: relative;
  }
}

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