:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-2: #eef3ff;
  --text: #121a2d;
  --muted: #667085;
  --line: #dfe7f3;
  --primary: #1d35a8;
  --primary-2: #243cd3;
  --primary-soft: rgba(29, 53, 168, 0.09);
  --accent: #19b6c8;
  --accent-2: #5d7cff;
  --dark: #0c1530;
  --dark-2: #101f48;
  --success: #0c8a4b;
  --warning: #ad7a00;
  --danger: #b4342b;
  --shadow: 0 24px 70px rgba(18, 38, 84, 0.12);
  --shadow-soft: 0 14px 40px rgba(18, 38, 84, 0.08);
  --radius: 26px;
  --radius-sm: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard Variable", "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, rgba(93, 124, 255, 0.13), transparent 35rem),
    radial-gradient(circle at 90% 0%, rgba(25, 182, 200, 0.12), transparent 34rem),
    var(--bg);
  line-height: 1.72;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 2rem)); }
.section { padding: 6rem 0; position: relative; }
.muted { background: linear-gradient(180deg, rgba(255,255,255,0.55), #eef4ff 100%); }
.dark { background: radial-gradient(circle at 0% 0%, rgba(25,182,200,0.22), transparent 28rem), linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); color: #f7f9ff; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(246, 248, 253, 0.86);
  border-bottom: 1px solid rgba(223, 231, 243, 0.8);
}
.site-header.compact { position: relative; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; }
.brand { display: inline-flex; align-items: center; gap: 0.85rem; min-width: max-content; }
.brand-mark {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 18px;
  background: #fff; border: 1px solid rgba(29, 53, 168, 0.12); box-shadow: 0 10px 28px rgba(29, 53, 168, 0.14);
  overflow: hidden;
}
.brand-mark img, .brand img { width:55px; height: 55px; object-fit: contain; }
.brand strong { display: block; font-size: 2.5rem; letter-spacing: 0.0em; color: #1f2aa5;}
.brand span span, .brand-text > span, .brand > div span { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.3; }
.site-nav { display: flex; align-items: center; gap: 1rem; }
.site-nav a { color: var(--muted); font-weight: 750; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a.active { color: var(--primary); }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 0.45rem 0.7rem; }

.stagger-title span { display: block; }
.stagger-title span:nth-child(1) { margin-left: 0; }
.stagger-title span:nth-child(2) { margin-left: 1.5em; }
.stagger-title span:nth-child(3) { margin-left: 3.0em; }

.stagger-title span span {
  display: inline;
}

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  border-radius: 999px; padding: 0.88rem 1.35rem; border: 1px solid transparent;
  font-weight: 800; transition: 0.2s ease; cursor: pointer;
}
.button.small { padding: 0.68rem 1rem; font-size: 0.9rem; }
.button.large { min-height: 54px; }
.button.primary { color: #fff; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 54%, var(--accent-2) 100%); box-shadow: 0 18px 40px rgba(29, 53, 168, 0.28); }
.button.primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(29, 53, 168, 0.34); }
.button.ghost { border-color: rgba(29, 53, 168, 0.14); background: rgba(255,255,255,0.72); color: var(--text); }
.button.ghost:hover { border-color: rgba(29, 53, 168, 0.3); transform: translateY(-1px); }
.button.invert { background: #fff; color: var(--primary); box-shadow: 0 16px 36px rgba(0,0,0,0.18); }
.button.ghost.invert { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.24); box-shadow: none; }

.hero { padding: 5.8rem 0 6.6rem; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(255,255,255,0.94) 0%, rgba(247,250,255,0.78) 44%, rgba(235,241,255,0.9) 100%),
    radial-gradient(circle at 88% 25%, rgba(29, 53, 168, 0.18), transparent 24rem);
  z-index: -1;
}
.hero-grid, .two-col { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr); gap: 2.4rem; align-items: center; }
.hero-copy h1, .hero-subpage h1 { font-size: clamp(2.25rem, 5vw, 4.7rem); line-height: 1.08; margin: 0.75rem 0 1.15rem; letter-spacing: -0.055em; }
.hero-subpage h1 { font-size: clamp(2rem, 4vw, 3.35rem); }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 740px; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.6rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.72rem; margin-top: 1.6rem; }
.hero-trust span, .pill-grid span {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.62rem 0.92rem; border-radius: 999px;
  background: var(--primary-soft); border: 1px solid rgba(29, 53, 168, 0.12); font-weight: 800; color: #243c97; font-size: 0.92rem;
}
.hero-card {
  position: relative; padding: 2.2rem; border-radius: 34px; background: rgba(255,255,255,0.78);
  border: 1px solid rgba(29, 53, 168, 0.12); box-shadow: var(--shadow); overflow: hidden;
}
.hero-card::before { content: ""; position: absolute; inset: -45% -35% auto auto; width: 360px; height: 360px; border-radius: 999px; background: rgba(29,53,168,0.08); }
.hero-logo-wrap { position: relative; width: min(320px, 78%); aspect-ratio: 1; margin: 0 auto 1.4rem; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, #fff 0%, #f1f5ff 70%); }
.hero-logo-wrap img { width: 78%; height: 78%; object-fit: contain; }
.hero-card strong { display: block; font-size: 1.55rem; line-height: 1.35; letter-spacing: -0.03em; }
.hero-card p { color: var(--muted); margin-bottom: 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--primary); font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.5rem; }
.eyebrow.light { color: #a7f3ff; }
.section-heading { text-align: center; max-width: 840px; margin: 0 auto 2.25rem; }
.section-heading.left, .section-heading.left.slim { text-align: left; margin-left: 0; }
.section-heading h2, .intro-grid h2, .strength-grid h2 { font-size: clamp(1.85rem, 3vw, 2.9rem); margin: 0.7rem 0 0.8rem; line-height: 1.18; letter-spacing: -0.04em; }
.section-heading p, .intro-grid p { color: var(--muted); margin: 0; }

.card { background: rgba(255,255,255,0.88); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.55rem; box-shadow: var(--shadow-soft); }
.card.soft { padding: 1.2rem; background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(236,242,255,0.96)); }
.card.emphasis, .emphasis { background: linear-gradient(180deg, #1f48d9 0%, #112b81 100%); color: #fff; border: 0; }
.card.emphasis p, .card.emphasis li, .emphasis p, .emphasis li { color: rgba(255,255,255,0.9); }
.grid.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.intro-section { background: #fff; }
.intro-grid { grid-template-columns: 0.95fr 1.05fr; }
.mini-cards { display: grid; gap: 1rem; }
.mini-card { padding: 1.35rem; }
.mini-card b { color: var(--primary); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.mini-card h3 { margin: 0.45rem 0 0.3rem; }
.mini-card p { margin: 0; color: var(--muted); }

.service-grid, .stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.service-grid.refined { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card { position: relative; overflow: hidden; }
.service-card::after { content: ""; position: absolute; right: -35px; top: -45px; width: 125px; height: 125px; border-radius: 50%; background: rgba(29,53,168,0.06); }
.service-card h3, .stat-card strong, .timeline-item h3 { margin: 0 0 0.5rem; }
.service-card p { color: var(--muted); margin: 0 0 1rem; }
.service-card ul { margin: 0; padding-left: 1.1rem; color: #43506a; }
.service-card li { margin: 0.25rem 0; }
.service-no { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 14px; background: var(--primary-soft); color: var(--primary); font-weight: 900; margin-bottom: 1rem; }
.highlight-card { background: linear-gradient(180deg, #162b70 0%, #102155 100%); color: #fff; }
.highlight-card p, .highlight-card li { color: rgba(255,255,255,0.83); }
.highlight-card .service-no { background: rgba(255,255,255,0.13); color: #fff; }

.solution-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.solution-card { min-height: 160px; padding: 1.25rem; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); transition: 0.2s ease; }
.solution-card:hover { transform: translateY(-3px); border-color: rgba(29, 53, 168, 0.2); }
.solution-card h3 { margin: 0 0 0.5rem; font-size: 1.08rem; }
.solution-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.pill-grid { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.6rem; margin: 0.9rem 0; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 900; }
.light-list li { color: rgba(255,255,255,0.86); }
.strength-grid p { color: rgba(255,255,255,0.82); }
.strength-panel { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: 30px; padding: 1.7rem; backdrop-filter: blur(8px); }
.strength-panel h3 { margin-top: 0; }

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.timeline-item { position: relative; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 1.5rem; }
.refined-timeline .timeline-item { background: #fff; border-color: var(--line); box-shadow: var(--shadow-soft); }
.timeline-item span { display: inline-flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255,255,255,0.14); font-weight: 900; margin-bottom: 1rem; }
.refined-timeline .timeline-item span { background: var(--primary-soft); color: var(--primary); }
.timeline-item p { color: rgba(255,255,255,0.8); margin: 0; }
.refined-timeline .timeline-item p { color: var(--muted); }
.stat-card { min-height: 132px; }
.stat-card strong { display: block; font-size: 1.05rem; }
.stat-card span { color: var(--muted); }
.cta-banner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.15rem; border-radius: calc(var(--radius) + 6px); background: linear-gradient(135deg, #13265d 0%, #1d35a8 55%, #19a9c8 100%); color: #fff; box-shadow: 0 24px 70px rgba(21,40,99,0.3); }
.cta-banner h2 { margin: 0.5rem 0; line-height: 1.25; letter-spacing: -0.035em; }
.cta-banner p { color: rgba(255,255,255,0.88); }

.site-footer { background: #0b1328; color: #d6ddef; padding: 2.7rem 0 1rem; }
.site-footer.simple { padding-top: 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr; gap: 2rem; }
.footer-grid strong { display: inline-block; margin-bottom: 0.8rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0.5rem 0; color: #b6c3df; }
.footer-copy, .footer-bottom small { color: #a3b1cd; }
.footer-brand .brand-mark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); box-shadow: none; }
.footer-brand span span, .footer-brand .brand-text > span { color: #b6c3df; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom.single-line { margin-top: 0; padding-top: 0; border-top: 0; }

.hero-subpage { padding-top: 4.5rem; padding-bottom: 2.5rem; }
.board-layout, .inquiry-layout { align-items: start; }
.filter-bar { display: flex; gap: 0.8rem; margin-bottom: 1rem; flex-wrap: wrap; }
.filter-bar label, .inquiry-form label { display: block; }
.filter-bar .grow { flex: 1; min-width: 220px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 16px; padding: 0.9rem 1rem; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: rgba(29,53,168,0.45); box-shadow: 0 0 0 4px rgba(29,53,168,0.09); }
label > span { display: inline-block; font-weight: 800; margin-bottom: 0.5rem; }
.field-grid { display: grid; gap: 1rem; }
.field-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.inquiry-form { display: grid; gap: 1rem; }
.checkbox-group { display: grid; gap: 0.8rem; }
.checkbox { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--muted); }
.checkbox input { width: 18px; height: 18px; margin-top: 4px; }
.turnstile-wrap { display: grid; gap: 0.35rem; }
.field-help { color: var(--muted); margin: 0; font-size: 0.92rem; }
.inline-message { padding: 0.9rem 1rem; border-radius: 14px; border: 1px solid var(--line); margin-bottom: 1rem; }
.inline-message.info { background: rgba(29,53,168,0.06); color: #2949a7; }
.inline-message.success { background: rgba(12,138,75,0.08); color: var(--success); border-color: rgba(12,138,75,0.18); }
.inline-message.error { background: rgba(180,52,43,0.08); color: var(--danger); border-color: rgba(180,52,43,0.2); }
.hidden { display: none !important; }
.post-list { display: grid; gap: 1rem; }
.post-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.3rem; box-shadow: var(--shadow-soft); transition: transform 0.2s ease, border-color 0.2s ease; }
.post-card:hover { transform: translateY(-2px); border-color: rgba(29,53,168,0.2); }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 0.6rem; }
.badge { display: inline-flex; align-items: center; padding: 0.35rem 0.65rem; border-radius: 999px; font-size: 0.82rem; font-weight: 800; border: 1px solid transparent; }
.badge.category { background: rgba(29,53,168,0.08); color: var(--primary); }
.badge.status { background: rgba(0,163,163,0.08); color: #0b7c7c; }
.post-card h3 { margin: 0 0 0.5rem; font-size: 1.2rem; }
.post-card p { margin: 0; color: var(--muted); }
.post-card footer { margin-top: 0.95rem; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 0.93rem; }
.info-panel, .sticky-card { position: sticky; top: 1.2rem; }
.post-article h2 { margin-top: 0; }
.post-article .post-top { display: grid; gap: 0.5rem; margin-bottom: 1.2rem; }
.post-article .post-body { white-space: pre-wrap; color: var(--text); }
.post-article .attachment-list { margin-top: 1.4rem; display: grid; gap: 0.7rem; }
.post-article .attachment-list a { display: inline-flex; padding: 0.8rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: rgba(29,53,168,0.04); color: var(--primary); font-weight: 800; }
.legal-copy h2 { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1100px) {
  .service-grid.refined, .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .hero-grid, .two-col, .footer-grid, .timeline, .grid.cols-3, .service-grid, .stat-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid, .two-col, .board-layout, .inquiry-layout, .intro-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .section { padding: 3.8rem 0; }
  .hero { padding-top: 4.2rem; }
  .nav-toggle { display: block; }
  .brand-mark { width: 46px; height: 46px; border-radius: 15px; }
  .brand-mark img, .brand img { width: 35px; height: 35px; }
  .brand-text > span { display: none; }
  .site-nav { position: absolute; left: 1rem; right: 1rem; top: calc(100% + 0.5rem); display: none; flex-direction: column; align-items: stretch; gap: 0.2rem; padding: 0.9rem; background: rgba(255,255,255,0.98); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav.no-mobile-collapse { position: static; display: flex; flex-direction: row; padding: 0; background: transparent; border: 0; box-shadow: none; gap: 0.8rem; }
  .grid.cols-3, .service-grid, .service-grid.refined, .solution-grid, .timeline, .stat-grid, .field-grid.two, .footer-grid { grid-template-columns: 1fr; }
  .hero-copy h1, .hero-subpage h1 { font-size: 2.25rem; }
  .hero-card { padding: 1.45rem; }
  .hero-logo-wrap { width: 230px; }
  .hero-trust, .cta-actions, .hero-actions { flex-direction: column; align-items: stretch; }
  .footer-bottom { flex-direction: column; }
  .post-card footer { flex-direction: column; }
}
