* {
  box-sizing: border-box;
}

:root {
  --ink: #18212b;
  --muted: #5d6975;
  --line: #dce3ea;
  --paper: #ffffff;
  --soft: #f4f7fa;
  --mint: #2f6f65;
  --blue: #285c8f;
  --gold: #b7791f;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Arial, "Noto Sans KR", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 max(16px, calc((100vw - 1120px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.top-nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.top-nav a {
  text-decoration: none;
}

.home-hero,
.detail-hero {
  background:
    linear-gradient(135deg, rgba(47, 111, 101, 0.14), rgba(40, 92, 143, 0.12)),
    #fbfcfd;
  border-bottom: 1px solid var(--line);
}

.home-hero-grid,
.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 70px 0;
}

.eyebrow,
.section-kicker,
.summary-label {
  margin: 0 0 10px;
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  line-height: 1.12;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.22;
}

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

.home-hero p,
.detail-hero p {
  max-width: 720px;
  font-size: 1.08rem;
}

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

.cta-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.cta-button {
  color: #ffffff;
  background: var(--mint);
}

.secondary-button {
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
}

.learning-visual,
.summary-panel,
.related-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(24, 33, 43, 0.08);
}

.learning-visual {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.visual-card {
  padding: 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.visual-card.primary {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.visual-card span,
.featured-card span,
.area-row strong,
.service-card em {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.visual-card.primary span,
.visual-card.primary p {
  color: rgba(255, 255, 255, 0.78);
}

.visual-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.25rem;
}

.visual-card p {
  margin: 4px 0 0;
}

.home-band {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  padding: 28px 0;
}

.metric-grid div {
  padding: 10px 18px;
  border-left: 1px solid var(--line);
}

.metric-grid div:first-child {
  border-left: 0;
}

.metric-grid strong {
  display: block;
  font-size: 2rem;
}

.metric-grid span {
  color: var(--muted);
}

.section-block {
  padding: 70px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.classification-section {
  border-bottom: 1px solid var(--line);
}

.classification-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.classification-menu a {
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.classification-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.classification-card {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.classification-card h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.classification-card p {
  margin-bottom: 16px;
}

.mini-links {
  display: grid;
  gap: 8px;
}

.mini-links a {
  display: block;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.mini-links span,
.related-links span,
.related-links em {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
}

.mini-links strong,
.related-links strong {
  display: block;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.45;
}

.service-grid,
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card,
.featured-card,
.area-row {
  display: block;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.service-card span,
.featured-card strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
}

.service-card strong {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 36px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.target-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.target-links a {
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.area-row span {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
}

.home-cta {
  padding: 70px 0;
  color: #ffffff;
  background: var(--ink);
}

.home-cta p,
.home-cta .section-kicker {
  color: rgba(255, 255, 255, 0.74);
}

.home-cta h2 {
  max-width: 760px;
}

.detail-hero-grid {
  align-items: stretch;
}

.detail-hero h1 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.classification-badge {
  display: inline-flex;
  max-width: 100%;
  margin-bottom: 14px;
  padding: 8px 12px;
  background: rgba(47, 111, 101, 0.1);
  border: 1px solid rgba(47, 111, 101, 0.22);
  border-radius: 999px;
  color: var(--mint);
  font-size: 0.92rem;
  font-weight: 800;
}

.summary-panel {
  align-self: center;
  padding: 24px;
}

.summary-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-list {
  display: grid;
  gap: 10px;
}

.summary-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-list li:last-child {
  border-bottom: 0;
}

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

.summary-list strong {
  text-align: right;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  padding: 56px 0 76px;
}

.fit-section,
.content-section,
.faq-section,
.cta-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.fit-section:first-child {
  padding-top: 0;
}

.fit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.fit-list li {
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.55;
}

.content-section p,
.faq-section p,
.cta-section p {
  max-width: 760px;
}

details {
  margin-top: 14px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

.cta-section {
  margin-top: 28px;
  padding: 30px;
  background: #eef7f5;
  border: 1px solid #c9dfda;
  border-radius: 8px;
}

.related-panel {
  position: sticky;
  top: 84px;
  align-self: start;
  padding: 22px;
}

.related-panel h2 {
  font-size: 1.2rem;
}

.related-links {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.related-links a {
  display: block;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.site-footer {
  padding: 28px 16px;
  text-align: center;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
  }

  .top-nav {
    gap: 10px;
    font-size: 0.86rem;
  }

  .home-hero-grid,
  .detail-hero-grid,
  .detail-layout,
  .split-section {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .service-grid,
  .featured-grid,
  .area-list,
  .classification-grid,
  .fit-list {
    grid-template-columns: 1fr;
  }

  .metric-grid div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .metric-grid div:first-child {
    border-top: 0;
  }

  .related-panel {
    position: static;
  }
}
