/* CertPass 안내 페이지 공통 스타일 (토스 디자인 시스템 기반)
   v1.0 — guide-certification·guide-education·guide-admission 공통
*/
:root {
  --bg: #ffffff;
  --bg-section: #f9fafb;
  --bg-card: #ffffff;
  --bg-card-hover: #f2f4f6;
  --bg-tag: #f2f4f6;
  --primary: #3182f6;
  --primary-light: #e8f3ff;
  --primary-dark: #1b64da;
  --text-strong: #191f28;
  --text-default: #333d4b;
  --text-secondary: #4e5968;
  --text-tertiary: #8b95a1;
  --text-disabled: #b0b8c1;
  --border-light: #f2f4f6;
  --border-soft: #e5e8eb;
  --success: #00c471;
  --success-bg: #e6f7ee;
  --warning: #ff9f1c;
  --warning-bg: #fff4e0;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);
  --font: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-default);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 880px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* nav */
nav {
  position: sticky; top: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
}
.nav-inner {
  display: flex; align-items: center; gap: 32px;
  height: 64px; max-width: 1200px;
  margin: 0 auto; padding: 0 20px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--text-strong);
  font-weight: 700; font-size: 18px;
}
.logo-icon {
  width: 32px; height: 32px; border-radius: 8px; overflow: hidden;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
}
.logo-icon img { width: 32px; height: 32px; }
.logo-tag {
  font-size: 11px; font-weight: 600;
  color: var(--primary); background: var(--primary-light);
  padding: 2px 6px; border-radius: 4px;
}
.nav-links {
  display: flex; gap: 20px; margin-left: auto;
  font-size: 14px;
}
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-weight: 500;
}
.nav-links a:hover { color: var(--primary); }

/* breadcrumb */
.breadcrumb {
  padding: 16px 0 8px;
  font-size: 13px;
  color: var(--text-tertiary);
}
.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { margin: 0 6px; color: var(--text-disabled); }

/* hero */
.guide-hero {
  padding: 32px 0 40px;
  border-bottom: 1px solid var(--border-light);
}
.guide-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 16px;
}
.guide-hero h1 {
  font-size: 32px; font-weight: 800;
  color: var(--text-strong); line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.guide-hero p {
  font-size: 16px; color: var(--text-secondary);
  line-height: 1.65;
}
.guide-hero .accent { color: var(--primary); }

/* section */
section.guide-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
}
section.guide-section:last-of-type { border-bottom: none; }
.section-eyebrow {
  font-size: 12px; font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.section-title {
  font-size: 22px; font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.section-desc {
  font-size: 15px; color: var(--text-secondary);
  margin-bottom: 24px;
}

/* info card */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.info-card-title {
  font-size: 17px; font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 8px;
}
.info-card-desc {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.6;
}

/* fact list */
.fact-list {
  list-style: none;
  margin: 16px 0;
}
.fact-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}
.fact-list li:last-child { border-bottom: none; }
.fact-label {
  flex: 0 0 100px;
  color: var(--text-tertiary);
  font-weight: 500;
}
.fact-value {
  flex: 1;
  color: var(--text-strong);
  font-weight: 600;
}

/* institution grid */
.inst-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.inst-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 16px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.inst-card:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
}
.inst-name {
  font-size: 15px; font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 4px;
}
.inst-meta {
  font-size: 12px; color: var(--text-tertiary);
}
.inst-tag {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 8px; border-radius: 4px;
  margin-bottom: 8px;
}

/* highlight box */
.highlight-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
}
.highlight-box-title {
  font-size: 14px; font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.highlight-box p {
  font-size: 14px; color: var(--text-strong);
  line-height: 1.6;
}

/* CTA */
.cta-card {
  background: linear-gradient(135deg, #3182f6 0%, #1b64da 100%);
  border-radius: 20px;
  padding: 32px 28px;
  color: #fff;
  text-align: center;
  margin: 32px 0;
  box-shadow: 0 12px 32px rgba(49, 130, 246, 0.22);
}
.cta-card h2 {
  font-size: 22px; font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.cta-card p {
  font-size: 14px;
  opacity: 0.92;
  margin-bottom: 20px;
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  color: var(--primary);
  font-size: 15px; font-weight: 700;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.16);
}

/* checklist */
.checklist {
  list-style: none;
}
.checklist li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 14px;
  color: var(--text-default);
  line-height: 1.55;
}
.checklist li::before {
  content: '✓';
  position: absolute; left: 0; top: 8px;
  color: var(--success);
  font-weight: 800;
  font-size: 14px;
}

/* table */
.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.guide-table th, .guide-table td {
  border: 1px solid var(--border-soft);
  padding: 10px 12px;
  text-align: left;
}
.guide-table th {
  background: var(--bg-section);
  color: var(--text-strong);
  font-weight: 700;
  font-size: 13px;
}
.guide-table td {
  color: var(--text-default);
}

/* footer */
footer.guide-footer {
  background: var(--bg-section);
  padding: 32px 0;
  border-top: 1px solid var(--border-soft);
  margin-top: 40px;
}
.guide-footer-disclaimer {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.7;
  padding: 16px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border-light);
}
.guide-footer-disclaimer strong {
  color: var(--text-secondary);
}
.guide-footer-links {
  display: flex; gap: 16px; margin-top: 16px;
  font-size: 13px;
  flex-wrap: wrap;
}
.guide-footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}
.guide-footer-links a:hover { color: var(--primary); }
.guide-footer-copy {
  font-size: 12px; color: var(--text-tertiary);
  margin-top: 12px;
}

/* update meta + related link cards (v1.1) */
.update-meta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-size: 13px; color: var(--text-tertiary);
}
a.inst-card { display: block; text-decoration: none; }

/* mobile */
@media (max-width: 640px) {
  .guide-hero h1 { font-size: 26px; }
  .guide-hero p { font-size: 15px; }
  .section-title { font-size: 19px; }
  .nav-links { gap: 12px; font-size: 13px; }
  .container, .container-wide { padding: 0 16px; }
  .fact-label { flex: 0 0 84px; font-size: 13px; }
  .fact-value { font-size: 13px; }
  .info-card { padding: 18px; }
  .cta-card { padding: 26px 20px; }
  .cta-card h2 { font-size: 19px; }
}
