:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #17202a;
  --muted: #667085;
  --line: #e5e7eb;
  --primary: #2563eb;
  --heading: #0f2a5f;
  --subheading: #1d4ed8;
  --soft: #eef4ff;
  --nav: #101827;
  --nav-hover: #1f2937;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.68;
}

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

.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

aside {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  background: var(--nav);
  color: #ffffff;
  padding: 30px 22px;
}

.brand {
  margin-bottom: 30px;
}

.brand h1 {
  font-size: 24px;
  line-height: 1.22;
  margin: 0 0 10px;
}

.brand p {
  font-size: 14px;
  color: #cbd5e1;
  margin: 0;
}

nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

nav a {
  padding: 12px 13px;
  border-radius: 10px;
  color: #d1d5db;
  font-size: 15px;
  font-weight: 700;
}

nav a:hover,
nav a.active {
  background: var(--nav-hover);
  color: #ffffff;
}

main {
  padding: 44px 56px 80px;
  max-width: 1180px;
  width: 100%;
}

.hero {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
  border-radius: 28px;
  padding: 44px 48px;
  margin-bottom: 28px;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.18);
}

.hero .eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h2 {
  font-size: 44px;
  line-height: 1.25;
  margin: 0 0 18px;
}

.hero p {
  font-size: 19px;
  max-width: 850px;
  margin: 0 0 26px;
  color: #e5efff;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}

.btn.white {
  background: #ffffff;
  color: var(--primary);
}

.btn.outline {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 38px;
  margin-bottom: 24px;
}

section h2 {
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.35;
  color: var(--heading);
}

section h3 {
  margin: 32px 0 14px;
  font-size: 23px;
  line-height: 1.38;
  color: var(--subheading);
  padding-left: 12px;
  border-left: 4px solid #93c5fd;
}

section p {
  margin: 0 0 16px;
}

.lead {
  font-size: 21px;
  font-weight: 800;
  color: #111827;
}

.muted {
  color: var(--muted);
}

.section-label {
  display: inline-block;
  font-size: 15px;
  color: var(--primary);
  background: #eef4ff;
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 900;
  margin-bottom: 14px;
}

.directory,
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.cards {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.doc-card,
.card,
.industry {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

.doc-card {
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.doc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
  border-color: #bfdbfe;
}

.doc-card span {
  display: inline-block;
  font-size: 13px;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 8px;
}

.doc-card h3,
.card h3,
.industry h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.38;
  color: #173b7a;
  padding-left: 0;
  border-left: 0;
}

.doc-card p,
.card p {
  margin: 0;
  font-size: 15.5px;
  color: var(--muted);
}

.flow-title {
  margin-top: 24px;
  font-weight: 800;
  color: #111827;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.step {
  background: var(--soft);
  border: 1px solid #dbeafe;
  padding: 18px;
  border-radius: 16px;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
  color: #1e40af;
}

.comparison {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
  margin-top: 22px;
}

.comparison th,
.comparison td {
  border: 1px solid var(--line);
  padding: 16px;
  vertical-align: top;
  text-align: left;
  font-size: 16px;
}

.comparison th {
  background: #f3f4f6;
  font-weight: 900;
}

.comparison td:nth-child(2) {
  background: #f8fbff;
  font-weight: 700;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

li {
  margin-bottom: 6px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  background: #f3f4f6;
  color: #374151;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.cta {
  background: #111827;
  color: #ffffff;
  border-radius: 26px;
  padding: 38px;
  margin-top: 26px;
}

.cta h2 {
  color: #ffffff;
}

.cta p {
  color: #d1d5db;
  max-width: 760px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.cta .btn {
  background: #ffffff;
  color: #111827;
}

footer {
  color: var(--muted);
  font-size: 14px;
  margin-top: 32px;
  padding-bottom: 30px;
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
  }

  aside {
    position: relative;
    height: auto;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  main {
    padding: 28px 20px 60px;
  }

  .hero {
    padding: 34px 26px;
  }

  .hero h2 {
    font-size: 34px;
  }

  section {
    padding: 28px 22px;
  }

  section h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 19px;
  }

  .cards,
  .industry-grid,
  .directory,
  .flow {
    grid-template-columns: 1fr;
  }
}
