:root {
  --bg: #f7f4ed;
  --surface: #fffdfa;
  --surface-alt: #eef4f2;
  --ink: #1d2525;
  --muted: #5f6d6b;
  --line: #d8dfdc;
  --accent: #146b63;
  --accent-dark: #0b4741;
  --gold: #bf8f2f;
  --rust: #b35b3d;
  --blue: #2f5e9e;
  --shadow: 0 18px 55px rgba(27, 43, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Pretendard",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    system-ui,
    sans-serif;
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 40px;
  border-bottom: 1px solid rgba(29, 37, 37, 0.08);
  background: rgba(247, 244, 237, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 52px;
  min-height: calc(100vh - 68px);
  padding: 72px 7vw 60px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  word-break: keep-all;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.hero-scenarios {
  margin: 14px 0 0;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-actions.center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--accent);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.hero-visual {
  min-width: 0;
}

.visual-panel {
  overflow: hidden;
  border: 1px solid rgba(29, 37, 37, 0.1);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.visual-header {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: #f3eee5;
}

.visual-header span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--rust);
}

.visual-header span:nth-child(2) {
  background: var(--gold);
}

.visual-header span:nth-child(3) {
  background: var(--accent);
}

.mini-process {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 22px;
  list-style: none;
  counter-reset: mini;
}

.mini-process li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
}

.mini-process li::before {
  counter-increment: mini;
  content: counter(mini, decimal-leading-zero);
  color: var(--accent);
  font-size: 12px;
}

.section {
  padding: 88px 7vw;
  background: var(--surface);
}

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

.process-section {
  background: #102f2d;
  color: white;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.skills-note,
.notes-outro {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.text-block p,
.final-inner p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
}

.compare-block {
  margin-top: 48px;
}

.compare-lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.compare-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  text-align: left;
}

.compare-table thead th {
  background: var(--surface-alt);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.compare-table thead th span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.compare-table tbody td:first-child {
  color: var(--muted);
}

.compare-table tbody td:last-child {
  color: var(--ink);
  font-weight: 700;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.fit-grid,
.feature-grid,
.curriculum-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card,
.feature,
.curriculum-card,
.case-card,
.skill-groups article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.card {
  min-height: 172px;
  padding: 24px;
}

.card p,
.feature p,
.curriculum-card p,
.case-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.feature {
  min-height: 240px;
  padding: 24px;
}

.feature-index,
.curriculum-card span,
.case-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.process-section .eyebrow,
.process-section .section-heading h2 {
  color: white;
}

.process-lead {
  margin: 14px auto 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  min-height: 168px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.process-list li::before {
  counter-increment: process;
  content: counter(process, decimal-leading-zero);
  display: block;
  margin-bottom: 22px;
  color: #9bd4ca;
  font-size: 13px;
  font-weight: 900;
}

.process-list span {
  display: block;
  color: white;
  font-size: 19px;
  font-weight: 900;
}

.process-list p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.process-list .process-badge {
  display: inline-block;
  margin: 10px 0 0;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #9bd4ca;
  font-size: 11px;
  font-weight: 800;
}

.process-list .process-link {
  margin-top: 14px;
  color: #9bd4ca;
  font-size: 12px;
  font-weight: 800;
}

.process-outro {
  margin: 28px auto 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.role-block {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.role-heading {
  margin: 0 auto 28px;
  max-width: 640px;
  text-align: center;
}

.role-heading .eyebrow {
  color: #9bd4ca;
}

.role-heading h3 {
  color: white;
  font-size: 24px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.role-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.role-card h4 {
  margin: 0 0 14px;
  color: white;
  font-size: 17px;
}

.role-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.72);
}

.role-card li {
  margin: 0 0 8px;
  padding-left: 16px;
  position: relative;
}

.role-card li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #9bd4ca;
}

.role-card li:last-child {
  margin-bottom: 0;
}

.role-highlight {
  margin: 28px 0 0;
  color: white;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.curriculum-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.curriculum-card,
.case-card {
  min-height: 178px;
  padding: 22px;
}

.project-case-grid {
  display: grid;
  gap: 16px;
}

.project-case-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 32px;
}

.project-case-head h3 {
  font-size: 22px;
}

.project-case-head h3 span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.project-case-head p {
  margin: 12px 0 0;
  color: var(--muted);
}

.project-case-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.project-case-meta dt {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.project-case-meta dd {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.project-case-actions {
  margin-top: 28px;
}

.project-case-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.skill-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.skill-groups article {
  padding: 24px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.method-list {
  display: grid;
  gap: 14px;
}

.method-list div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 78px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.method-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 900;
}

.method-list p {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

.final-cta {
  padding: 96px 7vw;
  background: var(--accent-dark);
  color: white;
  text-align: center;
}

.final-inner {
  max-width: 920px;
  margin: 0 auto;
}

.final-inner .eyebrow,
.final-inner p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-note {
  margin-top: -6px;
  font-size: 15px;
}

.copy-feedback {
  display: block;
  width: 100%;
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.copy-feedback.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .copy-feedback {
    transition: none;
  }
}

.site-footer {
  padding: 28px 7vw;
  background: #0a1f1d;
  color: rgba(255, 255, 255, 0.66);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 22px;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 64px 22px;
  }

  .section,
  .final-cta {
    padding: 72px 22px;
  }

  .split,
  .fit-grid,
  .feature-grid,
  .skill-groups,
  .curriculum-grid,
  .case-grid,
  .process-list,
  .role-grid,
  .project-case-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-actions,
  .hero-actions.center {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .card,
  .feature,
  .curriculum-card,
  .case-card,
  .process-list li {
    min-height: auto;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table td {
    display: block;
    width: 100%;
  }

  .compare-table tr {
    border-bottom: 1px solid var(--line);
  }

  .compare-table tr:last-child {
    border-bottom: none;
  }

  .compare-table td {
    border-bottom: none;
    padding: 10px 20px;
  }

  .compare-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
  }

  .compare-table tr td:first-child {
    padding-top: 16px;
  }

  .compare-table tr td:last-child {
    padding-bottom: 16px;
  }

  h1 {
    font-size: 40px;
  }
}
