/* ============================================================
   오롯이 — 디자인 시스템 v2
   톤: 신뢰감 있는 재무 상담 (아이보리 종이 + 네이비 잉크 + 딥그린 포인트)
   모바일 우선 (QR로 들어오는 사장님 화면 기준)
============================================================ */
:root {
  --paper: #f7f4ee;
  --paper-2: #efeae0;
  --paper-3: #e6dfd2;
  --white: #ffffff;

  --ink: #101b2d;
  --ink-2: #2e3b52;
  --ink-3: #5b6779;
  --ink-4: #8a94a6;

  --navy: #0c2b4e;
  --navy-2: #143d6b;
  --navy-3: #1d4f87;
  --navy-soft: #e7eef8;

  --accent: #0f7a6a;
  --accent-2: #139a86;
  --accent-soft: #e0f1ec;

  --gold: #b8862b;
  --gold-ink: #6b4e0f;
  --gold-soft: #f6ecd3;

  --danger: #c23b2c;
  --danger-soft: #f9e3df;

  --kakao: #fee500;
  --kakao-ink: #191919;

  --line: rgba(16, 27, 45, 0.12);
  --line-2: rgba(16, 27, 45, 0.22);

  --shadow-1: 0 1px 2px rgba(16, 27, 45, 0.05), 0 10px 28px rgba(16, 27, 45, 0.07);
  --shadow-2: 0 2px 6px rgba(16, 27, 45, 0.08), 0 28px 56px rgba(16, 27, 45, 0.14);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --max: 1120px;
  --narrow: 720px;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
@media (min-width: 960px) { body { font-size: 16.5px; } }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
strong, b { font-weight: 700; }
em { font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: var(--narrow); margin: 0 auto; }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }

/* ------------------------------------------------------------
   버튼
------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(12, 43, 78, .22); }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(15, 122, 106, .22); }
.btn-accent:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-kakao { background: var(--kakao); color: var(--kakao-ink); box-shadow: 0 8px 20px rgba(254, 229, 0, .3); }
.btn-kakao:hover { background: #f5dc00; transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(255,255,255,.6); }
.btn-white { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-white:hover { border-color: var(--navy); }
.btn-lg { padding: 18px 28px; font-size: 1.08rem; }
.btn-sm { padding: 9px 14px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }
.btn .ico { width: 20px; height: 20px; flex: none; }

/* ------------------------------------------------------------
   헤더
------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 18px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 1.12rem; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 11px; flex: none;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-3) 100%);
  color: #fff; display: grid; place-items: center; font-size: .78rem; font-weight: 800; letter-spacing: -.02em;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.18);
}
.logo-sub { font-size: .82rem; color: var(--ink-3); font-weight: 500; margin-left: -2px; display: none; }
@media (min-width: 720px) { .logo-sub { display: inline; } }
.nav { display: none; gap: 24px; margin-left: auto; font-weight: 600; font-size: .96rem; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }
@media (min-width: 840px) { .nav { display: flex; } }
.header-cta { margin-left: auto; }
@media (min-width: 840px) { .header-cta { margin-left: 0; } }

/* ------------------------------------------------------------
   히어로
------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  padding: 44px 0 40px;
  background:
    radial-gradient(900px 480px at 85% -20%, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(600px 400px at -10% 110%, rgba(15,122,106,.10) 0%, rgba(15,122,106,0) 60%),
    var(--paper);
}
@media (min-width: 960px) { .hero { padding: 72px 0 64px; } }
.hero-grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; } }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .85rem; font-weight: 700; color: var(--accent);
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.05rem, 6vw, 3.5rem);
  line-height: 1.16; letter-spacing: -.035em; font-weight: 800;
}
.hero h1 .u {
  background: linear-gradient(transparent 62%, rgba(15,122,106,.22) 62%);
  padding: 0 .04em;
}
.hero-lead { margin-top: 18px; font-size: 1.1rem; color: var(--ink-2); max-width: 560px; line-height: 1.75; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
@media (min-width: 560px) { .hero-actions { flex-direction: row; flex-wrap: wrap; } }
.hero-note { margin-top: 14px; font-size: .92rem; color: var(--ink-3); }

/* 수수료 비교 영수증 */
.receipt {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 24px 22px 20px; overflow: hidden;
}
.receipt::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--navy), var(--accent)); }
.receipt-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.receipt-head strong { font-size: 1.05rem; letter-spacing: -.01em; }
.receipt-head small { color: var(--ink-3); font-size: .85rem; }
.receipt-amount { font-size: clamp(1.7rem, 5vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; margin: 6px 0 12px; }
.receipt-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-top: 1px dashed var(--line-2); font-size: .98rem; }
.receipt-row span { color: var(--ink-2); }
.receipt-row strong { font-size: 1.05rem; }
.receipt-row.is-bad strong { color: var(--danger); }
.receipt-row.is-good { background: var(--accent-soft); margin: 6px -22px -20px; padding: 16px 22px 18px; border-top: 0; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.receipt-row.is-good span { color: var(--accent); font-weight: 700; }
.receipt-row.is-good strong { color: var(--accent); font-size: 1.15rem; }
.receipt-foot { margin-top: 10px; font-size: .82rem; color: var(--ink-4); }

/* 신뢰 스트립 */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 30px; }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px 14px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.trust li i { width: 22px; height: 22px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-style: normal; font-size: .8rem; font-weight: 800; flex: none; }

/* ------------------------------------------------------------
   섹션 공통
------------------------------------------------------------ */
.section { padding: 60px 0; }
@media (min-width: 960px) { .section { padding: 88px 0; } }
.section.is-white { background: #fff; }
.section.is-paper2 { background: var(--paper-2); }
.section.is-navy { background: var(--navy); color: #fff; }
.eyebrow { font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.is-navy .eyebrow { color: #7fd8c8; }
.section h2, .h2 { font-size: clamp(1.65rem, 4vw, 2.35rem); letter-spacing: -.03em; line-height: 1.22; font-weight: 800; }
.section-lead { margin-top: 14px; color: var(--ink-2); font-size: 1.05rem; max-width: 640px; line-height: 1.75; }
.is-navy .section-lead { color: rgba(255,255,255,.78); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }

/* 분야 그리드 */
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
@media (min-width: 760px) { .topics { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.topic {
  display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 16px;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.topic:hover { transform: translateY(-2px); border-color: var(--navy); box-shadow: var(--shadow-1); }
.topic-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 1rem; }
.topic strong { font-size: 1.02rem; letter-spacing: -.01em; }
.topic span { font-size: .88rem; color: var(--ink-3); line-height: 1.5; }
.topic .arrow { margin-top: auto; font-size: .85rem; font-weight: 700; color: var(--navy); }

/* 편지형 선언문 */
.letter {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 24px; box-shadow: var(--shadow-1);
}
@media (min-width: 760px) { .letter { padding: 44px 48px; } }
.letter::before { content: "\201C"; position: absolute; top: 2px; left: 18px; font-family: Georgia, "Times New Roman", serif; font-size: 5.5rem; line-height: 1; color: var(--gold-soft); }
.letter p { position: relative; font-size: 1.08rem; line-height: 1.9; color: var(--ink-2); }
.letter p + p { margin-top: 18px; }
.letter p strong { color: var(--ink); }
.letter .highlight { background: linear-gradient(transparent 60%, var(--gold-soft) 60%); }
.sign { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.sign strong { font-size: 1.05rem; }
.sign small { display: block; color: var(--ink-3); font-weight: 500; }
.avatar {
  width: 56px; height: 56px; border-radius: 50%; flex: none; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--accent)); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.15rem;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* 원칙 */
.principles { display: grid; gap: 12px; margin-top: 26px; }
@media (min-width: 840px) { .principles { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.principle { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.principle b { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.principle strong { display: block; margin-bottom: 4px; font-size: 1.03rem; letter-spacing: -.01em; }
.principle p { color: var(--ink-3); font-size: .95rem; line-height: 1.6; }

/* 경고 카드 (이런 곳은 조심) */
.flags { display: grid; gap: 10px; margin-top: 24px; }
@media (min-width: 760px) { .flags { grid-template-columns: repeat(2, 1fr); } }
.flag { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--danger); border-radius: var(--r-md); padding: 16px; }
.flag strong { display: block; margin-bottom: 2px; }
.flag p { font-size: .93rem; color: var(--ink-3); line-height: 1.6; }

/* 진행 순서 */
.steps { counter-reset: step; display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 840px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 18px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: var(--gold); }
.step strong { display: block; margin: 8px 0 6px; font-size: 1.05rem; letter-spacing: -.01em; }
.step p { color: var(--ink-3); font-size: .95rem; line-height: 1.6; }
.step .pill { display: inline-block; margin-top: 10px; font-size: .78rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }

/* 계산기 */
.calc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 20px; box-shadow: var(--shadow-1); }
@media (min-width: 760px) { .calc { padding: 32px; } }
.calc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.calc-label { font-weight: 700; color: var(--ink-2); }
.calc-amount { font-size: clamp(1.9rem, 6vw, 2.7rem); font-weight: 800; letter-spacing: -.035em; }
.calc-amount small { font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-left: 4px; color: var(--ink-3); }
input[type="range"] { width: 100%; margin: 14px 0 6px; accent-color: var(--navy); height: 30px; }
.calc-scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-4); }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.calc-cell { background: var(--paper); border-radius: var(--r-md); padding: 14px 10px; text-align: center; }
.calc-cell small { display: block; color: var(--ink-3); font-size: .82rem; font-weight: 600; }
.calc-cell strong { display: block; margin-top: 4px; font-size: clamp(1rem, 3.6vw, 1.25rem); color: var(--danger); letter-spacing: -.02em; }
.calc-cell em { display: block; margin-top: 4px; font-size: .78rem; color: var(--ink-4); }
.calc-note { margin-top: 16px; padding: 16px; border-radius: var(--r-md); background: var(--accent-soft); color: #0b5c50; font-weight: 600; line-height: 1.6; }
.calc-note b { display: block; color: var(--accent); margin-bottom: 4px; }
.calc-rate { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--ink-3); margin-top: 10px; }
.calc-rate input { width: 70px; padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 8px; text-align: right; }

/* 좁은 화면에서는 수수료 세 칸을 가로 줄로 눕혀 숫자가 잘리지 않게 합니다 */
@media (max-width: 480px) {
  .calc-grid { grid-template-columns: 1fr; gap: 8px; }
  .calc-cell { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; text-align: left; padding: 13px 15px; }
  .calc-cell small { font-size: .92rem; }
  .calc-cell strong { margin-top: 0; font-size: 1.15rem; }
  .calc-cell em { width: 100%; margin-top: 0; }
}

/* 마감 임박 공고 */
.deadline-list { display: flex; gap: 12px; overflow-x: auto; padding: 6px 0 14px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin-top: 22px; }
.deadline-list::-webkit-scrollbar { height: 6px; }
.deadline-list::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }
.deadline-card { flex: 0 0 min(300px, 84vw); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.deadline-card h3 { font-size: .98rem; line-height: 1.45; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.deadline-card small { color: var(--ink-3); font-size: .85rem; }
.deadline-card .btn { margin-top: auto; }
.dday { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: 0; }
.dday.is-urgent, .dday.is-today { background: var(--danger-soft); color: var(--danger); }
.dday.is-open { background: var(--accent-soft); color: var(--accent); }
.dday.is-closed { background: var(--paper-2); color: var(--ink-3); }
.dday.is-guide { background: var(--navy-soft); color: var(--navy); }
.src { display: inline-flex; align-items: center; font-size: .76rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.src.is-official { background: var(--navy-soft); color: var(--navy); }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 26px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-4); font-weight: 400; font-size: 1.4rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 0 18px; color: var(--ink-2); line-height: 1.75; }

/* 상담사 카드 — 어두운 CTA 안에 놓여도 글자색을 잃지 않도록 직접 지정합니다 */
.consultant { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-1); color: var(--ink); }
.consultant .avatar { width: 68px; height: 68px; font-size: 1.35rem; color: #fff; }
.consultant strong, .cta .consultant strong { color: var(--ink); font-size: 1.12rem; letter-spacing: -.01em; }
.consultant p, .cta .consultant p { color: var(--ink-3); font-size: .93rem; margin-top: 2px; line-height: 1.55; max-width: none; }
.consultant .creds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.consultant .creds span { font-size: .78rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }

/* CTA */
.cta { background: linear-gradient(160deg, var(--navy) 0%, #0a2340 100%); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(19,154,134,.35), rgba(19,154,134,0) 70%); }
.cta .container { position: relative; }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -.03em; line-height: 1.22; }
.cta p { color: rgba(255,255,255,.78); margin-top: 12px; max-width: 560px; font-size: 1.05rem; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
@media (min-width: 560px) { .cta-actions { flex-direction: row; flex-wrap: wrap; } }
.cta .btn-white { border-color: rgba(255,255,255,.3); }

/* 푸터 */
.site-footer { background: #0b1524; color: rgba(255,255,255,.72); padding: 40px 0 120px; font-size: .88rem; line-height: 1.7; }
@media (min-width: 960px) { .site-footer { padding-bottom: 48px; } }
.footer-grid { display: grid; gap: 22px; }
@media (min-width: 840px) { .footer-grid { grid-template-columns: 1.2fr 1fr; gap: 40px; } }
.footer-brand { font-weight: 800; font-size: 1.2rem; color: #fff; letter-spacing: -.02em; }
.footer-brand span { color: #7fd8c8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.footer-links a { color: rgba(255,255,255,.85); font-weight: 600; }
.footer-legal { color: rgba(255,255,255,.6); }
.footer-legal a { color: rgba(255,255,255,.85); }
.footer-disclaimer { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.5); font-size: .82rem; }

/* 모바일 하단 고정 바 */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.sticky-bar .btn { padding: 13px 8px; font-size: .95rem; border-radius: 14px; box-shadow: none; }
@media (min-width: 960px) { .sticky-bar { display: none; } }
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: none; padding: 16px 22px; box-shadow: var(--shadow-2); }
@media (min-width: 960px) { .fab { display: inline-flex; } }

/* ------------------------------------------------------------
   페이지 헤더 (서브 페이지)
------------------------------------------------------------ */
.page-hero { padding: 40px 0 24px; }
@media (min-width: 960px) { .page-hero { padding: 64px 0 32px; } }
.page-hero h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); letter-spacing: -.035em; line-height: 1.18; font-weight: 800; }
.page-lead { margin-top: 12px; color: var(--ink-2); font-size: 1.05rem; max-width: 640px; line-height: 1.75; }

/* ------------------------------------------------------------
   진단 (match.html)
------------------------------------------------------------ */
.quiz-wrap { padding: 24px 0 60px; }
@media (min-width: 960px) { .quiz-wrap { padding: 40px 0 80px; } }
.quiz-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 20px 24px; box-shadow: var(--shadow-1); }
@media (min-width: 640px) { .quiz-card { padding: 34px 32px 30px; } }
.quiz-card:focus { outline: none; }
.progress { height: 6px; background: var(--paper-2); border-radius: 999px; overflow: hidden; margin-bottom: 22px; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--navy), var(--accent)); transition: width .35s ease; }
.quiz-step { font-size: .85rem; color: var(--ink-3); font-weight: 700; letter-spacing: .02em; }
.quiz-title { font-size: clamp(1.35rem, 4.4vw, 1.75rem); letter-spacing: -.025em; line-height: 1.3; margin-top: 6px; }
.quiz-hint { color: var(--ink-3); margin-top: 8px; font-size: .95rem; }
.options { display: grid; gap: 10px; margin-top: 22px; }
.options.is-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .options.is-grid { grid-template-columns: repeat(3, 1fr); } }
.options.is-grid.is-4 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 640px) { .options.is-grid.is-4 { grid-template-columns: repeat(4, 1fr); } }
.option {
  text-align: left; background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r-md);
  padding: 15px 16px; display: flex; flex-direction: column; gap: 3px; transition: border-color .12s ease, background .12s ease, box-shadow .12s ease;
  min-height: 56px; justify-content: center;
}
.option strong { font-size: 1.02rem; letter-spacing: -.01em; }
.option span { font-size: .86rem; color: var(--ink-3); line-height: 1.45; }
.option:hover { border-color: var(--navy); }
.option.is-active { border-color: var(--navy); background: #f2f6fc; box-shadow: inset 0 0 0 1px var(--navy); }
.option.is-active strong::after { content: " \2713"; color: var(--accent); }
.options.is-grid .option { align-items: center; text-align: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line-2); background: #fff; border-radius: 999px; padding: 10px 15px; font-size: .95rem; font-weight: 600; transition: .12s ease; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.mini { margin-top: 20px; }
.mini-label { font-weight: 700; font-size: .95rem; margin-bottom: 10px; }
.mini-label small { color: var(--ink-4); font-weight: 500; margin-left: 6px; }
.quiz-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 26px; }
.quiz-actions .btn-primary { flex: 1; }
.error { color: var(--danger); font-weight: 600; margin-top: 12px; font-size: .95rem; }
.field { display: block; margin-top: 16px; }
.field > span { display: block; font-weight: 700; font-size: .93rem; margin-bottom: 6px; }
.field > span em { color: var(--danger); }
.field small { display: block; margin-top: 6px; color: var(--ink-4); font-size: .84rem; }
.input { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: var(--r-md); font-size: 1.05rem; background: #fff; }
.input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(12,43,78,.12); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: .92rem; color: var(--ink-2); line-height: 1.55; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--navy); }
.consent a, .linklike { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* 분석 중 */
.analyzing { text-align: center; padding: 30px 0 16px; }
.spinner { width: 58px; height: 58px; border-radius: 50%; border: 4px solid var(--paper-2); border-top-color: var(--navy); animation: spin .9s linear infinite; margin: 0 auto 20px; }
@keyframes spin { to { transform: rotate(360deg); } }
.analyzing h2 { font-size: 1.4rem; letter-spacing: -.02em; }
.analyzing-log { margin: 18px auto 0; max-width: 360px; text-align: left; display: grid; gap: 8px; }
.analyzing-log li { display: flex; gap: 10px; align-items: center; color: var(--ink-4); font-size: .95rem; transition: color .3s ease; }
.analyzing-log li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; transition: .3s ease; }
.analyzing-log li.is-done { color: var(--ink); font-weight: 600; }
.analyzing-log li.is-done::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px #fff; }

/* 결과 미리보기 */
.teaser-hero { text-align: center; padding: 6px 0 18px; }
.teaser-hero .quiz-step { color: var(--accent); }
.big-number { font-size: clamp(3.2rem, 14vw, 5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--navy); margin-top: 8px; }
.big-number small { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; margin-left: 4px; color: var(--ink-2); }
.teaser-sub { margin-top: 10px; color: var(--ink-2); font-size: 1.02rem; }
.teaser-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--paper); font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.tag b { color: var(--navy); }
.tag.is-urgent { background: var(--danger-soft); color: var(--danger); }
.tag.is-urgent b { color: var(--danger); }
.masked-list { display: grid; gap: 10px; margin-top: 22px; }
.masked { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.masked .t { font-weight: 600; font-size: .98rem; line-height: 1.45; }
.masked .t .blur { filter: blur(6px); user-select: none; pointer-events: none; }
.masked small { display: block; margin-top: 4px; color: var(--ink-3); font-size: .84rem; }
.masked .dday { flex: none; }
.lock-note { margin-top: 14px; padding: 14px 16px; border-radius: var(--r-md); background: var(--gold-soft); color: var(--gold-ink); font-size: .95rem; display: flex; gap: 10px; line-height: 1.55; }
.lock-note b { flex: none; }
.divider { height: 1px; background: var(--line); margin: 26px 0 8px; }
.form-title { font-size: 1.25rem; letter-spacing: -.02em; }
.form-lead { color: var(--ink-3); margin-top: 6px; font-size: .95rem; }

/* 완료 */
.done-head { text-align: center; }
.done-head .check { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 14px; font-size: 1.6rem; font-weight: 800; }
.done-head h2 { font-size: clamp(1.4rem, 4.6vw, 1.85rem); letter-spacing: -.025em; }
.code-box { margin-top: 20px; background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 22px; text-align: center; }
.code-box small { opacity: .75; font-size: .88rem; }
.code { font-size: clamp(1.9rem, 9vw, 2.8rem); font-weight: 800; letter-spacing: .08em; margin-top: 4px; }
.code-box p { margin-top: 8px; font-size: .9rem; color: rgba(255,255,255,.8); }
.handoff { display: grid; gap: 10px; margin-top: 18px; }
.handoff-title { margin-top: 24px; font-weight: 800; font-size: 1.05rem; }
.copy-box { margin-top: 12px; background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--r-md); padding: 14px; font-size: .9rem; white-space: pre-wrap; color: var(--ink-2); line-height: 1.55; }
.copy-hint { margin-top: 10px; font-size: .9rem; color: var(--ink-3); text-align: center; }
.checklist { margin-top: 8px; }
.checklist li { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.checklist li:last-child { border-bottom: 0; }
.checklist li b { color: var(--accent); flex: none; }
.checklist li small { color: var(--ink-4); display: block; font-size: .83rem; }

/* ------------------------------------------------------------
   공고 목록 (programs.html)
------------------------------------------------------------ */
.filter { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 16px; }
.filter-label { font-weight: 700; font-size: .9rem; margin-bottom: 8px; color: var(--ink-2); }
.search { position: relative; }
.search .input { padding-left: 44px; }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-4); }
.search-clear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); padding: 6px 10px; color: var(--ink-4); }
.result-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; font-size: .9rem; color: var(--ink-3); }
.program-grid { display: grid; gap: 14px; margin-top: 16px; }
@media (min-width: 720px) { .program-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .program-grid { grid-template-columns: repeat(3, 1fr); } }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; display: flex; flex-direction: column; gap: 10px; transition: .15s ease; }
.pcard:hover { border-color: var(--navy); box-shadow: var(--shadow-1); }
.pcard-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pcard h3 { font-size: 1.02rem; line-height: 1.45; letter-spacing: -.01em; }
.pcard dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: .88rem; color: var(--ink-2); }
.pcard dt { font-weight: 600; color: var(--ink-4); }
.pcard-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; align-items: center; }
.pcard-actions .btn { flex: 1; }
.pcard-actions .link { font-size: .85rem; font-weight: 700; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.skeleton { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; display: grid; gap: 10px; }
.sk { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--paper-2), #f7f4ee, var(--paper-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.sk.w40 { width: 40%; } .sk.w70 { width: 70%; } .sk.w90 { width: 90%; } .sk.tall { height: 18px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.state-box { text-align: center; padding: 48px 20px; background: #fff; border: 1px dashed var(--line-2); border-radius: var(--r-lg); margin-top: 16px; }
.state-box strong { display: block; font-size: 1.1rem; }
.state-box p { color: var(--ink-3); margin-top: 6px; }
.notice { background: var(--navy-soft); border-radius: var(--r-md); padding: 14px 16px; font-size: .93rem; color: var(--navy); line-height: 1.6; }

/* ------------------------------------------------------------
   문서형 페이지 (privacy 등)
------------------------------------------------------------ */
.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 22px; }
@media (min-width: 760px) { .doc { padding: 44px 48px; } }
.doc h2 { font-size: 1.2rem; margin-top: 28px; letter-spacing: -.02em; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--ink-2); line-height: 1.8; margin-top: 8px; }
.doc ul { list-style: disc; padding-left: 20px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .93rem; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--paper); font-weight: 700; }

/* ------------------------------------------------------------
   운영자 화면 (ops.html / qr.html)
------------------------------------------------------------ */
.ops { max-width: 1040px; margin: 0 auto; padding: 28px 20px 100px; }
.ops-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0 20px; }
.ops-toolbar .input { max-width: 320px; }
.lead { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; margin-bottom: 12px; }
.lead-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; }
.lead-head h2 { font-size: 1.08rem; letter-spacing: -.01em; }
.lead-head h2 small { color: var(--ink-3); font-weight: 600; margin-left: 8px; font-size: .9rem; }
.lead-meta { color: var(--ink-3); font-size: .88rem; margin-top: 6px; }
.lead-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lead-body { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.lead-body h3 { font-size: .95rem; margin-bottom: 8px; }
.lead-body li { margin: 0 0 10px; font-size: .92rem; }
.lead-body li a { color: var(--navy); font-weight: 600; }
.lead-body li small { display: block; color: var(--ink-3); }
.status { font-size: .78rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.status.new { background: var(--danger-soft); color: var(--danger); }
.status.contacted { background: var(--gold-soft); color: var(--gold-ink); }
.status.consulting { background: var(--navy-soft); color: var(--navy); }
.status.done { background: var(--accent-soft); color: var(--accent); }
.status.lost { background: var(--paper-2); color: var(--ink-3); }
select.input { padding: 10px 12px; font-size: .95rem; width: auto; }
textarea.input { min-height: 150px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86rem; line-height: 1.5; resize: vertical; }
.health { display: grid; gap: 8px; margin-top: 10px; }
.health li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; }
.health li b { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; }
.health li.ok b { background: var(--accent-soft); color: var(--accent); }
.health li.warn b { background: var(--gold-soft); color: var(--gold-ink); }
.health li.bad b { background: var(--danger-soft); color: var(--danger); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-top: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; }
.stat small { display: block; color: var(--ink-3); font-size: .82rem; }
.stat strong { font-size: 1.4rem; letter-spacing: -.02em; }

/* QR 전단 */
.qr-preview { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 16px; justify-items: center; text-align: center; }
.qr-preview svg, .qr-preview img { width: 220px; height: 220px; }
.print-sheet { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
.qr-card { border: 1px dashed var(--line-2); border-radius: 12px; padding: 14px; display: flex; gap: 14px; align-items: center; background: #fff; break-inside: avoid; page-break-inside: avoid; }
.qr-card .qr { width: 96px; height: 96px; flex: none; }
.qr-card .qr svg, .qr-card .qr img { width: 96px; height: 96px; }
.qr-card strong { display: block; font-size: 1rem; letter-spacing: -.02em; line-height: 1.3; }
.qr-card p { font-size: .8rem; color: var(--ink-3); margin-top: 4px; line-height: 1.45; }
.qr-card .tel { font-weight: 800; color: var(--navy); margin-top: 6px; font-size: .95rem; }
@media print {
  .site-header, .sticky-bar, .fab, .no-print, .site-footer { display: none !important; }
  body { background: #fff; font-size: 12px; }
  .ops { padding: 0; max-width: none; }
  .print-sheet { grid-template-columns: repeat(2, 1fr); gap: 8mm; }
  .qr-card { border: 1px dashed #999; }
}

/* 접근성: 키보드 포커스 */
:focus-visible { outline: 3px solid rgba(12,43,78,.35); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ============================================================
   v2.1 — 고급감·신뢰 강화 (어두운 구간, 실시간 숫자, 빠른 상담 폼, 사진, 등장 효과)
============================================================ */
:root { --font-serif: "Noto Serif KR", "Nanum Myeongjo", "Apple SD Gothic Neo", serif; }

/* 헤더: 전화번호 노출 */
.header-phone { display: none; align-items: center; gap: 6px; font-weight: 800; color: var(--navy); font-size: 1rem; letter-spacing: -.01em; }
@media (min-width: 1024px) { .header-phone { display: inline-flex; } }

/* 어두운 구간 */
.section.is-dark { background: linear-gradient(160deg, #0c2b4e 0%, #0a2340 100%); color: #fff; position: relative; overflow: hidden; }
.section.is-dark::before { content: ""; position: absolute; width: 640px; height: 640px; right: -260px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(19,154,134,.28), rgba(19,154,134,0) 68%); pointer-events: none; }
.section.is-dark .container { position: relative; }
.section.is-dark .eyebrow { color: #7fd8c8; }
.section.is-dark h2 { color: #fff; }
.section.is-dark h2 em { color: #7fd8c8; }
.section.is-dark .section-lead { color: rgba(255,255,255,.78); }
.dark-grid { display: grid; gap: 12px; margin-top: 30px; }
@media (min-width: 720px) { .dark-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dark-grid.is-4 { grid-template-columns: repeat(4, 1fr); } .dark-grid.is-3 { grid-template-columns: repeat(3, 1fr); } }
.dark-card { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md); padding: 22px 20px; backdrop-filter: blur(6px); transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.dark-card:hover { transform: translateY(-3px); border-color: rgba(127,216,200,.55); background: rgba(255,255,255,.08); }
.dark-card .no { font-size: .8rem; font-weight: 800; letter-spacing: .12em; color: #7fd8c8; }
.dark-card strong { display: block; margin: 10px 0 8px; font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.35; color: #fff; }
.dark-card p { color: rgba(255,255,255,.74); font-size: .95rem; line-height: 1.65; }
.dark-card .then { margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.18); color: #cfeee7; font-size: .93rem; font-weight: 600; }
.dark-card .then::before { content: "→ "; color: #7fd8c8; }

/* 실시간 숫자 스트립 */
.stats { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { padding: 22px 16px; border-right: 1px solid var(--line); }
.stat-item:nth-child(2n) { border-right: 0; }
@media (min-width: 760px) { .stat-item:nth-child(2n) { border-right: 1px solid var(--line); } .stat-item:last-child { border-right: 0; } }
.stat-item small { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--ink-4); text-transform: uppercase; }
.stat-item strong { display: block; margin-top: 4px; font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; letter-spacing: -.03em; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat-item strong span { font-size: .95rem; font-weight: 700; color: var(--ink-3); margin-left: 2px; letter-spacing: 0; }
.stat-item em { display: block; margin-top: 4px; font-size: .82rem; color: var(--ink-3); }

/* 상담에서 자주 보는 상황 */
.scenes { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 900px) { .scenes { grid-template-columns: repeat(3, 1fr); } }
.scene { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-1); }
.scene q { quotes: "\201C" "\201D"; font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.6; color: var(--ink); letter-spacing: -.01em; }
.scene q::before, .scene q::after { color: var(--gold); }
.scene .ans { color: var(--ink-2); font-size: .95rem; line-height: 1.7; padding-left: 14px; border-left: 3px solid var(--accent); }
.scene .tag { align-self: flex-start; }

/* 편지: 세리프 */
.letter p { font-family: var(--font-serif); font-size: 1.1rem; }
.letter p strong { font-weight: 700; }

/* 함께한 사장님들 (설정에 있을 때만) */
.stories { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 900px) { .stories { grid-template-columns: repeat(3, 1fr); } }
.story { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; box-shadow: var(--shadow-1); }
.story .who { font-size: .82rem; font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.story .result { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 10px; color: var(--navy); }
.story .quote { font-family: var(--font-serif); color: var(--ink-2); line-height: 1.75; }
.story .quote::before { content: "\201C"; color: var(--gold); margin-right: 2px; }

/* 빠른 상담 폼 (어두운 CTA 안 흰 카드) */
.cta-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .cta-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 48px; } }
.quick { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 24px 20px; box-shadow: var(--shadow-2); }
@media (min-width: 640px) { .quick { padding: 30px 28px; } }
.quick h3 { font-size: 1.25rem; letter-spacing: -.02em; color: var(--ink); }
.cta .quick p { color: var(--ink-3); font-size: .93rem; margin-top: 6px; max-width: none; }
.quick .field > span { color: var(--ink); }
.quick .consent { color: var(--ink-2); }
.quick .btn-primary { margin-top: 18px; }
.quick .error { color: var(--danger); }
.quick .done { text-align: center; padding: 8px 0; }
.quick .done .code { color: var(--navy); }
.quick .done .handoff { margin-top: 14px; }
.quick .copy-box { color: var(--ink-2); }

/* 사진 아바타 */
.avatar.has-photo { background: #fff; }
.avatar img { display: block; }
.consultant .avatar { flex: none; }
.consultant.is-photo .avatar { width: 88px; height: 88px; }

/* 등장 효과 */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* 히어로 여백·그레인 */
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: radial-gradient(rgba(16,27,45,.045) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%); }
.hero .container { position: relative; z-index: 1; }

/* 폼 라벨 안의 (선택) 표시는 줄바꿈 없이 옆에 붙입니다 */
.field > span small { display: inline; margin: 0 0 0 4px; font-size: .82rem; color: var(--ink-4); font-weight: 500; }

/* ============================================================
   실시간 보드 — 히어로 아래 어두운 띠. 큰 숫자 + 흐르는 공고 + 오로라 배경
============================================================ */
.live { position: relative; overflow: hidden; background: #0b2440; color: #fff; padding: 34px 0 22px; isolation: isolate; }
.live-bg { position: absolute; inset: -40%; z-index: -1; pointer-events: none; filter: blur(34px);
  background:
    radial-gradient(38% 48% at 18% 32%, rgba(19,154,134,.55), transparent 62%),
    radial-gradient(34% 44% at 82% 18%, rgba(29,79,135,.85), transparent 62%),
    radial-gradient(44% 54% at 62% 92%, rgba(127,216,200,.32), transparent 62%);
  animation: aurora 20s ease-in-out infinite alternate; }
@keyframes aurora { 0% { transform: translate3d(-4%, -3%, 0) rotate(0deg) scale(1); } 100% { transform: translate3d(5%, 4%, 0) rotate(7deg) scale(1.08); } }
.live-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .92rem; color: rgba(255,255,255,.82); margin-bottom: 18px; }
.live-head strong { color: #fff; letter-spacing: -.01em; }
.live-time { color: rgba(255,255,255,.62); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 rgba(61,220,151,.65); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.65); } 70% { box-shadow: 0 0 0 11px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }
.live-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
@media (min-width: 840px) { .live-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.live-num { padding: 14px 16px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.live-num strong { display: block; font-size: clamp(2.3rem, 9vw, 3.6rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 6px 30px rgba(127,216,200,.25); }
.live-num strong i { font-style: normal; font-size: 1.05rem; font-weight: 800; color: #7fd8c8; margin-left: 4px; letter-spacing: 0; }
.live-num small { display: block; margin-top: 10px; font-size: .95rem; font-weight: 700; color: #fff; }
.live-num em { display: block; margin-top: 2px; font-size: .8rem; color: rgba(255,255,255,.62); line-height: 1.45; }
.live-bars { margin-top: 18px; display: grid; gap: 8px 24px; }
@media (min-width: 840px) { .live-bars { grid-template-columns: repeat(2, 1fr); } }
.bar { display: grid; grid-template-columns: 92px 1fr 52px; gap: 10px; align-items: center; font-size: .84rem; color: rgba(255,255,255,.82); }
.bar b { font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar i { display: block; height: 8px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.bar i span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #7fd8c8, #139a86); transition: width 1.3s cubic-bezier(.2,.8,.2,1); }
.bar em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; color: #7fd8c8; font-weight: 700; }
.ticker { margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 10px; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: .88rem; white-space: nowrap; cursor: pointer; transition: background .15s ease; }
.ticker-item:hover { background: rgba(255,255,255,.18); }
.ticker-item .t { max-width: 300px; overflow: hidden; text-overflow: ellipsis; }
.ticker-item .dday { font-size: .74rem; padding: 3px 8px; }
@media (prefers-reduced-motion: reduce) { .ticker { overflow-x: auto; mask-image: none; -webkit-mask-image: none; } .ticker-track { animation: none; } .live-bg { animation: none; } }
.bar-cap { grid-column: 1 / -1; font-size: .8rem; color: rgba(255,255,255,.62); margin-bottom: 2px; }
