/* 크래빗 아카데미 x 카카오 비즈니스 세미나 톤앤매너 개편 (공통 스타일) */
:root {
  --bg: #FFFFFF;
  --ink: #16192A;
  --muted: rgba(22, 25, 42, 0.55);
  --faint: rgba(22, 25, 42, 0.30);
  --line: #E8E8E8;
  --fill: #F2F3F6;
  --fill-soft: #F9FAFC;
  --band: #ECEEF6;
  --soft: #F5F6FA;
  --pink: #FB75BB;
  --tint: #ECEEF6;
  --hd: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; letter-spacing: -0.01em;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
[style*="font-weight: 800"], [style*="font-weight:800"], [style*="font-weight: 900"], [style*="font-weight:900"] { font-weight: 700 !important; }

/* ---------- 헤더 ---------- */

/* 검색 */

/* ---------- 썸네일 (카카오 세미나 구조: 파스텔 단색 면, 좌상단 칩, 좌측 굵은 제목, 우하단 일러스트) ---------- */

/* ---------- 카드 ---------- */
.kc { display: block; position: relative; }
.kc .kt { transition: transform .2s, box-shadow .2s; }
.kc:hover .kt { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(22, 25, 42, .13); }
.kc .tt { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-top: 14px; }
.kc .tt strong { font-size: 16.5px; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kc .cat { margin-top: 3px; font-size: 13px; color: var(--muted); }
.kc .meta { margin-top: 9px; display: flex; flex-wrap: wrap; align-items: center; font-size: 12.5px; color: var(--ink); gap: 0; }
.kc .meta span + span::before { content: ""; display: inline-block; width: 1px; height: 10px; background: #D5D6DB; margin: 0 8px; }
.kc .st { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; margin-right: 8px; vertical-align: 1px; }
.kc .st.up { background: var(--fill); color: var(--ink); }
.kc .st.today { background: var(--pink); color: #fff; }
.kc .st.end { background: var(--fill); color: var(--muted); }
.kc .st.soon { background: var(--fill); color: var(--muted); }
.kc .st.lock { background: var(--fill); color: var(--muted); }

/* ---------- 홈 ---------- */
.hero { position: relative; background: var(--band); }
.hero .slides { position: relative; height: 420px; overflow: hidden; }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; pointer-events: none; background: var(--sc); }
.hero .slide.on { opacity: 1; pointer-events: auto; }
.hero .slide .in { max-width: 1120px; height: 100%; margin: 0 auto; padding: 36px 24px 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero .tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 8px; background: rgba(22, 25, 42, .72); color: #fff; margin-bottom: 18px; }
.hero h1 { margin: 0; font-size: 44px; line-height: 1.28; font-weight: 700; letter-spacing: -0.035em; word-break: keep-all; }
.hero .sub { margin: 16px 0 0; font-size: 17px; color: rgba(22, 25, 42, .7); }
.hero .btn { display: inline-flex; margin-top: 26px; height: 46px; align-items: center; padding: 0 24px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; }
.hero .btn:hover { background: #333; }
.hero .art { width: 270px; height: 270px; flex: none; }
.hero .art svg { width: 100%; height: 100%; display: block; }
.hero .count { position: absolute; right: max(24px, calc(50% - 560px + 24px)); bottom: 52px; z-index: 3; display: flex; align-items: center; gap: 4px; background: rgba(22, 25, 42, .45); color: #fff; border-radius: 99px; padding: 5px 8px 5px 14px; font-size: 12px; font-weight: 600; }
.hero .count button { width: 22px; height: 22px; border: 0; background: none; color: #fff; cursor: pointer; font-size: 14px; line-height: 1; border-radius: 50%; }
.hero .count button:hover { background: rgba(255, 255, 255, .2); }

.notice { max-width: 1120px; margin: -24px auto 0; padding: 0 24px; position: relative; z-index: 4; }
.notice .bar { display: flex; align-items: center; gap: 14px; background: var(--band); border-radius: 99px; padding: 8px 28px 8px 8px; box-shadow: 0 0 0 6px #fff; }
.notice .lab { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px 0 16px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; flex: none; }
.notice .lab svg { width: 20px; height: 20px; }
.notice .txt { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.finder { display: flex; align-items: center; gap: 56px; margin-top: 44px; }
.finder h2 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.55; flex: none; letter-spacing: -0.02em; }
.cats { display: flex; gap: 8px; flex: 1; justify-content: space-between; }
.cats a { display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 500; width: 76px; text-align: center; }
.cats .ic { width: 54px; height: 54px; border-radius: 18px; background: var(--fill); display: grid; place-items: center; transition: background .15s, transform .15s; }
.cats a:hover .ic { background: #E4E6F6; transform: translateY(-2px); }
.cats .ic svg { width: 28px; height: 28px; }

.sec-t { display: flex; align-items: center; justify-content: space-between; margin: 56px 0 22px; }
.sec-t h2 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.arrows { display: flex; gap: 6px; }
.arrows button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.arrows button:disabled { color: #C9CAD0; cursor: default; }
.arrows svg { width: 14px; height: 14px; }
.rail-scroll { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.rail-scroll::-webkit-scrollbar { display: none; }
.rail-scroll .kc { flex: 0 0 calc((100% - 60px) / 4); scroll-snap-align: start; min-width: 0; }

.band { background: var(--band); margin-top: 72px; padding: 72px 0 80px; }
.band .eyebrow { display: block; text-align: center; font-size: 16px; font-weight: 600; color: var(--pink); }
.band h2.big { margin: 10px 0 40px; text-align: center; font-size: 32px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.35; }
.goal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.goal { background: #fff; border-radius: 20px; padding: 30px 26px 26px 28px; height: 190px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; transition: transform .2s, box-shadow .2s; }
.goal:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(22, 25, 42, .1); }
.goal p { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: -0.03em; position: relative; z-index: 2; }
.goal .go { font-size: 14px; font-weight: 500; position: relative; z-index: 2; }
.goal .ill { position: absolute; right: 14px; bottom: 12px; width: 104px; height: 104px; }
.goal .ill svg { width: 100%; height: 100%; display: block; }
.first { margin: 72px 0 28px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.first h3 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.4; }
.first .more { display: inline-flex; height: 42px; align-items: center; padding: 0 22px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.first .more:hover { background: #333; }
.worry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.worry { background: #fff; border-radius: 20px; padding: 28px 20px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.worry .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--fill); display: grid; place-items: center; }
.worry .ic svg { width: 34px; height: 34px; }
.worry p { margin: 0; font-size: 18px; line-height: 1.55; font-weight: 400; letter-spacing: -0.03em; }
.worry p b { font-weight: 700; }

.news .sec-t { margin-top: 64px; }
.news .sec-t a { font-size: 13px; color: var(--muted); }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 96px; }
.news-item { display: flex; align-items: center; gap: 14px; background: var(--soft); border-radius: 16px; padding: 22px 24px; min-height: 84px; transition: background .15s; }
.news-item:hover { background: #ECEDF8; }
.news-item .lb { flex: none; font-size: 11.5px; font-weight: 600; padding: 4px 11px; border-radius: 99px; background: #7C8AF0; color: #fff; }
.news-item .lb.g { background: #F5B73D; }
.news-item .lb.p { background: var(--pink); }
.news-item strong { display: block; font-size: 14.5px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.news-item small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-item .bd { min-width: 0; }

/* ---------- 목록 페이지 ---------- */
.pg-banner { margin-top: 12px; background: var(--band); border-radius: 16px; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 32px; overflow: hidden; }
.pg-banner .l { display: flex; align-items: center; gap: 22px; min-width: 0; }
.pg-banner h1 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; }
.pg-banner i { width: 1px; height: 28px; background: rgba(22, 25, 42, .2); }
.pg-banner p { margin: 0; font-size: 14.5px; font-weight: 500; color: rgba(22, 25, 42, .85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-banner .art { width: 76px; height: 62px; flex: none; }
.pg-banner .art svg { width: 100%; height: 100%; }
.list-head { margin-top: 44px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; }
.list-head .t { font-size: 15px; font-weight: 700; padding: 0 4px 14px; border-bottom: 2px solid var(--ink); margin-bottom: -1px; }
.list-head .sort { padding-bottom: 14px; font-size: 12.5px; color: var(--muted); display: flex; gap: 14px; }
.list-head .sort b { color: var(--ink); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.chips button { height: 36px; padding: 0 18px; border-radius: 99px; border: 0; background: var(--fill); color: var(--ink); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background .15s; }
.chips button:hover { background: #E8E9EE; }
.chips button.on { background: var(--ink); color: #fff; font-weight: 600; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; margin-bottom: 96px; }
.empty { grid-column: 1 / -1; padding: 90px 0; text-align: center; color: var(--muted); font-size: 15px; }

/* ---------- 푸터 ---------- */

/* ---------- 반응형 ---------- */
@media (max-width: 960px) {
  .rail-scroll .kc { flex-basis: calc((100% - 20px) / 2); }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .goal-grid, .worry-grid { grid-template-columns: repeat(2, 1fr); }
  .finder { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cats { flex-wrap: wrap; justify-content: flex-start; }
  .news-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .hero .art { width: 200px; height: 200px; }
}
@media (max-width: 700px) {
  :root { --hd: 60px; }
  .hero .slides { height: 300px; }
  .hero h1 { font-size: 27px; }
  .hero .sub { font-size: 14.5px; }
  .hero .art { display: none; }
  .notice { margin-top: -20px; }
  .notice .lab { height: 40px; padding: 0 14px; font-size: 13px; }
  .notice .lab svg { display: none; }
  .notice .txt { font-size: 13px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 6px; width: 100%; }
  .cats a { width: auto; }
  .rail-scroll .kc { flex-basis: 76%; }
  .grid4 { grid-template-columns: 1fr; gap: 28px; }
  .goal-grid, .worry-grid { grid-template-columns: 1fr; }
  .goal { height: 160px; }
  .band h2.big { font-size: 24px; }
  .first h3 { font-size: 21px; }
  .pg-banner { padding-left: 20px; height: auto; min-height: 64px; }
  .pg-banner p, .pg-banner i { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.kc .meta span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.kc { min-width: 0; }
.kc .desc { margin-top: 8px; font-size: 12.5px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 소개 섹션 ---------- */
.ab-eyebrow { display: block; text-align: center; font-size: 16px; font-weight: 600; color: var(--pink); }
.ab-h { margin: 10px 0 14px; text-align: center; font-size: 32px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.35; word-break: keep-all; }
.ab-p { margin: 0 auto 40px; max-width: 640px; text-align: center; font-size: 16.5px; line-height: 1.75; color: var(--muted); word-break: keep-all; }
.who { padding: 80px 0 8px; }
.who-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.who-card { border-radius: 24px; padding: 34px 34px 32px; position: relative; overflow: hidden; min-height: 330px; display: flex; flex-direction: column; }
.who-card.cr { background: var(--soft); }
.who-card.ol { background: #C3C5F6; }
.who-card .tg { align-self: flex-start; font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(22, 25, 42, .72); padding: 5px 11px; border-radius: 7px; margin-bottom: 18px; }
.who-card h3 { margin: 0 0 12px; font-size: 25px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.35; word-break: keep-all; }
.who-card p { margin: 0; font-size: 15.5px; line-height: 1.7; color: rgba(22, 25, 42, .78); max-width: 74%; word-break: keep-all; }
.who-card .go { margin-top: auto; padding-top: 22px; font-size: 14.5px; font-weight: 600; position: relative; z-index: 2; }
.who-card .ill { position: absolute; right: 22px; bottom: 54px; width: 128px; height: 128px; }
.who-card .ill svg { width: 100%; height: 100%; display: block; }
.who-note { margin: 22px auto 0; text-align: center; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.who-note span { display: inline-block; background: var(--tint); border-radius: 99px; padding: 10px 20px; }

.why { padding: 88px 0 0; }
.why-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; }
.why-step { background: var(--soft); border-radius: 20px; padding: 28px 24px; text-align: center; }
.why-step .n { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--ink); padding: 4px 10px; border-radius: 99px; margin-bottom: 14px; }
.why-step h4 { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.4; }
.why-step p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--muted); word-break: keep-all; }
.why-arrow { align-self: center; color: var(--faint); font-size: 22px; }

.member { background: #16192A; color: #fff; margin-top: 88px; padding: 80px 0 84px; }
.member .ab-eyebrow { color: var(--pink); }
.member .ab-h { color: #fff; }
.member .ab-p { color: rgba(255, 255, 255, .65); margin-bottom: 44px; }
.mem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mem-card { background: rgba(255, 255, 255, .07); border-radius: 20px; padding: 28px 26px 30px; }
.mem-card .ic { width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; margin-bottom: 18px; }
.mem-card .ic svg { width: 28px; height: 28px; }
.mem-card h4 { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.03em; }
.mem-card p { margin: 0; font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, .62); word-break: keep-all; }
.mem-cta { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.mem-cta .btn { display: inline-flex; height: 50px; align-items: center; padding: 0 28px; border-radius: 99px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 700; }
.mem-cta .btn:hover { background: #F0F0F0; }
.mem-cta small { font-size: 13px; color: rgba(255, 255, 255, .5); }


.about-hero { margin-top: 12px; background: var(--band); border-radius: 24px; padding: 64px 32px 60px; text-align: center; }
.about-hero h1 { margin: 12px 0 14px; font-size: 40px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.35; word-break: keep-all; }
.about-hero p { margin: 0 auto; max-width: 600px; font-size: 17px; line-height: 1.75; color: rgba(22, 25, 42, .7); word-break: keep-all; }
.ol-news { padding: 88px 0 0; }

@media (max-width: 960px) {
  .why-flow { grid-template-columns: 1fr; }
  .why-arrow { transform: rotate(90deg); }
  .mem-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .who-grid { grid-template-columns: 1fr; }
  .who-card p { max-width: 100%; }
  .who-card .ill { position: static; width: 96px; height: 96px; margin: 14px 0 0 auto; }
  .ab-h { font-size: 24px; }
  .about-hero h1 { font-size: 28px; }
}

/* 아이콘 이미지 */
.ill img, .hero .art img, .pg-banner .art img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cats .ic { background: var(--fill); }
.cats .ic img { width: 40px; height: 40px; object-fit: contain; display: block; }
.worry .ic img { width: 46px; height: 46px; object-fit: contain; display: block; }
.mem-card .ic { background: rgba(255,255,255,.12); width: 60px; height: 60px; border-radius: 18px; }
.mem-card .ic img { width: 42px; height: 42px; object-fit: contain; display: block; }
.cats .ic { width: 58px; height: 58px; }
.hero .art, .pg-banner .art { filter: none; }

.who-card.cr { background: var(--soft); }
.who-card.ol { background: var(--soft); }
.who-card .go { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.who-card .go .pb { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600; }
.who-card .go .pb:hover { background: #333; }
@media (max-width: 700px) { .hero .slides { height: 360px; } .hero .slide .in { padding-top: 24px; padding-bottom: 56px; } .hero .count { bottom: 44px; } }

.who-card.ol .ill { background: #fff; border-radius: 50%; padding: 16px; width: 136px; height: 136px; }

.cta-strip { margin-top: 0; }
.sec-t .sec-more { font-size: 13.5px; color: var(--muted); }
.sec-t .sec-more:hover { color: var(--ink); }
.cats { justify-content: flex-start; gap: 28px; }
@media (min-width: 961px) { .cats a { width: auto; min-width: 76px; white-space: nowrap; } }
