:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --fg: #0f172a;
  --fg-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #2563eb;
  --brand-2: #60a5fa;
  --pf: #6fb4f5;
  --pf-deep: #3b8fe0;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px rgba(15, 23, 42, .06);
  --header-bg: rgba(255, 255, 255, .78);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1020;
    --bg-soft: #111831;
    --fg: #f1f5f9;
    --fg-2: #cbd5e1;
    --muted: #94a3b8;
    --line: #1e293b;
    --brand: #60a5fa;
    --brand-2: #93c5fd;
    --card: #131b34;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
    --header-bg: rgba(11, 16, 32, .78);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* 헤더 */
header.top {
  position: sticky; top: 0; z-index: 10;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 900;
}
nav.menu a { margin-left: 28px; text-decoration: none; color: var(--fg-2); font-size: 15px; font-weight: 500; }
nav.menu a:hover { color: var(--brand); }

/* 히어로 */
.hero { position: relative; overflow: hidden; padding: 112px 0 104px; }
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none;
}
.hero::before { width: 520px; height: 520px; right: -140px; top: -160px; background: radial-gradient(circle, #bfdbfe 0%, transparent 70%); }
.hero::after { width: 420px; height: 420px; left: -160px; bottom: -220px; background: radial-gradient(circle, #dbeafe 0%, transparent 70%); }
@media (prefers-color-scheme: dark) {
  .hero::before { background: radial-gradient(circle, #1e3a8a 0%, transparent 70%); }
  .hero::after { background: radial-gradient(circle, #172554 0%, transparent 70%); }
}
.hero .wrap { position: relative; z-index: 1; }
.hero .trail { position: absolute; z-index: 0; right: max(24px, calc(50% - 540px)); top: 50%; transform: translateY(-50%); width: 420px; height: 420px; color: var(--brand); }
@media (max-width: 980px) { .hero .trail { display: none; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); padding: 6px 12px; border-radius: 999px; }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero h1 { font-size: clamp(38px, 6.4vw, 68px); line-height: 1.18; letter-spacing: -0.045em; margin: 22px 0 22px; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: var(--fg-2); max-width: 600px; margin: 0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 14px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--fg); color: var(--bg); }
.btn.ghost { background: var(--card); color: var(--fg); border: 1px solid var(--line); }

/* 공통 섹션 */
section.block { padding: 96px 0; }
section.block.soft { background: var(--bg-soft); }
.label { font-size: 14px; font-weight: 700; color: var(--brand); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
h2.title { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.3; letter-spacing: -0.035em; margin: 0 0 16px; font-weight: 800; }
p.desc { color: var(--muted); font-size: 17px; margin: 0; max-width: 640px; }

/* 하는 일 3단 */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px 32px; box-shadow: var(--shadow); }
.pillar .num { font-size: 14px; font-weight: 800; color: var(--brand); }
.pillar h3 { font-size: 22px; margin: 14px 0 4px; letter-spacing: -0.02em; }
.pillar .en { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.pillar p { color: var(--fg-2); margin: 14px 0 0; font-size: 15.5px; }

/* 서비스 목록 */
.services { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; margin-top: 48px; }
.svc { position: relative; overflow: hidden; border-radius: 26px; padding: 36px 34px 38px; min-height: 380px; display: flex; flex-direction: column; }
.svc h3 { font-size: 26px; margin: 14px 0 10px; letter-spacing: -0.03em; }
.svc p { margin: 0; font-size: 16px; line-height: 1.7; }
.svc .tag { align-self: flex-start; font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.svc.puppyful {
  background: linear-gradient(140deg, #8cc6f8 0%, var(--pf) 45%, var(--pf-deep) 100%);
  color: #fff; box-shadow: 0 24px 60px rgba(59, 143, 224, .25);
}
.svc.puppyful .svc-body { position: relative; z-index: 1; display: flex; flex-direction: column; max-width: 400px; height: 100%; }
.svc.puppyful .tag { background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .35); }
.svc.puppyful .logo { width: 168px; border-radius: 14px; margin-top: 22px; }
.svc.puppyful p { opacity: .95; max-width: 340px; }
.svc.puppyful .btn { align-self: flex-start; margin-top: auto; background: #fff; color: var(--pf-deep); }
.svc.puppyful .svc-body > p { margin-bottom: 28px; }
.paws { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .18; }
.svc.next { background: var(--card); border: 2px dashed var(--line); color: var(--fg); justify-content: center; }
.svc.next .tag { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.svc.next p { color: var(--muted); }
.svc.next .plus { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 30px; font-weight: 300; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); margin-bottom: 22px; }

/* 회사 정보 */
.info-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
dl.info { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
dl.info div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 20px 26px; border-bottom: 1px solid var(--line); }
dl.info div:last-child { border-bottom: 0; }
dl.info dt { color: var(--muted); font-weight: 500; }
dl.info dd { margin: 0; font-weight: 600; }
dl.info dd small { display: block; font-weight: 400; color: var(--muted); margin-top: 2px; font-size: 14px; }

/* 공고 */
.notice-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.notice-note { font-size: 14px; color: var(--muted); max-width: 420px; margin: 0; }
.board { margin-top: 32px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
ul.notices { list-style: none; margin: 0; padding: 0; }
ul.notices li + li { border-top: 1px solid var(--line); }
ul.notices a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; text-decoration: none; transition: background .15s ease; }
ul.notices a:hover { background: var(--bg-soft); }
ul.notices .title { font-weight: 700; font-size: 16.5px; }
ul.notices .meta { color: var(--muted); font-size: 14px; margin-top: 4px; }
ul.notices .arrow { color: var(--muted); font-size: 20px; flex: none; }
.nowrap { white-space: nowrap; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-right: 8px; vertical-align: 2px; }
.badge.on { background: #dcfce7; color: #166534; }
.badge.off { background: var(--line); color: var(--muted); }
.empty { color: var(--muted); padding: 44px 26px; text-align: center; margin: 0; }
.empty b { display: block; color: var(--fg-2); font-size: 16px; margin-bottom: 4px; }

/* 공고 상세 */
.page { padding: 56px 0 96px; }
.page .wrap { max-width: 800px; }
.back { display: inline-flex; gap: 6px; margin-bottom: 28px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.back:hover { color: var(--brand); }
article.doc { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 44px 44px 48px; box-shadow: var(--shadow); }
article.doc h1 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.03em; margin: 0 0 12px; line-height: 1.35; }
article.doc .meta { color: var(--muted); font-size: 14px; padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
article.doc .body { white-space: pre-wrap; font-size: 16.5px; color: var(--fg-2); line-height: 1.85; }
article.doc .sign { margin-top: 44px; text-align: right; white-space: pre-line; font-weight: 600; }

/* 푸터 */
footer.bottom { background: #0b1020; color: #94a3b8; padding: 56px 0 48px; font-size: 14px; }
footer.bottom .brand { color: #f1f5f9; margin-bottom: 18px; }
footer.bottom p { margin: 4px 0; }
footer.bottom a { color: #cbd5e1; text-decoration: none; }
footer.bottom .copy { margin-top: 24px; padding-top: 20px; border-top: 1px solid #1e293b; color: #64748b; }
@media (prefers-color-scheme: dark) { footer.bottom { background: #070b17; } }

/* 모바일 */
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  nav.menu a { margin-left: 16px; font-size: 14px; }
  .hero { padding: 72px 0 72px; }
  section.block { padding: 72px 0; }
  .svc { padding: 30px 24px 30px; min-height: 0; }
  .svc.puppyful .btn { margin-top: 0; }
  dl.info div { grid-template-columns: 1fr; gap: 2px; padding: 16px 20px; }
  ul.notices a { padding: 18px 20px; }
  article.doc { padding: 28px 22px 32px; border-radius: 18px; }
}
