:root {
  --primary: #183B5B;
  --secondary: #EAF4FB;
  --accent: #F28C28;
  --background: #FFFFFF;
  --text: #334155;
  --muted: #64748B;
  --line: #D9E6EF;
  --shadow: 0 14px 32px rgba(24, 59, 91, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  line-height: 1.75;
}

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

p,
h1,
h2,
h3 {
  margin: 0;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.nav a:focus-visible {
  outline: 3px solid rgba(242, 140, 40, 0.42);
  outline-offset: 3px;
}

.cards-hero {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 56px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.cards-hero h1 {
  max-width: 760px;
  color: var(--primary);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.cards-hero p:last-child {
  max-width: 680px;
  margin-top: 24px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}

.card-test-section {
  padding: 80px 0;
}

.soft-section {
  background: var(--secondary);
}

.section-heading,
.card-grid {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading h2 {
  color: var(--primary);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.test-card {
  min-height: 240px;
  padding: 28px;
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: var(--shadow);
}

.icon-badge {
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.test-card h3 {
  color: var(--primary);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.test-card p {
  margin-top: 14px;
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

.card-basic {
  border: 1px solid transparent;
}

.card-emphasis,
.compare-soft {
  border: 1px solid #D9E6EF;
  background: var(--secondary);
}

.card-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.card-trust,
.compare-outline {
  border: 1px solid var(--line);
  background: #FFFFFF;
  box-shadow: none;
}

.check-list {
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-list span {
  color: var(--primary);
  font-weight: 700;
}

.variant-label {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.compare-default {
  border: 1px solid transparent;
  background: #FFFFFF;
}

@media (max-width: 980px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
    font-size: 14px;
  }

  .cards-hero {
    padding: 56px 0 42px;
  }

  .cards-hero h1 {
    max-width: 330px;
    font-size: 32px;
  }

  .card-test-section {
    padding: 64px 0;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav,
  .cards-hero,
  .section-heading,
  .card-grid {
    width: min(100% - 40px, 1120px);
  }

  .test-card {
    min-height: auto;
    padding: 24px;
  }
}
