/* ============================================================
   진로취업디렉토리북 (동명대학교 대학일자리플러스센터) 디자인 시스템
============================================================ */

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

@font-face {
  font-family: "Seoul Namsan";
  src: url("../fonts/SeoulNamsanM.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Seoul Namsan";
  src: url("../fonts/SeoulNamsanB.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --font-display: "Seoul Namsan", "Pretendard", sans-serif;
  --ivory: #fafaf8;
  --white: #ffffff;
  --paper: #efece3;
  --ink: #181b22;
  --ink-soft: #585e6b;
  --ink-faint: #8a93a3;
  --line: #e2ddd0;

  /* 화이트톤 리브랜딩(2026-07-30): 기존 네이비/브라스 하드코딩 대신 무채색 스케일로 교체.
     변수명(green-*, brass-* 접두사)은 하위 호환을 위해 유지하되 값만 그레이스케일로 전환. */
  --green-900: #1c1e24;
  --green-800: #262931;
  --green-700: #3c4049;
  --green-600: #565b66;
  --green-500: #767c88;
  --green-100: #eef0f2;
  --green-050: #f6f7f8;

  --brass-700: #6b6f76;
  --brass-500: #8f8d84;
  --brass-100: #efece3;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(24, 27, 34, 0.06);
  --shadow-md: 0 12px 32px rgba(24, 27, 34, 0.1);
  --shadow-lg: 0 24px 60px rgba(24, 27, 34, 0.16);

  --container: 1180px;
  --header-h: 76px;
  --announce-h: 42px;
}

/* ---------- Top announcement strip ---------- */
.top-rule {
  height: 3px;
  background: var(--green-900);
}
.utility {
  background: var(--green-900);
  color: #e6e7ea;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 9px 0;
  text-align: center;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  background: var(--ivory);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

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

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: var(--announce-h); left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(250, 250, 248, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(24, 27, 34, 0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--green-800);
}
.brand .brand-mark {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand .brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand .brand-text {
  display: inline-block;
  text-align: center;
  line-height: 1.15;
}
.brand .brand-text small {
  display: block;
  font-family: "Pretendard", sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  color: var(--ink-faint);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-top: 1px;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: var(--radius-pill);
  transition: color 0.2s ease, background 0.2s ease;
}
.main-nav a:hover { color: var(--green-800); background: var(--green-050); }
.main-nav a.active { color: var(--green-800); background: var(--green-100); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--green-800);
  transition: all 0.2s ease;
}
.icon-btn:hover { background: var(--green-100); border-color: var(--green-100); transform: translateY(-1px); }

.nav-toggle { display: none; }

/* ---------- Back button ---------- */
.back-btn {
  position: fixed;
  top: calc(96px + var(--announce-h));
  left: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px 10px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.back-btn:hover { color: var(--green-800); border-color: var(--green-500); transform: translateX(-2px); box-shadow: var(--shadow-md); }
.back-btn svg { width: 16px; height: 16px; }

/* ---------- Hero (clean banner, Kyobo-style) ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + var(--announce-h) + 64px) 24px 72px;
  background: var(--ivory);
  overflow: hidden;
  text-align: center;
}
.hero-decor {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(440px circle at 10% 12%, rgba(24, 27, 34, 0.05), transparent 65%),
    radial-gradient(500px circle at 92% 88%, rgba(24, 27, 34, 0.04), transparent 62%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}
.hero-content.hero-content-split { max-width: 1180px; }
.hero-split {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.hero-left .search-box { margin: 0; }
.hero-left .keyword-chips { justify-content: flex-start; }
.hero-right { display: flex; justify-content: center; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: var(--ink-faint);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.2vw, 4.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 32px;
  color: var(--green-900);
  white-space: nowrap;
}
.hero-left h1 { white-space: normal; word-break: keep-all; }

.search-box {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow-sm);
  max-width: 600px;
  margin: 0 auto;
}
.search-box select {
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--green-800);
  padding: 10px 4px;
  cursor: pointer;
}
.search-box-divider {
  width: 1px;
  height: 20px;
  background: var(--line);
  margin: 0 12px 0 4px;
  flex-shrink: 0;
}
.search-box svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--ink-faint); margin-right: 8px; }
.search-box input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--ink);
  padding: 10px 0;
}
.search-box input::placeholder { color: var(--ink-faint); }
.search-box button {
  border: none;
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.search-box button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(24,27,34,0.28); }

.keyword-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.keyword-chips span { font-size: 0.85rem; color: var(--ink-faint); margin-right: 2px; padding-top: 6px; }
.keyword-chips a {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-800);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.keyword-chips a:hover { background: var(--green-100); box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* 밀리의 서재 "오늘의 인생책" 그대로 참고: 독립 섹션에 표지(은은한 글로우) + 편집자 노트 카드가 가로로 나란히 배치 */
.hero-feature {
  display: flex;
  align-items: stretch;
  gap: 32px;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--paper), var(--ivory));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.hero-feature-cover {
  position: relative;
  flex-shrink: 0;
  width: 30%;
  display: flex; align-items: center; justify-content: center;
}
.hero-feature-glow {
  position: absolute; inset: 4%;
  background-size: cover; background-position: center;
  filter: blur(28px) saturate(1.3) brightness(1.04);
  transform: scale(1.15);
  opacity: 0.65;
  border-radius: 20px;
  z-index: 0;
}
.hero-feature-cover img {
  position: relative; z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 40px rgba(24, 27, 34, 0.2);
}
.hero-feature-card {
  flex: 1;
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.hero-feature-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.hero-feature-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.hero-feature-head-text { display: flex; flex-direction: column; line-height: 1.35; }
.hero-feature-head-text strong { font-size: 0.98rem; font-weight: 800; color: var(--ink); }
.hero-feature-head-text span { font-size: 0.78rem; color: var(--ink-faint); }
.hero-feature-quote-mark {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem; line-height: 0.3;
  color: var(--line);
  margin-bottom: 10px;
}
.hero-feature-quote {
  font-size: 0.94rem; color: var(--ink-soft); line-height: 1.65;
  margin: 0 0 20px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-feature-stats { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hero-feature-stats li { font-size: 0.84rem; color: var(--ink-soft); padding-left: 22px; position: relative; }
.hero-feature-stats li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-ink); font-weight: 800; }
.hero-feature .btn-block { width: auto; align-self: flex-start; padding-left: 26px; padding-right: 26px; }

@media (max-width: 700px) {
  .hero-feature { flex-direction: column; padding: 20px; gap: 16px; }
  .hero-feature-cover { width: 100%; height: 220px; }
  .hero-feature .btn-block { width: 100%; }
}

.hero-book-strip {
  margin: 40px calc(50% - 50vw) 0;
  padding: 28px 0 4px;
  border-top: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.hero-book-track {
  display: flex;
  width: max-content;
  gap: 24px;
  padding: 0 24px;
  animation: heroMarquee 28s linear infinite;
}
.hero-book-strip:hover .hero-book-track { animation-play-state: paused; }
@keyframes heroMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.hero-book-thumb {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 148px;
  text-align: left;
  flex-shrink: 0;
}
.hero-book-thumb img {
  width: 148px;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-book-thumb:hover img { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-lg); }
.hero-book-cat {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.68rem;
  font-weight: 700;
}
.hero-book-thumb .title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 720px) {
  .hero-book-thumb { width: 118px; }
  .hero-book-thumb img { width: 118px; height: 160px; }
}

/* ---------- Section shell ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--paper); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brass-500);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-desc { color: var(--ink-soft); margin-top: 10px; font-size: 0.96rem; }
.section-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--green-800);
  padding: 10px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, gap 0.2s ease;
}
.section-more:hover { border-color: var(--green-700); gap: 10px; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.step-card h3 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 700; letter-spacing: -0.02em; }
.step-card p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Book grid & card ---------- */
.book-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.book-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.book-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.book-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper);
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.book-card:hover .book-cover img { transform: scale(1.06); }
.book-rank {
  position: absolute;
  top: 12px; left: 12px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--green-800);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.book-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.92);
  color: var(--green-800);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}
.book-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.book-cat { font-size: 0.72rem; font-weight: 700; color: var(--green-700); margin-bottom: 8px; letter-spacing: 0.02em; }
.book-title {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.book-author { font-size: 0.8rem; color: var(--ink-faint); margin: 0 0 14px; }
.book-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--ink-faint);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.book-meta .dl { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--green-700); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  transition: all 0.2s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--green-600), var(--green-800)); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--white); color: var(--green-800); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--green-600); background: var(--green-050); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.82rem; }
.btn-danger { background: #fbeceb; color: #b3261e; }
.btn-danger:hover { background: #f6d9d7; }

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.filter-bar .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}
.filter-bar .chip-icon { display: inline-flex; }
.filter-bar .chip-icon svg { width: 16px; height: 16px; }
.filter-bar .chip:hover { background: var(--green-050); color: var(--green-800); }
.filter-bar .chip.active { background: var(--green-800); color: #fff; }
.filter-bar .chip-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  min-width: 220px;
}
.filter-bar .chip-search svg { width: 16px; height: 16px; color: var(--ink-faint); }
.filter-bar .chip-search input { border: none; background: transparent; outline: none; font-family: inherit; font-size: 0.86rem; width: 100%; }

.page-hero {
  padding: calc(148px + var(--announce-h)) 0 40px;
  text-align: center;
}
.page-hero .section-eyebrow { display: inline-block; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; margin: 10px 0 12px; color: var(--green-900); }
.page-hero p { color: var(--ink-soft); max-width: 560px; margin: 0 auto; }

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--ink-faint);
}
.empty-state svg { width: 56px; height: 56px; margin-bottom: 16px; opacity: 0.5; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
a.gallery-item { cursor: pointer; }
a.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px 12px;
  background: linear-gradient(0deg, rgba(15,40,27,0.85), transparent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}
.gallery-link-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.92);
  color: var(--green-800);
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
a.gallery-item:hover .gallery-link-badge { opacity: 1; transform: translateY(0); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.72);
  padding: 64px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.05rem; margin-bottom: 14px; }
.footer-brand .brand-mark { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-brand .brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.site-footer p { font-size: 0.88rem; line-height: 1.8; margin: 0; }
.site-footer h4 { color: #fff; font-size: 0.92rem; margin: 0 0 16px; letter-spacing: -0.01em; }
.footer-links a { display: block; padding: 6px 0; font-size: 0.88rem; transition: color 0.2s ease; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.45);
  font-size: 0.76rem;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}
.footer-admin-link:hover { color: #fff; border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06); }
.footer-admin-link svg { width: 14px; height: 14px; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 30, 22, 0.55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
  max-height: 88vh;
  overflow-y: auto;
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-box.modal-sm { max-width: 420px; }
.modal-box.modal-md { max-width: 480px; }
.modal-box.modal-lg { max-width: 760px; }
.modal-box.modal-xl { max-width: 1400px; max-height: 94vh; }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}
.modal-close:hover { background: var(--green-100); color: var(--green-800); }

.modal-inner { position: relative; padding: 36px; }

.book-detail { display: grid; grid-template-columns: 200px 1fr; gap: 28px; }
.book-detail .book-cover { border-radius: var(--radius-md); }
.book-detail-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 8px; }
.book-detail-author { color: var(--ink-faint); font-size: 0.9rem; margin: 0 0 18px; }
.book-detail-desc { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 24px; }
.book-detail-meta { display: flex; gap: 18px; font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 24px; flex-wrap: wrap; }
.book-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.book-detail-actions .btn { flex: 1; min-width: 160px; }

/* ---------- E-book Flip Viewer ---------- */
.ebook-modal-inner { padding: 28px; }
.ebook-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 16px; padding-right: 40px;
}
.ebook-title { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.ebook-pageinfo { font-size: 0.85rem; color: var(--ink-faint); white-space: nowrap; }
.ebook-stage {
  position: relative;
  background: var(--green-900);
  border-radius: var(--radius-md);
  height: clamp(460px, 80vh, 880px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ebook-flip-root { display: none; width: 100%; height: 100%; }
.ebook-loading {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.85); font-size: 0.88rem; text-align: center; padding: 0 20px;
}
.ebook-spinner {
  width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.25); border-top-color: #fff;
  animation: ebook-spin 0.8s linear infinite;
}
@keyframes ebook-spin { to { transform: rotate(360deg); } }
.ebook-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.9); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; line-height: 1; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease;
}
.ebook-nav:hover { background: #fff; }
.ebook-nav-prev { left: 12px; }
.ebook-nav-next { right: 12px; }
.ebook-footer { display: flex; justify-content: flex-end; margin-top: 18px; }

@media (max-width: 720px) {
  .ebook-stage { height: 460px; }
  .ebook-nav { width: 36px; height: 36px; font-size: 1.2rem; }
  .ebook-header { padding-right: 36px; }
}

.form-group { margin-bottom: 18px; text-align: left; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--paper);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--green-600); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 0.76rem; color: var(--ink-faint); margin-top: 6px; }
.form-msg { font-size: 0.86rem; padding: 12px 14px; border-radius: var(--radius-sm); margin-top: 14px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: var(--green-050); color: var(--green-800); }
.form-msg.err { background: #fbeceb; color: #b3261e; }

.modal-title { font-size: 1.2rem; font-weight: 800; margin: 0 0 4px; letter-spacing: -0.02em; }
.modal-sub { font-size: 0.86rem; color: var(--ink-faint); margin: 0 0 24px; }

.lock-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--green-900);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .book-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--white); color: var(--green-800);
  }
  .steps { grid-template-columns: 1fr; }
  .book-detail { grid-template-columns: 1fr; }
  .book-detail .book-cover { max-width: 180px; margin: 0 auto; }
  .hero-split { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-left .search-box { margin: 0 auto; }
  .hero-left .keyword-chips { justify-content: center; }
  .hero-left h1 { text-align: center; }
}

@media (max-width: 720px) {
  .book-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 64px 0; }
  .back-btn { top: 88px; left: 16px; padding: 9px 14px 9px 10px; font-size: 0.8rem; }
  .filter-bar { flex-direction: column; align-items: stretch; border-radius: var(--radius-md); }
  .filter-bar .chip-search { margin-left: 0; }
  .modal-inner { padding: 24px; }
  .hero-content { width: calc(100% - 32px); margin: 0 auto; padding: 0 16px; }
  .hero h1 { white-space: normal; font-size: clamp(1.4rem, 6vw, 1.9rem); }
}

@media (max-width: 480px) {
  .book-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .search-box { flex-wrap: wrap; border-radius: var(--radius-lg); padding: 14px; }
  .search-box input { width: 100%; order: 1; }
  .search-box svg { order: 0; }
  .search-box button { order: 2; width: 100%; margin-top: 8px; }
}

/* ---------- Trend books (Aladin bestseller) - ranked list ---------- */
#trend, #faq { scroll-margin-top: calc(var(--header-h) + var(--announce-h) + 20px); }
.trend-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.trend-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px dashed var(--line);
  transition: background 0.2s ease;
}
.trend-row:last-child { border-bottom: none; }
.trend-row:hover { background: var(--green-050); }
.trend-rank {
  flex-shrink: 0;
  width: 40px;
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  color: var(--brass-500);
  letter-spacing: -0.02em;
  text-align: center;
}
.trend-row:nth-child(-n+3) .trend-rank { color: var(--green-800); }
.trend-thumb {
  flex-shrink: 0;
  width: 52px;
  height: 74px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--paper);
}
.trend-thumb img { width: 100%; height: 100%; object-fit: cover; }
.trend-info { flex: 1; min-width: 0; }
.trend-info-top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.trend-title {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.trend-badge-mini {
  flex-shrink: 0;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.66rem;
  font-weight: 700;
}
.trend-subtitle {
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin: 4px 0 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trend-author-row {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ink-faint);
}
.trend-author-row .dot { color: var(--line); }
.trend-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-800);
  white-space: nowrap;
  transition: all 0.2s ease;
}
.trend-row:hover .trend-cta { border-color: var(--green-600); background: var(--white); }
.trend-source {
  margin-top: 20px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-faint);
}
.trend-source a { font-weight: 700; color: var(--green-700); }
.trend-source a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .trend-row { padding: 14px 16px; gap: 12px; }
  .trend-rank { width: 26px; font-size: 1.2rem; }
  .trend-thumb { width: 42px; height: 60px; }
  .trend-subtitle { display: none; }
  .trend-cta span { display: none; }
  .trend-cta { padding: 8px 10px; }
}

/* ---------- Admin ---------- */
.admin-shell { padding-top: calc(var(--header-h) + var(--announce-h)); min-height: 100vh; display: flex; }
.admin-gate {
  position: fixed; inset: 0;
  background: linear-gradient(160deg, var(--green-900), var(--green-700));
  display: flex; align-items: center; justify-content: center;
  z-index: 500;
  padding: 20px;
}
.admin-gate-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  padding: 32px 16px;
  border-right: 1px solid var(--line);
  min-height: calc(100vh - var(--header-h));
}
.admin-sidebar button {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 10px;
  transition: all 0.2s ease;
}
.admin-sidebar button:hover { background: var(--green-050); color: var(--green-800); }
.admin-sidebar button.active { background: var(--green-800); color: #fff; }
.admin-main { flex: 1; padding: 32px 40px 80px; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.admin-head h2 { margin: 0; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.admin-head p { margin: 4px 0 0; color: var(--ink-faint); font-size: 0.86rem; }

.admin-table-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
table.admin-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
table.admin-table th, table.admin-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.admin-table th { background: var(--paper); font-weight: 700; color: var(--ink-soft); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; }
table.admin-table tr:last-child td { border-bottom: none; }
table.admin-table tr:hover td { background: var(--green-050); }
.table-cover { width: 42px; height: 56px; border-radius: 6px; object-fit: cover; }
.badge-pill { padding: 4px 11px; border-radius: var(--radius-pill); background: var(--green-100); color: var(--green-800); font-size: 0.74rem; font-weight: 700; }
.row-actions { display: flex; gap: 6px; }
.row-actions button { padding: 7px 12px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--white); font-size: 0.76rem; font-weight: 700; color: var(--ink-soft); }
.row-actions button:hover { border-color: var(--green-600); color: var(--green-800); }
.row-actions button.danger:hover { border-color: #b3261e; color: #b3261e; }

.admin-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 24px; }
.admin-card h3 { margin: 0 0 20px; font-size: 1.02rem; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.category-list { display: flex; flex-direction: column; gap: 10px; }
.category-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.category-row-color { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.category-row-name { font-weight: 700; font-size: 0.9rem; }
.category-row-count { margin-left: auto; font-size: 0.8rem; color: var(--ink-faint); }
.category-row .row-actions button:disabled { opacity: 0.4; cursor: not-allowed; }
.category-row .row-actions button:disabled:hover { border-color: var(--line); color: var(--ink-soft); }

.gallery-admin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-admin-item { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; }
.gallery-admin-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-admin-item button {
  position: absolute; top: 8px; right: 8px;
  width: 28px; height: 28px; border-radius: 50%;
  border: none; background: rgba(0,0,0,0.55); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.gallery-admin-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(0deg, rgba(15,40,27,0.88), transparent);
  display: flex; flex-direction: column; gap: 4px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
}
.gallery-admin-cap .link-badge { color: #cfe0f5; font-weight: 700; }
.gallery-admin-cap .link-badge.muted { color: rgba(255,255,255,0.55); font-weight: 500; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.stat-card .num { font-size: 1.7rem; font-weight: 800; color: var(--green-800); letter-spacing: -0.02em; }
.stat-card .lbl { font-size: 0.82rem; color: var(--ink-faint); margin-top: 4px; }

.mobile-nav-drawer {
  position: fixed; inset: 0;
  background: rgba(15,30,22,0.5);
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobile-nav-drawer.open { opacity: 1; pointer-events: auto; }
.mobile-nav-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 78%; max-width: 320px;
  background: var(--white);
  padding: 100px 28px 28px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-nav-drawer.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-panel a { display: block; padding: 14px 4px; font-weight: 700; font-size: 1.05rem; color: var(--ink); border-bottom: 1px solid var(--line); }

@media (max-width: 900px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; display: flex; overflow-x: auto; gap: 4px; padding: 16px; min-height: auto; }
  .admin-sidebar button { width: auto; white-space: nowrap; }
  .admin-main { padding: 24px 18px 60px; }
  .form-row { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-admin-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-table-wrap { overflow-x: auto; }
  table.admin-table { min-width: 640px; }
}

/* ============================================================
   홈페이지 v2 전용 섹션 (index-v2.html) - 히어로 신뢰 배지, 추천 도서
   스포트라이트, FAQ 아코디언, CTA 밴드. 기존 index.html/다른 페이지에는
   영향 없는 추가 클래스들입니다.
============================================================ */

/* ---------- Hero trust stats ---------- */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hero-stat { padding: 0 26px; text-align: center; }
.hero-stat + .hero-stat { border-left: 1px solid var(--line); }
.hero-stat strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-800);
  letter-spacing: -0.02em;
}
.hero-stat span { font-size: 0.76rem; color: var(--ink-faint); font-weight: 600; }
@media (max-width: 720px) {
  .hero-stats { gap: 0 6px; }
  .hero-stat { padding: 0 14px; }
}

/* ---------- Spotlight (editorial pick) ---------- */
.spotlight-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
}
.spotlight-cover { position: relative; max-width: 320px; }
.spotlight-cover::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 2px solid var(--brass-500);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.spotlight-cover img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
  cursor: pointer;
}
.spotlight-cover:hover img { transform: rotate(0deg) scale(1.02); }
.spotlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--green-800);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.spotlight-content h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: var(--green-900);
}
.spotlight-content .spotlight-cat { font-size: 0.82rem; font-weight: 700; color: var(--brass-500); margin-bottom: 14px; }
.spotlight-content p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.75;
  margin: 0 0 26px;
  max-width: 520px;
}
.spotlight-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .spotlight-grid { grid-template-columns: 1fr; gap: 32px; }
  .spotlight-cover { max-width: 220px; margin: 0 auto; }
  .spotlight-content { text-align: center; }
  .spotlight-content p { margin-left: auto; margin-right: auto; }
  .spotlight-actions { justify-content: center; }
}

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 0.96rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink-faint);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--green-800); border-bottom: 1px solid var(--line); }
.faq-item p { margin: 0; padding: 18px 24px 22px; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.7; }

