@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
  --navy: #1e3a5f;
  --navy-dark: #142944;
  --ink: #1c2530;
  --ink-soft: #4a5563;
  --gray-bg: #f6f7f9;
  --gray-100: #eef0f3;
  --gray-300: #d6dbe2;
  --orange: #e17a2d;
  --orange-dark: #c2631e;
  --white: #ffffff;
  --pending-bg: #fbf3ea;
  --pending-border: #e8c79a;
  --radius: 18px;
  --shadow: 0 4px 16px rgba(30, 58, 95, 0.08);
  --max-width: 1120px;

  /* 제도별 컬러 포인트 (공식 기관과 겹치지 않는 우리만의 배색) */
  --c-blue-bg: #eaf3fc; --c-blue-line: #bcdcf7; --c-blue: #1f6fb2;
  --c-lav-bg: #f2effc;  --c-lav-line: #d3caf3;  --c-lav: #6b4fc2;
  --c-mint-bg: #e9f8f2; --c-mint-line: #b9ecd6; --c-mint: #16855f;
  --c-peach-bg: #fdf1e7; --c-peach-line: #f6d7b3; --c-peach: #c2631e;
  --c-rose-bg: #fcedf0;  --c-rose-line: #f4c3ce;  --c-rose: #c23a5c;
  --c-teal-bg: #e8f6f7;  --c-teal-line: #b6e6ea;  --c-teal: #157f89;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  font-size: 19px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

img { max-width: 100%; display: block; }

/* 상단 고지 배너 */
.disclaimer-bar {
  background: var(--navy-dark);
  color: var(--white);
  font-size: 15.5px;
  text-align: center;
  padding: 12px 20px;
  line-height: 1.6;
}
.disclaimer-bar strong { color: #ffd7a8; }
.disclaimer-icon { margin-right: 4px; }

/* 헤더 */
.site-header {
  border-bottom: 1px solid var(--gray-100);
  padding: 18px 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 23px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.logo-mark { width: 30px; height: 30px; }
.site-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.site-nav a {
  position: relative;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 9px 16px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 5px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav a:hover { background: var(--gray-bg); color: var(--navy); }
.site-nav a:hover::after { transform: scaleX(1); }

/* 히어로 */
.hero {
  padding: 60px 0 52px;
  background: linear-gradient(180deg, var(--gray-bg) 0%, #eef4fb 100%);
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-text { flex: 1 1 420px; }
.eyebrow {
  font-size: 15px;
  font-weight: 700;
  color: var(--orange-dark);
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.32;
  color: var(--navy);
  margin: 0 0 18px;
  text-wrap: balance;
}
.hero-sub {
  font-size: 18.5px;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 44ch;
}
.hero-image {
  position: relative;
  flex: 0 0 260px;
  max-width: 260px;
  animation: float-y 3.5s ease-in-out infinite;
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-mascot {
  position: absolute;
  right: -14px; bottom: -10px;
  width: 96px; height: 96px;
  filter: drop-shadow(0 8px 14px rgba(30,58,95,0.2));
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  font-size: 19px;
  font-weight: 800;
  padding: 19px 34px;
  border-radius: 999px;
  overflow: hidden;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 18px rgba(225, 122, 45, 0.4);
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-primary:hover::before { left: 130%; }
.btn-primary:hover { background: var(--orange-dark); transform: scale(1.05) translateY(-2px); box-shadow: 0 8px 20px rgba(225, 122, 45, 0.45); }
.btn-primary:active { transform: scale(0.98); }

.quick-select {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-300);
}
.quick-select label {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.quick-select select {
  width: 100%;
  max-width: 420px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: 12px;
  padding: 13px 16px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.quick-select select:hover, .quick-select select:focus-visible { border-color: var(--orange); }

.bottom-disclaimer {
  margin-top: 0;
}

/* 광고 슬롯 */
.ad-slot {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px 0;
  text-align: center;
}
.ad-slot-label {
  font-size: 12px;
  color: var(--ink-soft);
  opacity: 0.6;
  margin: 0 0 6px;
  letter-spacing: 0.05em;
}

/* 실시간 뉴스 티커 */
.news-ticker-section { padding: 48px 0 8px; }
.news-ticker-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}
.live-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2fae5c;
  flex-shrink: 0;
  animation: live-pulse 1.6s infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(47,174,92,0.55); opacity: 1; }
  70%  { box-shadow: 0 0 0 9px rgba(47,174,92,0); opacity: 0.55; }
  100% { box-shadow: 0 0 0 0 rgba(47,174,92,0); opacity: 1; }
}
.live-badge {
  font-size: 13px;
  font-weight: 800;
  color: #2fae5c;
  letter-spacing: 0.06em;
}
.news-ticker-header h2 { margin: 0; }
.news-ticker-box {
  position: relative;
  height: 210px;
  overflow: hidden;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--gray-bg);
}
.news-ticker-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--gray-bg) 0%, transparent 18%, transparent 82%, var(--gray-bg) 100%);
  pointer-events: none;
}
.news-ticker-track {
  list-style: none;
  margin: 0;
  padding: 0;
  animation: ticker-scroll 18s linear infinite;
}
.news-ticker-box:hover .news-ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.news-ticker-item a {
  display: block;
  padding: 15px 22px;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--gray-300);
  transition: background 0.15s;
}
.news-ticker-item a:hover { background: var(--white); }
.news-ticker-item .ti-title {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}
.news-ticker-item .ti-meta {
  font-size: 13.5px;
  color: var(--ink-soft);
}
.news-ticker-item .ti-source {
  font-weight: 700;
  color: var(--c-teal);
}
@media (prefers-reduced-motion: reduce) {
  .news-ticker-track { animation: none; }
  .news-ticker-box { height: auto; max-height: 320px; overflow-y: auto; }
  .news-ticker-box::after { display: none; }
  .news-ticker-item[aria-hidden="true"] { display: none; }
}

/* 제도 섹션 */
.programs { padding: 56px 0; }
.programs h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 10px;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  font-size: 16.5px;
  max-width: 56ch;
  margin: 0 auto 36px;
  word-break: keep-all;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(.2,.8,.3,1.3), box-shadow 0.22s ease, border-color 0.22s ease;
}
.card::after {
  content: '';
  position: absolute;
  inset: auto -30% -30% auto;
  width: 140px; height: 140px;
  background: currentColor;
  opacity: 0.06;
  border-radius: 50%;
  transition: transform 0.3s ease;
  transform: scale(0.8);
}
.card:hover::after { transform: scale(1.15); }
.card:hover {
  transform: translateY(-6px) scale(1.02) rotate(-0.3deg);
  box-shadow: 0 14px 32px rgba(30, 58, 95, 0.18);
}
.card-icon {
  display: block;
  margin: 0 auto 14px;
  transition: transform 0.35s cubic-bezier(.3,1.5,.4,1);
}
.card:hover .card-icon { transform: scale(1.12) rotate(-4deg); }
.card h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
}
.card-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  background: var(--gray-100);
  border-radius: 999px;
  padding: 5px 13px;
  margin: 0 0 12px;
  width: fit-content;
}
.card p:not(.card-badge) {
  font-size: 16.5px;
  color: var(--ink-soft);
  margin: 0 0 16px;
  flex: 1;
}
.card-link {
  display: inline-flex;
  align-items: center;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--orange-dark);
  transition: gap 0.2s ease;
  gap: 3px;
}
.card:hover .card-link { gap: 8px; }

.card-pending {
  background: var(--pending-bg);
  border-color: var(--pending-border);
}
.card-badge-pending {
  background: var(--pending-border);
  color: #6b4315;
}

/* 제도별 컬러 포인트 */
.card-blue  { color: var(--c-blue);  background: var(--c-blue-bg);  border-color: var(--c-blue-line); }
.card-lav   { color: var(--c-lav);   background: var(--c-lav-bg);   border-color: var(--c-lav-line); }
.card-mint  { color: var(--c-mint);  background: var(--c-mint-bg);  border-color: var(--c-mint-line); }
.card-peach { color: var(--c-peach); background: var(--c-peach-bg); border-color: var(--c-peach-line); }
.card-rose  { color: var(--c-rose);  background: var(--c-rose-bg);  border-color: var(--c-rose-line); }
.card-teal  { color: var(--c-teal);  background: var(--c-teal-bg);  border-color: var(--c-teal-line); }
.card-blue h3, .card-lav h3, .card-mint h3, .card-peach h3, .card-rose h3, .card-teal h3 { color: inherit; }
.card-blue .card-badge, .card-lav .card-badge, .card-mint .card-badge,
.card-peach .card-badge, .card-rose .card-badge, .card-teal .card-badge {
  background: rgba(255,255,255,0.65); color: inherit;
}
.card-blue .card-link, .card-lav .card-link, .card-mint .card-link,
.card-peach .card-link, .card-rose .card-link, .card-teal .card-link { color: inherit; }

/* 빠른 링크 */
.quick-links { padding: 8px 0 60px; }
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.quick-link {
  display: block;
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 20px 22px;
  border: 1px solid var(--gray-100);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.quick-link:hover {
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--orange);
}
.quick-link-title {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.quick-link-desc {
  display: block;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* 푸터 */
.site-footer {
  background: var(--navy-dark);
  color: #c7d0dc;
  padding: 32px 0;
  font-size: 14.5px;
  line-height: 1.7;
  text-align: center;
}
.footer-disclaimer { margin: 0 auto 12px; max-width: 72ch; }
.footer-sources { margin: 0; color: #93a1b3; }

/* 상세페이지 공통 */
.page-header {
  padding: 40px 0 32px;
  background: var(--gray-bg);
  border-bottom: 1px solid var(--gray-100);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.back-link:hover { color: var(--navy); }
.page-header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.page-header img { width: 72px; height: 72px; }
.page-header h1 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
}
.page-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  padding: 5px 14px;
}
.page-badge.pending { background: var(--pending-bg); border-color: var(--pending-border); color: #6b4315; }

.content { padding: 48px 0 64px; }
.content-section { max-width: 720px; margin: 0 0 40px; }
.content-section h2 {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 14px;
}
.content-section p { margin: 0 0 14px; color: var(--ink); }
.content-section ul, .content-section ol { margin: 0 0 14px; padding-left: 22px; }
.content-section li { margin-bottom: 8px; }

.info-box {
  background: var(--gray-bg);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 0 0 40px;
  max-width: 720px;
}
.info-box h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin: 0 0 12px; }
.info-box dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.info-box dt { font-weight: 700; color: var(--ink-soft); }
.info-box dd { margin: 0; }

.warn-box {
  background: var(--pending-bg);
  border: 1px solid var(--pending-border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 0 0 40px;
  max-width: 720px;
}
.warn-box h3 { font-size: 17px; font-weight: 800; color: #7a4a12; margin: 0 0 10px; }

.update-note {
  font-size: 14px;
  color: var(--ink-soft);
  border-top: 1px dashed var(--gray-300);
  padding-top: 18px;
  max-width: 720px;
}

.cta-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  max-width: 720px;
  margin: 0 0 40px;
}
.cta-box h3 { font-size: 19px; font-weight: 800; margin: 0 0 10px; color: var(--white); }
.cta-box p { color: #c7d0dc; margin: 0 0 18px; }
.cta-box .btn-primary { background: var(--orange); }
.cta-box .btn-primary:hover { background: var(--orange-dark); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
  font-size: 17px;
  font-weight: 700;
  padding: 15px 26px;
  border-radius: 999px;
  margin-left: 10px;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.08); transform: scale(1.03); }

/* 자가진단 */
.quiz-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--gray-100);
}
.quiz-progress {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--orange-dark);
  margin-bottom: 10px;
}
.quiz-question {
  font-size: 19.5px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 22px;
  line-height: 1.5;
}
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, padding-left 0.18s ease;
}
.quiz-option:hover {
  border-color: var(--orange);
  background: #fff8f2;
  transform: translateX(4px) scale(1.01);
  padding-left: 26px;
}
.quiz-result { display: none; }
.quiz-result.active { display: block; }
.quiz-result-card {
  background: var(--white);
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  padding: 26px 24px;
  margin-bottom: 18px;
  animation: pop-in 0.35s cubic-bezier(.3,1.4,.4,1);
}
@keyframes pop-in {
  0% { opacity: 0; transform: scale(0.92) translateY(6px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.quiz-result-card h3 { color: var(--navy); font-size: 20px; margin: 0 0 10px; }
.quiz-result-card.card-blue, .quiz-result-card.card-lav, .quiz-result-card.card-mint,
.quiz-result-card.card-peach, .quiz-result-card.card-rose, .quiz-result-card.card-teal {
  border-width: 2px; border-style: solid;
}
.quiz-result-card.card-blue h3, .quiz-result-card.card-lav h3, .quiz-result-card.card-mint h3,
.quiz-result-card.card-peach h3, .quiz-result-card.card-rose h3, .quiz-result-card.card-teal h3 {
  color: inherit;
}
.quiz-privacy-note {
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 18px;
}
.quiz-restart {
  display: inline-block;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--orange-dark);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--gray-100);
  padding: 4px 0;
  max-width: 760px;
}
.faq-item summary {
  cursor: pointer;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--navy);
  padding: 18px 4px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--orange-dark);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-answer { padding: 0 4px 20px; color: var(--ink-soft); font-size: 16px; }

/* 사기예방 비교표 */
.compare-table { max-width: 760px; margin: 0 0 40px; }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.compare-col { border-radius: var(--radius); padding: 22px; }
.compare-col.real { background: #eef7f0; border: 1px solid #b9dfc2; }
.compare-col.fake { background: #fbeceb; border: 1px solid #f0bdb9; }
.compare-col h3 { margin: 0 0 12px; font-size: 17px; }
.compare-col.real h3 { color: #1e7a3a; }
.compare-col.fake h3 { color: #b3392f; }
.compare-col ul { margin: 0; padding-left: 20px; }
.compare-col li { margin-bottom: 8px; font-size: 15px; }

/* 연락처 */
.contact-card {
  max-width: 720px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 0 0 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(30,58,95,0.14); }
.contact-card h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin: 0 0 12px; }
.contact-card.card-blue, .contact-card.card-lav, .contact-card.card-mint,
.contact-card.card-peach, .contact-card.card-rose, .contact-card.card-teal {
  border-width: 2px; border-style: solid;
}
.contact-card.card-blue h3  { color: var(--c-blue); }
.contact-card.card-lav h3   { color: var(--c-lav); }
.contact-card.card-mint h3  { color: var(--c-mint); }
.contact-card.card-peach h3 { color: var(--c-peach); }
.contact-card.card-rose h3  { color: var(--c-rose); }
.contact-card.card-teal h3  { color: var(--c-teal); }
.contact-row { display: flex; gap: 10px; margin-bottom: 6px; font-size: 15.5px; }
.contact-row .label { font-weight: 700; color: var(--ink-soft); min-width: 80px; }

/* 비교표 */
.data-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  margin: 0 0 40px;
  box-shadow: var(--shadow);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 16px;
}
.data-table th, .data-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}
.data-table thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 15.5px;
}
.data-table tbody tr:nth-child(even) { background: var(--gray-bg); }
.data-table tbody tr:hover { background: var(--pending-bg); }
.data-table td:first-child, .data-table th:first-child { font-weight: 700; color: var(--navy); }

/* 신규 도구 안내 카드 (온크레딧 등) */
.tool-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--c-teal-bg);
  border: 1px solid var(--c-teal-line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 0 0 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(21,127,137,0.15); }
.tool-card h3 { margin: 0 0 8px; color: var(--c-teal); font-size: 18.5px; }
.tool-card p { margin: 0 0 12px; color: var(--ink-soft); }
.tool-card a.btn-secondary-teal {
  display: inline-flex;
  color: var(--white);
  border: none;
  background: var(--c-teal);
  font-weight: 800;
  font-size: 17px;
  padding: 14px 26px;
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
  box-shadow: 0 4px 14px rgba(21,127,137,0.3);
}
.tool-card a.btn-secondary-teal:hover { background: #106a72; transform: scale(1.04); }

@media (max-width: 640px) {
  .compare-grid { grid-template-columns: 1fr; }
  .info-box dl { grid-template-columns: 1fr; }
  .info-box dt { margin-top: 8px; }
  .tool-card { flex-direction: column; }

  body { font-size: 17px; }
  .hero { padding: 40px 0 32px; }
  .hero-image { flex: 0 0 160px; max-width: 160px; margin: 0 auto; }
  .hero-inner { text-align: center; justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
}
