:root {
  --bg: #f4f6fb;
  --card: #ffffff;
  --primary: #3b5bdb;
  --primary-dark: #2f49b0;
  --text: #2b2d42;
  --muted: #6c757d;
  --border: #e3e7ef;
  --error: #e03131;
  --shadow: 0 4px 16px rgba(40, 50, 90, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.site-header {
  text-align: center;
  padding: 32px 16px 16px;
}

.site-header h1 {
  margin: 0;
  font-size: 1.9rem;
}

.subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
}

.control-row {
  margin-bottom: 16px;
}

.control-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.control-row small {
  font-weight: 400;
  color: var(--muted);
}

select,
input[type="text"] {
  width: 100%;
  padding: 11px 12px;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  color: var(--text);
}

select:focus,
input[type="text"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 91, 219, 0.15);
}

.error {
  color: var(--error);
  font-size: 0.9rem;
  margin: 4px 0 12px;
  min-height: 1em;
}

.btn-primary {
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}

.btn-primary:hover { background: var(--primary-dark); }
.btn-primary:active { transform: translateY(1px); }

.btn-ghost {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  background: transparent;
  border: 1px solid var(--primary);
  border-radius: 8px;
  cursor: pointer;
}

.btn-ghost:hover { background: rgba(59, 91, 219, 0.08); }

.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.results-head h2 { margin: 0; font-size: 1.2rem; }

.results-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.result-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}

.result-row:last-child { border-bottom: none; }

.game-label {
  font-weight: 700;
  color: var(--muted);
  min-width: 26px;
}

.ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: inset -2px -3px 4px rgba(0, 0, 0, 0.18);
  animation: pop 0.25s ease;
}

@keyframes pop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* 한국 로또 공식 색상 구간 */
.ball.c1 { background: #fbc400; } /* 1-10 */
.ball.c2 { background: #69c8f2; } /* 11-20 */
.ball.c3 { background: #ff7272; } /* 21-30 */
.ball.c4 { background: #aaaaaa; } /* 31-40 */
.ball.c5 { background: #b0d840; } /* 41-45 */

.plus {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--muted);
  margin: 0 2px;
}

/* 보너스 번호는 점선 테두리로 구분 */
.ball.bonus {
  box-shadow: inset -2px -3px 4px rgba(0, 0, 0, 0.18), 0 0 0 2px #fff, 0 0 0 4px var(--muted);
}

/* 카테고리 칩 (홈 최상단) */
.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}
.category-chips a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
}
.category-chips a:hover { border-color: var(--primary); color: var(--primary); }
.category-chips .cc-emoji { font-size: 1.2rem; }

/* 카테고리 섹션 */
.category-section { margin-bottom: 28px; scroll-margin-top: 12px; }
.cat-desc { color: var(--muted); font-size: 0.94rem; margin: 2px 0 14px; }
.category-section > h2 {
  font-size: 1.25rem;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 공학용 계산기 */
.calc-shell { padding: 18px; }
.calc-display {
  background: #1f2333;
  color: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  text-align: right;
  margin-bottom: 14px;
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-expr {
  font-size: 1.8rem;
  font-weight: 700;
  word-break: break-all;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.calc-result { color: #9fb4ff; font-size: 1.1rem; margin-top: 6px; min-height: 1.2em; }
.calc-toolbar { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.calc-mode {
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  color: var(--muted);
}
.calc-mode.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.calc-keys {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.calc-keys button {
  padding: 15px 0;
  font-size: 1.05rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: background 0.1s ease;
}
.calc-keys button:hover { background: #f0f3ff; }
.calc-keys button:active { transform: translateY(1px); }
.calc-keys .k-fn { background: #eef1f8; color: var(--primary-dark); font-size: 0.95rem; }
.calc-keys .k-op { background: #e7edff; color: var(--primary-dark); font-weight: 800; }
.calc-keys .k-clear { background: #ffecec; color: var(--error); }
.calc-keys .k-eq { background: var(--primary); color: #fff; font-weight: 800; font-size: 1.2rem; }
.calc-keys .k-eq:hover { background: var(--primary-dark); }
.calc-keys sup { font-size: 0.7em; }

@media (max-width: 420px) {
  .calc-keys button { padding: 13px 0; font-size: 0.95rem; }
  .calc-expr { font-size: 1.5rem; }
}

/* 허브 홈 카드 그리드 */
.tool-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.08s ease, border-color 0.15s ease;
}

.tool-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.tc-icon { font-size: 1.8rem; line-height: 1; }
.tc-body { display: flex; flex-direction: column; flex: 1; }
.tc-body strong { font-size: 1.1rem; }
.tc-body small { color: var(--muted); margin-top: 2px; }
.tc-arrow { color: var(--muted); font-size: 1.2rem; }

/* 뒤로가기 내비게이션 */
.back-nav {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 16px 0;
}

.back-nav a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.back-nav a:hover { text-decoration: underline; }

/* 체크박스 행 */
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  cursor: pointer;
}
.checkbox-row input { width: 18px; height: 18px; }
.checkbox-row small { font-weight: 400; color: var(--muted); }

/* 라디오/세그먼트 선택 */
.segment {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.segment label {
  flex: 1;
  min-width: 120px;
  display: block;
  font-weight: 600;
  text-align: center;
  padding: 11px 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  cursor: pointer;
  background: #fff;
}

.segment input { position: absolute; opacity: 0; pointer-events: none; }
.segment input:checked + span { color: #fff; }
.segment label:has(input:checked) {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* 도구 간 내비게이션 */
.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 640px;
  margin: 0 auto 16px;
  padding: 0 16px;
}

.site-nav a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.site-nav a:hover { background: rgba(59, 91, 219, 0.08); }
.site-nav a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 계산기 결과/표 공통 */
.result-hero {
  text-align: center;
  padding: 8px 0 4px;
}

.result-hero .big {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary);
}

.result-hero .big small {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted);
}

.result-sub {
  text-align: center;
  color: var(--muted);
  margin: 4px 0 8px;
}

.calc-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.calc-table th,
.calc-table td {
  padding: 11px 8px;
  border-bottom: 1px solid var(--border);
  font-size: 0.97rem;
}

.calc-table th { text-align: left; color: var(--muted); font-weight: 600; }
.calc-table td { text-align: right; font-variant-numeric: tabular-nums; }
.calc-table tr.total th { color: var(--text); font-weight: 800; }
.calc-table tr.total td { color: var(--primary); font-weight: 800; font-size: 1.1rem; }
.calc-table tr.deduct td { color: var(--error); }

/* 블로그 */
.post {
  max-width: 720px;
}
.post h1 { font-size: 1.7rem; line-height: 1.35; margin: 0 0 8px; }
.post .post-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; }
.post h2 {
  font-size: 1.3rem;
  margin: 32px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.post h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.post p { margin: 12px 0; }
.post ul, .post ol { padding-left: 22px; }
.post li { margin: 6px 0; }
.post strong { color: var(--text); }
.post .lead { font-size: 1.08rem; color: #444; }
.post .cta {
  display: inline-block;
  margin: 8px 0;
  padding: 13px 22px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
}
.post .cta:hover { background: var(--primary-dark); }
.post .callout {
  background: #f0f4ff;
  border: 1px solid #d6e0ff;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 0.97rem;
}
.post .toc {
  background: #fafbff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 16px 0 24px;
}
.post .post-meta .cat-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 2px 10px;
  border-radius: 999px;
}
.post .toc strong { display: block; margin-bottom: 6px; }
.post .toc a { display: inline-block; padding: 1px 0; }
.post .toc a { color: var(--primary); text-decoration: none; }
.post .toc a:hover { text-decoration: underline; }

/* 블로그 본문 이미지 */
.post figure { margin: 22px 0; }
.post figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: block;
}
.post figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 8px;
}

/* 블로그 글 목록 */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { margin-bottom: 12px; }
.post-list a {
  display: block;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
}
.post-list a:hover { border-color: var(--primary); }
.post-list strong { font-size: 1.1rem; display: block; }
.post-list small { color: var(--muted); display: block; margin-top: 4px; }

.info h2 { margin-top: 0; font-size: 1.2rem; }
.info ul { padding-left: 20px; margin: 0; }
.info li { margin-bottom: 8px; }

.ad-container {
  max-width: 640px;
  margin: 0 auto 20px;
  padding: 0 16px;
  min-height: 90px;
  text-align: center;
}

.site-footer {
  text-align: center;
  padding: 24px 16px 40px;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-links {
  margin-bottom: 8px;
  font-size: 0.85rem;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--primary); text-decoration: underline; }

@media (max-width: 480px) {
  .site-header h1 { font-size: 1.6rem; }
  .ball { width: 38px; height: 38px; font-size: 1rem; }
  .card { padding: 18px; }
}

/* ===== 블로그: 추천 글(피처드) + 목록 ===== */
.blog-featured-wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 14px; align-items: start; }
.blog-featured {
  display: flex; flex-direction: column; gap: 8px;
  background: linear-gradient(160deg, #eef2ff, #ffffff);
  border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
  padding: 20px; text-decoration: none; color: var(--text);
  transition: transform .08s ease, border-color .15s ease;
}
.blog-featured:hover { transform: translateY(-2px); border-color: var(--primary); }
.bf-badge { align-self: flex-start; background: var(--primary); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.bf-title { font-size: 1.18rem; font-weight: 800; line-height: 1.35; margin-top: 4px; }
.bf-desc { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.bf-more { color: var(--primary); font-weight: 700; font-size: .9rem; margin-top: 2px; }
.blog-list {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow); padding: 14px 16px;
}
.bl-head { font-weight: 800; font-size: .95rem; margin: 2px 0 8px; }
.blog-list a {
  color: var(--text); text-decoration: none; font-size: .88rem; line-height: 1.45;
  padding: 8px 0; border-bottom: 1px dashed var(--border);
}
.blog-list a:hover { color: var(--primary); }
.blog-list a.bl-all { color: var(--primary); font-weight: 700; border-bottom: none; margin-top: 4px; }
@media (max-width: 560px) {
  .blog-featured-wrap { grid-template-columns: 1fr; }
}

/* ===== 홈: 블로그 우선 2단 레이아웃 (본문 글 전체 + 우측 목록) ===== */
.home-wide { max-width: 1040px; margin: 0 auto; padding: 0 16px 8px; }
.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; margin-top: 4px; }
.home-main { min-width: 0; }
.home-h2 { font-size: 1.35rem; margin: 0 0 4px; }
.blog-feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 12px; }
.blog-feature-card {
  display: flex; flex-direction: column; gap: 0;
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow); padding: 0; overflow: hidden; text-decoration: none; color: var(--text);
  transition: transform .08s ease, border-color .15s ease;
}
.blog-feature-card:hover { transform: translateY(-2px); border-color: var(--primary); }
.bf-thumb { display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: #eef2ff; }
.bf-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-feature-card .bf-title {
  padding: 12px 14px 6px; font-size: 1rem; font-weight: 800; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-feature-card .bf-excerpt {
  padding: 0 14px; color: var(--muted); font-size: .86rem; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-feature-card .bf-date { padding: 8px 14px 14px; margin-top: auto; color: var(--muted); font-size: .78rem; }
@media (max-width: 480px) { .blog-feature-list { grid-template-columns: 1fr; } }
.home-aside { display: grid; gap: 16px; position: sticky; top: 16px; }
.aside-box { background: var(--card); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 16px 18px; }
.aside-title { font-size: 1rem; margin: 0 0 8px; }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list li { border-top: 1px solid var(--border); }
.aside-list li:first-child { border-top: none; }
.aside-list a { display: block; padding: 9px 0; font-size: .92rem; color: var(--text); text-decoration: none; }
.aside-list a:hover { color: var(--primary); }
.aside-more { display: inline-block; margin-top: 10px; font-size: .9rem; font-weight: 700; color: var(--primary); text-decoration: none; }
.home-main > .aside-more { margin-top: 14px; }
@media (max-width: 900px) {
  .home-layout { grid-template-columns: 1fr; }
  .home-aside { position: static; }
}

/* 하단 사업자 정보·저작권 고지 */
.footer-biz { color: var(--muted); font-size: .8rem; line-height: 1.7; margin-bottom: 6px; }
.footer-biz a { color: var(--muted); text-decoration: underline; }
.footer-notice { color: var(--muted); font-size: .8rem; margin: 0 0 12px; }

/* 블로그 세부 카테고리 */
.blog-cat { margin-bottom: 4px; }
.blog-cat-title { font-size: 1.15rem; margin: 26px 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--border); }
.blog-cat:first-child .blog-cat-title { margin-top: 4px; }

/* ===== 상단 네비게이션 바 ===== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(40, 50, 90, .05);
}
.topbar-inner {
  max-width: 1040px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 16px;
}
.topbar-brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none;
  white-space: nowrap;
}
.topbar-brand .tb-logo { font-size: 1.3rem; }
.topbar-menu { display: flex; gap: 20px; margin-left: 10px; }
.topbar-menu a {
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 4px 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.topbar-menu a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.topbar-search { margin-left: auto; }
.topbar-search-btn {
  background: none; border: 1px solid var(--border); border-radius: 999px;
  width: 38px; height: 38px; cursor: pointer; font-size: 1rem; color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
}
.topbar-search-btn:hover { border-color: var(--primary); color: var(--primary); }
.topbar-searchbar { display: none; border-top: 1px solid var(--border); background: #fafbff; }
.topbar-searchbar.open { display: block; }
.topbar-searchbar form { max-width: 1040px; margin: 0 auto; padding: 10px 16px; display: flex; gap: 8px; }
.topbar-searchbar input {
  flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--border);
  border-radius: 8px; font-size: .95rem;
}
.topbar-searchbar button {
  padding: 9px 16px; background: var(--primary); color: #fff; border: none;
  border-radius: 8px; font-weight: 700; cursor: pointer; white-space: nowrap;
}

/* 새 글 티커 (속보 스타일) */
.ticker { border-bottom: 1px solid var(--border); background: #fff; }
.ticker-inner { max-width: 1040px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 12px; }
.ticker-badge {
  background: var(--primary); color: #fff; font-weight: 800; font-size: .78rem;
  padding: 4px 10px; border-radius: 6px; white-space: nowrap;
}
.ticker-track { flex: 1; min-width: 0; position: relative; height: 1.4em; }
.ticker-item {
  position: absolute; inset: 0; display: block;
  color: var(--text); text-decoration: none; font-size: .92rem; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.ticker-item.active { opacity: 1; pointer-events: auto; }
.ticker-item:hover { color: var(--primary); }
.ticker-nav { display: flex; gap: 4px; }
.ticker-nav button {
  background: none; border: 1px solid var(--border); border-radius: 6px;
  width: 26px; height: 26px; cursor: pointer; color: var(--muted); font-size: 1rem; line-height: 1;
}
.ticker-nav button:hover { border-color: var(--primary); color: var(--primary); }

/* 슬림 히어로 */
.site-hero { text-align: center; padding: 22px 16px 6px; }
.site-hero h1 { margin: 0; font-size: 1.7rem; }

@media (max-width: 680px) {
  .topbar-menu { gap: 14px; margin-left: 4px; }
  .topbar-menu a { font-size: .88rem; }
  .topbar-brand { font-size: 1.02rem; }
  .site-hero h1 { font-size: 1.4rem; }
}
@media (max-width: 480px) {
  .topbar-menu a:nth-child(n+3) { display: none; }
}

/* ===== 하단: 생활정보 스타일 빠른 이동 밴드 ===== */
.footer-quick { background: #eef2ff; border-top: 1px solid var(--border); padding: 30px 16px; }
.footer-quick-inner { max-width: 1040px; margin: 0 auto; }
.footer-quick-title { font-size: 1.05rem; font-weight: 800; margin: 0 0 14px; }
.footer-quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.footer-quick-grid a {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; text-decoration: none; color: var(--text); font-size: .9rem; font-weight: 600;
}
.footer-quick-grid a:hover { border-color: var(--primary); color: var(--primary); }
@media (max-width: 700px) { .footer-quick-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== 하단 푸터 재디자인 ===== */
.site-footer { border-top: 1px solid var(--border); background: #fff; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; }
.footer-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: #eef2ff; font-size: 1.2rem;
}
.footer-brandname { font-weight: 800; font-size: 1.05rem; color: var(--text); }
.footer-copy { margin: 10px 0 0; }
