:root {
  --bg: #f3f5f8;
  --card: #ffffff;
  --primary: #1f4b8f;
  --primary-strong: #15325f;
  --accent: #c22d33;
  --text: #1a2434;
  --muted: #647089;
  --border: #d9e1ee;
  --shadow: 0 8px 24px rgba(13, 31, 64, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, "Noto Sans KR", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid #dde3ee;
  background: #ffffff;
}

.topline {
  background: #111317;
  color: #e7ebf2;
  font-size: 12px;
}

.topline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 34px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 44px;
  padding: 16px 0;
}

.logo {
  height: 56px;
  width: auto;
}

.menu {
  display: flex;
  gap: 22px;
  font-size: 15px;
  color: #2c3342;
  flex-wrap: wrap;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.menu a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  color: #1e2a3e;
  background:
    radial-gradient(circle at 15% 32%, rgba(32, 63, 115, 0.08) 0 22%, transparent 24%),
    radial-gradient(circle at 86% 36%, rgba(194, 45, 51, 0.08) 0 16%, transparent 18%),
    linear-gradient(180deg, #f7f9fc 0%, #eef2f8 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(17, 21, 28, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 21, 28, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  padding: 90px 0 86px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(31px, 4vw, 56px);
  line-height: 1.2;
  letter-spacing: -0.4px;
}

.hero p {
  margin: 0 0 20px;
  color: #5a657b;
  font-size: 17px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-secondary {
  border: 1px solid #b9c4d6;
  color: #243149;
  background: #fff;
}

.hero-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #cfd9ea;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 22px rgba(8, 26, 59, 0.08);
}

.hero-card h3 {
  margin: 0 0 8px;
}

.hero-list {
  margin: 0;
  padding-left: 18px;
  color: #52607a;
}

section {
  padding: 58px 0;
}

.section-title {
  margin: 0 0 10px;
  font-size: 28px;
}

.section-desc {
  margin: 0 0 28px;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat {
  background: #f0f5ff;
  border: 1px solid #d6e4ff;
  border-radius: 12px;
  text-align: center;
  padding: 16px 10px;
}

.stat strong {
  display: block;
  color: var(--primary-strong);
  font-size: 26px;
  line-height: 1.2;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.contact-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 16px 0 24px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .topline-inner,
  .hero-inner,
  .cards,
  .stats,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .topline-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 6px 0;
  }
}
