:root {
  --bg: #0d1117;
  --bg-alt: #11171f;
  --bg-elev: #161d27;
  --line: #243041;
  --text: #e6edf3;
  --muted: #9aa7b4;
  --accent: #f0b43c;
  --accent-soft: rgba(240, 180, 60, 0.14);
  --danger: #ff6b6b;
  --good: #5dd6a5;
  --maxw: 1120px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  word-break: keep-all;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }
a.link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.muted { color: var(--muted); }

/* ---------- Top nav ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top__wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand__mark { font-size: 22px; }
.top__nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  flex-wrap: wrap;
}
.top__nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.top__nav a:hover { color: var(--text); }
.top__cta { margin-left: 8px; }

@media (max-width: 720px) {
  .top__nav { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
  line-height: 1;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--accent);
  color: #1a1304;
}
.btn--primary:hover { background: #ffc24d; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 14px 22px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(1200px 500px at 50% -100px, rgba(240,180,60,0.14), transparent 70%),
    radial-gradient(800px 400px at 10% 100%, rgba(93, 214, 165, 0.06), transparent 60%),
    linear-gradient(180deg, #0d1117 0%, #0f151d 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.35;
  pointer-events: none;
}
.hero__eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin: 0 0 22px;
}
.hero__title {
  font-size: clamp(32px, 5.2vw, 56px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.hero__accent { color: var(--accent); }
.hero__kw {
  display: inline-block;
  background: linear-gradient(180deg, transparent 55%, rgba(240,180,60,0.35) 55%);
  padding: 0 4px;
  letter-spacing: -0.01em;
}
.hero__lead {
  font-size: clamp(15px, 1.6vw, 18px);
  color: #c9d2dc;
  max-width: 760px;
  margin: 0 0 32px;
}
.hero__ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin: 0;
  padding: 18px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hero__stats div dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.hero__stats div dd {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
}
@media (max-width: 720px) {
  .hero { padding: 48px 0 40px; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; scroll-margin-top: 72px; }
section[id] { scroll-margin-top: 72px; }
.section--alt { background: var(--bg-alt); }
.section--action {
  background:
    radial-gradient(1000px 400px at 80% 0%, rgba(240,180,60,0.08), transparent 70%),
    var(--bg);
}
.section--detention {
  background:
    radial-gradient(900px 380px at 20% 0%, rgba(255, 107, 107, 0.10), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--contact {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.section__head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.section__head h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.section__lead { color: var(--muted); margin: 0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 860px) { .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card__h {
  margin: 0 0 14px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.card__note {
  color: var(--muted);
  font-size: 13px;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.card--fact { border-left: 3px solid var(--good); }
.card--defense { border-left: 3px solid var(--accent); }
.card--warning { border-left: 3px solid var(--danger); }

.mini { margin-top: 14px; }
.mini summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  list-style: none;
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-block;
}
.mini summary::-webkit-details-marker { display: none; }
.mini summary::before { content: "▸ "; color: var(--accent); }
.mini[open] summary::before { content: "▾ "; }
.mini ul { margin-top: 10px; }

.bulleted { margin: 0; padding-left: 20px; }
.bulleted li { margin: 6px 0; }
.bulleted--num { list-style: decimal; }
.bulleted--links li a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Callout ---------- */
.callout {
  margin-top: 28px;
  padding: 28px;
  background: linear-gradient(180deg, var(--accent-soft), transparent 80%), var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.callout__h { margin: 0 0 16px; font-size: 18px; }
.profile { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: center; }
.profile__dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px 20px;
  margin: 0;
}
.profile__dl div dt { color: var(--muted); font-size: 12px; letter-spacing: 0.04em; }
.profile__dl div dd { margin: 2px 0 0; font-weight: 700; }
.profile__quote {
  font-size: 17px;
  font-style: italic;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin: 0;
}
@media (max-width: 760px) {
  .profile { grid-template-columns: 1fr; }
}

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 820px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 120px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 14px 0;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: 114px;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
}
.timeline__item--now::before { background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.timeline__date {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding-top: 18px;
  text-align: right;
}
.timeline__body {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.timeline__body h3 { margin: 0 0 6px; font-size: 16px; }
.timeline__body p { margin: 0; color: #c9d2dc; }
@media (max-width: 700px) {
  .timeline::before { left: 8px; }
  .timeline__item { grid-template-columns: 1fr; gap: 6px; padding-left: 28px; }
  .timeline__item::before { left: 2px; top: 18px; }
  .timeline__date { text-align: left; padding-top: 0; }
}

/* ---------- Actions ---------- */
.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
@media (max-width: 860px) { .actions { grid-template-columns: 1fr; } }

.action {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.action__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}
.action__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}
.action__h { margin: 0 0 4px; font-size: 18px; }
.action__sub { margin: 0; color: var(--muted); font-size: 14px; }
.action__body { display: flex; flex-direction: column; gap: 10px; color: #c9d2dc; }
.action__row { display: flex; flex-wrap: wrap; gap: 8px; }
.action__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  background: var(--accent);
  color: #1a1304;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  align-self: flex-start;
}
.action__btn:hover { background: #ffc24d; }
.action__btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.action__btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.action__note { color: var(--muted); font-size: 13px; margin: 0; }

.action--hl {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft), var(--shadow);
}
.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1a1304;
  background: var(--accent);
  border-radius: 999px;
  vertical-align: middle;
}

.deposit {
  background: var(--bg);
  border: 1px dashed var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.deposit dl {
  display: grid;
  grid-template-columns: auto auto;
  gap: 6px 16px;
  margin: 0;
}
.deposit dl > div { display: contents; }
.deposit dt {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.deposit dd {
  margin: 0;
  font-weight: 700;
  font-family: var(--mono);
  font-size: 14px;
}
.deposit__copy { flex: 0 0 auto; }
@media (max-width: 560px) {
  .deposit { flex-direction: column; align-items: flex-start; }
}

.quote {
  margin: 0;
  padding: 12px 14px;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  color: #c9d2dc;
  font-style: italic;
}

.quotes { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }

/* ---------- Compare (불구속 대조 사례) ---------- */
.compare {
  margin-top: 28px;
  padding: 28px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.compare__head { text-align: center; margin-bottom: 22px; }
.compare__head h3 {
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.compare__head p { margin: 0; font-size: 14px; }
.compare__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 900px) { .compare__grid { grid-template-columns: 1fr; } }
.compare__item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.compare__item--hl {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
}
.compare__tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--good);
  background: rgba(93, 214, 165, 0.12);
  border: 1px solid rgba(93, 214, 165, 0.4);
  border-radius: 999px;
  margin-bottom: 10px;
}
.compare__item h4 {
  margin: 0 0 4px;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.compare__item p { margin: 0 0 10px; font-size: 14px; color: #c9d2dc; }
.compare__item .bulleted { font-size: 13px; }
.compare__note {
  margin: 18px 0 6px;
  font-size: 13px;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  text-align: center;
}
.compare__blog {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.compare__blog a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Press grid ---------- */
.press {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 4px;
}
@media (max-width: 900px) { .press { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .press { grid-template-columns: 1fr; } }

.press__item {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s ease, transform 0.08s ease;
}
.press__item:hover { border-color: var(--accent); transform: translateY(-1px); }
.press__item--wire {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), transparent 70%), var(--bg-elev);
}
.press__item--com {
  border-style: dashed;
}
.press__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.press__date {
  font-family: var(--mono);
  letter-spacing: 0.02em;
  font-weight: 700;
}
.press__badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
}
.press__h {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.press__h a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}
.press__h a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.press__note {
  margin: 0;
  font-size: 13px;
  color: #c9d2dc;
  line-height: 1.55;
}
.press__hint {
  margin: 22px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  padding: 14px 18px;
  background: var(--bg-elev);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
}

/* ---------- Share grid ---------- */
.share {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 4px;
}
.share__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.12s ease, transform 0.08s ease, background 0.12s ease;
  text-align: center;
  line-height: 1.1;
}
.share__btn:hover {
  border-color: var(--accent);
  background: rgba(240, 180, 60, 0.06);
}
.share__btn:active { transform: translateY(1px); }
.share__ico {
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}
@media (max-width: 720px) {
  .share { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .share { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 18px;
  color: var(--accent);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: #c9d2dc; }

/* ---------- Contact ---------- */
.contact { text-align: center; max-width: 720px; margin: 0 auto; }
.contact h2 { margin: 0 0 10px; font-size: 22px; }
.contact__list { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-direction: column; gap: 6px; }
.contact__list a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer {
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer__wrap { color: var(--muted); font-size: 13px; text-align: center; }
.footer__wrap p { margin: 4px 0; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.modal[hidden] { display: none; }
.modal__panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 680px;
  width: 100%;
  max-height: 80vh;
  overflow: auto;
  position: relative;
}
.modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  color: var(--muted);
  border: none;
  font-size: 26px;
  cursor: pointer;
}
.modal__pre {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  white-space: pre-wrap;
  word-break: keep-all;
  font-family: "Pretendard Variable", "Pretendard", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  margin: 14px 0 18px;
}
.modal__row { display: flex; justify-content: flex-end; }

/* ============================================================
   청원 섹션 (#petitions)
   ============================================================ */
.section--petitions {
  background:
    radial-gradient(900px 400px at 20% 0%, rgba(240, 180, 60, 0.08), transparent 70%),
    var(--bg);
}

.pets {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}

.pet {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.pet__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  margin-bottom: 14px;
}
@media (max-width: 720px) {
  .pet__head { grid-template-columns: 1fr; }
}

.pet__tag {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  padding: 4px 10px;
  background: var(--accent-soft);
  border-radius: 999px;
}
.pet__title {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.pet__meta { margin: 0; font-size: 13px; color: var(--muted); }

.pet__agree {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  padding: 14px 18px;
  background: var(--accent);
  color: #1a1304;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.12s ease, background 0.12s ease;
  box-shadow: 0 8px 24px rgba(240, 180, 60, 0.25);
}
.pet__agree:hover { background: #ffc24d; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(240, 180, 60, 0.35); }
.pet__agree.is-placeholder {
  background: var(--bg);
  color: var(--muted);
  border: 2px dashed var(--line);
  box-shadow: none;
}
.pet__agree.is-placeholder:hover { border-color: var(--accent); color: var(--accent); transform: none; }
.pet__agreeNum {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(26, 19, 4, 0.15);
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 14px;
}
.pet__agree.is-placeholder .pet__agreeNum { background: var(--accent-soft); color: var(--accent); }
.pet__agreeLb { font-size: 14px; line-height: 1.2; text-align: left; }
.pet__agreeLb small { display: block; font-weight: 500; font-size: 11px; opacity: 0.8; margin-top: 2px; }

.pet__details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  background: var(--bg);
  margin-bottom: 14px;
}
.pet__details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.pet__details summary::-webkit-details-marker { display: none; }
.pet__details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent);
  font-size: 18px;
}
.pet__details[open] summary::after { content: "−"; }
.pet__body {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 14.5px;
  line-height: 1.8;
  color: #c9d2dc;
}
.pet__body p { margin: 0 0 14px; }
.pet__body ul, .pet__body ol { margin: 10px 0 14px; padding-left: 22px; }
.pet__body li { margin: 6px 0; }
.pet__body strong { color: var(--text); }

.pet__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pet__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: var(--accent);
  color: #1a1304;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
}
.pet__btn:hover { background: #ffc24d; }
.pet__btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.pet__btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* 청원 필드 구조 (제목·취지·이유/내용·태그) */
.pet__legalNote {
  margin: 14px 0 16px;
  padding: 12px 14px;
  background: rgba(93, 214, 165, 0.08);
  border: 1px solid rgba(93, 214, 165, 0.35);
  border-radius: 10px;
  color: #c9d2dc;
  font-size: 13.5px;
  line-height: 1.7;
}
.pet__flag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--good);
  background: rgba(93, 214, 165, 0.12);
  border: 1px solid rgba(93, 214, 165, 0.4);
  border-radius: 999px;
}
.pet__flagLive {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
  color: #1a1304;
  background: var(--accent);
  border-radius: 999px;
  letter-spacing: 0.02em;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 180, 60, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(240, 180, 60, 0); }
}

/* 등록 완료된 청원 카드 강조 */
.pet--live {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft), 0 12px 40px rgba(240, 180, 60, 0.15);
  position: relative;
  overflow: hidden;
}
.pet--live::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #ffc24d, var(--accent));
}

.pet__agree--live {
  background: var(--accent) !important;
  color: #1a1304 !important;
  border: none !important;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

.pet__summary {
  margin: 14px 0 16px;
  padding: 16px 18px;
  background: var(--accent-soft);
  border: 1px solid rgba(240, 180, 60, 0.3);
  border-radius: 10px;
}
.pet__summary p { margin: 0 0 6px; line-height: 1.7; color: #c9d2dc; font-size: 14.5px; }
.pet__summary p:last-child { margin: 0; }
.pet__summary strong { color: var(--text); }
.pet__summary .muted { font-size: 12.5px; }

.pet__btn--primary {
  background: var(--accent);
  color: #1a1304;
  font-weight: 800;
  padding: 12px 22px;
  box-shadow: 0 6px 20px rgba(240, 180, 60, 0.3);
}
.pet__btn--primary:hover { background: #ffc24d; transform: translateY(-1px); }

/* 단계별 가이드 (steps) */
.steps {
  list-style: none;
  padding: 0;
  margin: 16px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #1a1304;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 14px;
  flex: 0 0 auto;
  margin-top: 2px;
}
.step__body h4 {
  margin: 0 0 6px;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.step__body p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.7;
  color: #c9d2dc;
}
.step__body .bulleted { margin: 8px 0; font-size: 13.5px; }
.step__body .bulleted li { margin: 3px 0; }
.step__copy {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.step__copy code {
  flex: 1 1 200px;
  min-width: 0;
  padding: 10px 12px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  word-break: keep-all;
}
.step__copy button { flex: 0 0 auto; }

.step--hl {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), transparent 60%), var(--bg);
  box-shadow: 0 0 0 1px var(--accent-soft);
}
.step--hl .step__num {
  background: var(--accent);
  color: #1a1304;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.step__limit {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  letter-spacing: 0.02em;
  vertical-align: 2px;
}

@media (max-width: 560px) {
  .step { grid-template-columns: 32px 1fr; gap: 10px; padding: 12px 14px; }
  .step__num { width: 28px; height: 28px; font-size: 13px; }
  .step__copy button { width: 100%; }
}

.petfld {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px 16px;
  background: var(--bg);
  margin-bottom: 10px;
}
.petfld--note {
  background: rgba(240, 180, 60, 0.06);
  border-style: dashed;
  color: #c9d2dc;
  font-size: 13.5px;
  line-height: 1.7;
}
.petfld__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.petfld__head > button {
  margin-left: auto;
  flex: 0 0 auto;
}
.petfld__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 800;
  font-size: 13px;
  flex: 0 0 auto;
}
.petfld__label {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.petfld__head small { display: block; font-size: 11.5px; margin-top: 1px; }
.petfld__head code {
  background: var(--bg-elev);
  color: var(--accent);
  padding: 0 4px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11.5px;
}
.petfld__text {
  margin: 0;
  padding: 12px 14px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-wrap;
  color: #c9d2dc;
}
.petfld__text--tags {
  font-family: var(--mono);
  letter-spacing: 0.02em;
  font-size: 13.5px;
}
.petfld__bytes {
  display: block;
  text-align: right;
  margin-top: 6px;
  font-size: 11.5px;
  font-family: var(--mono);
  color: var(--muted);
}
.petfld__bytes.is-warn { color: var(--danger); font-weight: 700; }

@media (max-width: 560px) {
  .petfld { padding: 12px 14px; }
  .petfld__head { gap: 10px; }
  .petfld__head > button { width: 100%; order: 99; margin: 6px 0 0; }
}

.pets__howto {
  max-width: 960px;
  margin: 22px auto 0;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--muted);
  background: var(--bg-elev);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  text-align: center;
  line-height: 1.7;
}
.pets__howto a { color: var(--accent); text-decoration: underline; }

@media (max-width: 560px) {
  .pet { padding: 20px; }
  .pet__title { font-size: 17px; }
  .pet__agree { min-width: 0; width: 100%; justify-content: flex-start; }
  .pet__actions .pet__btn { flex: 1 1 48%; }
}

/* ============================================================
   예시 탄원서 12편 (#examples)
   ============================================================ */
.section--examples {
  background:
    radial-gradient(900px 400px at 60% 0%, rgba(93, 214, 165, 0.06), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
}

.examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
}
@media (max-width: 900px) { .examples { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .examples { grid-template-columns: 1fr; } }

.example {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.12s ease, transform 0.08s ease, box-shadow 0.12s ease;
}
.example:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.example__head { display: flex; flex-direction: column; gap: 4px; }
.example__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-family: var(--mono);
}
.example__h {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--text);
}
.example__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #c9d2dc;
  flex: 1 1 auto;
  white-space: pre-wrap;
  word-break: keep-all;
}
.example__btn {
  align-self: flex-start;
  padding: 8px 14px;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.1s ease, border-color 0.1s ease;
}
.example__btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.examples__hint {
  max-width: 900px;
  margin: 22px auto 0;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(255, 107, 107, 0.08);
  border: 1px dashed rgba(255, 107, 107, 0.3);
  border-radius: var(--radius-sm);
  text-align: center;
  line-height: 1.7;
}
.examples__hint strong { color: #ffb0b0; }

/* Pinned 탄원 배지 (board + submit inline) */
.boardItem--pinned {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(240,180,60,0.06), transparent 80%), var(--bg-elev);
  position: relative;
}
.boardItem__pin {
  position: absolute;
  top: -8px;
  left: 16px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #1a1304;
  background: var(--accent);
  border-radius: 999px;
}

/* ============================================================
   탄원서 제출 게시판 (#submit)
   ============================================================ */
.section--submit {
  background:
    radial-gradient(900px 400px at 80% 0%, rgba(93, 214, 165, 0.08), transparent 70%),
    var(--bg-alt);
}

.petform {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
}
.petform__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 560px) { .petform__row { grid-template-columns: 1fr; } }

.petform__label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.petform__label span em { color: var(--accent); font-style: normal; margin-left: 2px; }
.petform__label small { font-size: 12px; margin-left: 4px; }
.petform__label input[type="text"],
.petform__label textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.1s ease, box-shadow 0.1s ease;
  width: 100%;
}
.petform__label textarea {
  resize: vertical;
  min-height: 180px;
  line-height: 1.7;
}
.petform__label input:focus,
.petform__label textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.petform__hint {
  text-align: right;
  font-size: 12px;
  margin-top: -2px;
}

.petform__label--file .petform__fileBox {
  position: relative;
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  background: var(--bg);
  transition: border-color 0.12s ease, background 0.12s ease;
}
.petform__label--file .petform__fileBox:hover,
.petform__label--file .petform__fileBox.is-drag {
  border-color: var(--accent);
  background: rgba(240, 180, 60, 0.05);
}
.petform__fileBox input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.petform__fileInner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}
.petform__fileIco { font-size: 28px; line-height: 1; margin-bottom: 4px; }

.petform__filePreview {
  margin-top: 10px;
}
.petform__previewItem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.petform__previewItem img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 56px;
}
.petform__previewIco {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 8px;
  font-size: 24px;
  flex: 0 0 56px;
}
.petform__previewMeta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.petform__previewMeta strong {
  color: var(--text);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.petform__previewMeta small { color: var(--muted); font-size: 12px; }
.petform__previewRm {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
}
.petform__previewRm:hover { color: var(--danger); }

.petform__agree {
  display: block;
}
.petform__agree label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #c9d2dc;
  cursor: pointer;
  line-height: 1.6;
}
.petform__agree input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.petform__submit {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.petform__submit .btn--primary { min-width: 180px; }
.petform__status {
  font-size: 14px;
  font-weight: 600;
}
.petform__status[data-kind="err"]  { color: var(--danger); }
.petform__status[data-kind="ok"]   { color: var(--good); }
.petform__status[data-kind="info"] { color: var(--muted); }

.petform__note {
  margin: 0;
  padding: 12px 14px;
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 10px;
  font-size: 13px;
  color: #ffb0b0;
}

.petform__recent {
  max-width: 720px;
  margin: 22px auto 0;
  padding: 18px 22px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.petform__recent h3 { margin: 0 0 10px; font-size: 14px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.petform__recent ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.petform__recent li { font-size: 14px; color: #c9d2dc; }

/* honeypot */
.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

/* 모바일 폼 압축 */
@media (max-width: 560px) {
  .petform { padding: 20px; border-radius: 14px; }
  .petform__label input, .petform__label textarea { font-size: 15.5px; padding: 12px; }
  .petform__label textarea { min-height: 160px; }
  .petform__submit .btn { width: 100%; }
  .petform__submit { flex-direction: column; align-items: stretch; }
  .petform__status { text-align: center; }
}

/* ============================================================
   게시판 페이지 (/board)
   ============================================================ */
.boardHead {
  max-width: 900px;
  margin: 0 auto 22px;
  text-align: center;
}
.boardHead__count {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.boardList {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.boardItem {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
}
.boardItem__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  font-family: var(--mono);
}
.boardItem__body { min-width: 0; }
.boardItem__meta {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.boardItem__name { font-weight: 700; color: var(--text); font-size: 15px; }
.boardItem__rel {
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 999px;
}
.boardItem__date { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.boardItem__text {
  color: #c9d2dc;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
}
.boardItem__file {
  font-size: 12px;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  align-self: center;
}
.boardPager {
  max-width: 900px;
  margin: 22px auto 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.boardPager button {
  background: var(--bg-elev);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  min-width: 44px;
}
.boardPager button[aria-current="true"] {
  background: var(--accent);
  color: #1a1304;
  border-color: transparent;
}
.boardPager button:disabled { opacity: 0.4; cursor: not-allowed; }

@media (max-width: 560px) {
  .boardItem { grid-template-columns: auto 1fr; padding: 14px; }
  .boardItem__file { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- a11y helpers ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection { background: var(--accent); color: #1a1304; }

/* ============================================================
   Mobile drawer (햄버거/그리드 메뉴 · 우측 슬라이드)
   ============================================================ */
.menuBtn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 12px 8px 10px;
  background: var(--bg-elev);
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: border-color 0.12s ease, background 0.12s ease, transform 0.08s ease;
  margin-left: auto;
}
.menuBtn:hover { border-color: var(--accent); }
.menuBtn:active { transform: scale(0.97); }
.menuBtn__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--accent-soft);
}
.menuBtn__lb { line-height: 1; }

@media (max-width: 720px) {
  .menuBtn { display: inline-flex; }
  .top__cta { display: none; }
}

/* ---------- Drawer backdrop ---------- */
.drawerBackdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.drawerBackdrop[hidden] { display: none; }
.drawerBackdrop.is-open { opacity: 1; }

/* ---------- Drawer ---------- */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 90vw);
  z-index: 201;
  background: var(--bg);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.55);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top);
}
.drawer[hidden] { display: none; }
.drawer.is-open { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.drawer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.drawer__brandMark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 22px;
  flex: 0 0 auto;
}
.drawer__brandName {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.drawer__brandSub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.drawer__close {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
  flex: 0 0 auto;
}
.drawer__close:hover { color: var(--text); background: var(--bg-elev); }

.drawer__nav {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 10px 8px 20px;
  -webkit-overflow-scrolling: touch;
}
.drawer__section { padding: 8px 12px; }
.drawer__section + .drawer__section {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 14px;
}
.drawer__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  padding: 8px 12px 6px;
}
.drawer__section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.drawer__section a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 0.12s ease, color 0.12s ease;
  min-height: 48px;
}
.drawer__section a:hover,
.drawer__section a:focus-visible {
  background: var(--accent-soft);
  color: var(--accent);
  outline: none;
}
.drawer__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--bg-elev);
  color: var(--accent);
  font-size: 16px;
  flex: 0 0 auto;
}

.drawer__footer {
  padding: 14px 18px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}
.drawer__cta {
  width: 100%;
  min-height: 48px;
  justify-content: center;
}

/* body scroll lock helper */
body.drawer-open { overflow: hidden; }

/* 태블릿에서도 메뉴 버튼 유지하되 드로어 폭만 조정 */
@media (min-width: 721px) {
  .drawer { width: 380px; }
}

/* 폴드5 커버(극좁) — 드로어가 화면 거의 전체 사용 */
@media (max-width: 380px) {
  .drawer { width: 92vw; }
  .drawer__head { padding: 14px 16px; }
  .drawer__nav { padding: 8px 6px 16px; }
  .drawer__section { padding: 6px 10px; }
  .drawer__section a { font-size: 15px; padding: 11px 10px; }
  .drawer__brandMark { width: 40px; height: 40px; font-size: 20px; }
  .drawer__brandName { font-size: 15px; }
}

/* reduced-motion — 애니메이션 최소화 */
@media (prefers-reduced-motion: reduce) {
  .drawer { transition: none; }
  .drawerBackdrop { transition: none; }
}

/* ============================================================
   Floating share button (우측 하단 · 데스크톱/태블릿)
   ============================================================ */
.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.fab__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px 14px 16px;
  background: var(--accent);
  color: #1a1304;
  border: none;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(240, 180, 60, 0.35), 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s ease, background 0.12s ease;
}
.fab__trigger:hover {
  background: #ffc24d;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(240, 180, 60, 0.45), 0 6px 16px rgba(0, 0, 0, 0.5);
}
.fab__trigger:active { transform: translateY(0); }
.fab__trigger-ico { font-size: 18px; line-height: 1; }
.fab__trigger-label { line-height: 1; }
.fab[data-open="true"] .fab__trigger { background: var(--bg-elev); color: var(--accent); border: 1px solid var(--accent); }
.fab[data-open="true"] .fab__trigger-ico { content: "×"; }

.fab__menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 8px 20px rgba(0, 0, 0, 0.35);
  transform-origin: bottom right;
  transform: scale(0.9) translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 180px;
}
.fab[data-open="true"] .fab__menu {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.fab__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: transparent;
  color: var(--text);
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background 0.1s ease, color 0.1s ease;
  width: 100%;
}
.fab__item:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.fab__ico {
  width: 28px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

/* 모바일(≤560px)에서는 하단 mbar가 같은 역할이라 FAB 숨김 */
@media (max-width: 560px) {
  .fab { display: none; }
}

/* 노치 있는 화면 안전 영역 */
@supports (padding: max(0px)) {
  .fab {
    right: max(24px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
  }
}

/* ============================================================
   Mobile bottom action bar (sticky)
   폴드5 커버(~376px)·일반 모바일에서 노출, 데스크톱에서는 숨김
   ============================================================ */
.mbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(13, 17, 23, 0.94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.35);
}
.mbar__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 52px;
  padding: 6px 4px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.1;
  transition: transform 0.08s ease, background 0.12s ease, border-color 0.12s ease;
}
.mbar__btn:active { transform: scale(0.97); }
.mbar__btn--primary {
  background: var(--accent);
  color: #1a1304;
  border-color: transparent;
}
.mbar__ico { font-size: 18px; line-height: 1; }
.mbar__lb { font-size: 11px; letter-spacing: 0.02em; }

/* ============================================================
   모바일 세밀 조정 (≤ 560px — 폴드5 커버·일반폰)
   ============================================================ */
@media (max-width: 560px) {
  html { -webkit-text-size-adjust: 100%; }
  body { font-size: 15.5px; line-height: 1.7; }

  /* 하단 바 노출 + 본문 여백 */
  .mbar { display: grid; }
  main { padding-bottom: 76px; }
  .footer { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }

  /* 상단 바 압축 */
  .top__wrap { height: 56px; gap: 10px; }
  .brand__name { font-size: 14px; letter-spacing: -0.01em; }
  .brand__mark { font-size: 20px; }
  .top__cta { display: none; } /* 하단 바로 대체 */
  .wrap { padding: 0 16px; }

  /* 섹션 여백 재조정 */
  .section { padding: 56px 0; }
  .section--contact { padding: 40px 0; }
  .section__head { margin-bottom: 28px; }

  /* 히어로 */
  .hero { padding: 40px 0 36px; }
  .hero__eyebrow {
    font-size: 11px;
    padding: 5px 10px;
    margin-bottom: 16px;
  }
  .hero__title {
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
  }
  .hero__kw {
    display: inline-block;
    padding: 0 5px;
    font-size: 32px;
    background: linear-gradient(180deg, transparent 50%, rgba(240,180,60,0.42) 50%);
  }
  .hero__lead { font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
  .hero__ctas { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 28px; }
  .hero__ctas .btn { width: 100%; min-height: 48px; font-size: 15px; }
  .btn--lg { padding: 14px 18px; }
  .hero__stats { padding: 14px; gap: 10px; border-radius: 12px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stats div dt { font-size: 11px; margin-bottom: 4px; }
  .hero__stats div dd { font-size: 14px; }

  /* 카드·그리드 공통 */
  .card { padding: 20px; border-radius: 12px; }
  .card__h { font-size: 17px; margin-bottom: 12px; }
  .grid { gap: 14px; }

  /* 섹션 타이틀 */
  .section__head h2 { font-size: 26px; line-height: 1.3; }
  .eyebrow { font-size: 12px; }
  .section__lead { font-size: 14px; }

  /* 구속 섹션 */
  .section--detention { padding: 60px 0; }

  /* 타임라인 */
  .timeline__body { padding: 14px 16px; }
  .timeline__body h3 { font-size: 15px; }
  .timeline__body p { font-size: 14px; }

  /* 언론 보도 — 모바일 카드 컴팩트 */
  .press { gap: 10px; }
  .press__item { padding: 16px; border-radius: 12px; }
  .press__h { font-size: 15px; }
  .press__note { font-size: 13px; }
  .press__hint { font-size: 13px; margin-top: 18px; padding: 12px 14px; }

  /* 비교 카드 */
  .compare { padding: 20px; }
  .compare__head h3 { font-size: 17px; }
  .compare__item { padding: 16px; }
  .compare__item h4 { font-size: 15px; }

  /* 액션 섹션 */
  .actions { gap: 12px; }
  .action { padding: 20px; border-radius: 14px; }
  .action__h { font-size: 17px; }
  .action__sub { font-size: 13px; }
  .action__num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 14px;
  }
  .action__btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 15px;
    justify-content: center;
  }
  .action__row { flex-direction: column; gap: 8px; }
  .action__row .action__btn { width: 100%; }

  /* 영치금 박스 */
  .deposit { padding: 14px 16px; flex-direction: column; align-items: stretch; gap: 12px; }
  .deposit dl { grid-template-columns: 1fr; gap: 4px 0; }
  .deposit dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
  .deposit dl > div:last-child { border-bottom: none; }
  .deposit dd { font-size: 13px; word-break: break-all; }
  .deposit__copy { width: 100%; min-height: 44px; }

  /* 공유 그리드 */
  .share {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .share__btn {
    padding: 12px 4px;
    border-radius: 12px;
    min-height: 72px;
  }
  .share__ico { font-size: 20px; }
  .share__btn span:last-child { font-size: 11px; letter-spacing: -0.01em; }

  /* FAQ */
  .faq details { padding: 14px 16px; border-radius: 12px; }
  .faq summary { font-size: 14.5px; }
  .faq details p { font-size: 14px; }

  /* 배지·기타 */
  .badge { font-size: 10px; padding: 3px 7px; }
  .callout { padding: 20px; border-radius: 12px; }
  .profile__quote { font-size: 15px; }

  /* 모달 */
  .modal__panel { padding: 18px; border-radius: 14px; }
  .modal__pre { font-size: 13px; line-height: 1.7; padding: 14px; }
}

/* 폴드5 커버보다 더 좁거나 극단적 비율(<=380px) */
@media (max-width: 380px) {
  .hero__title { font-size: 26px; }
  .hero__kw { font-size: 28px; }
  .hero__lead { font-size: 14.5px; }
  .section__head h2 { font-size: 22px; }
  .share { grid-template-columns: repeat(3, 1fr); }
  .share__btn { min-height: 68px; }
  .card { padding: 18px; }
  .action { padding: 18px; }
  .wrap { padding: 0 14px; }
  .mbar__btn { height: 48px; }
  .mbar__ico { font-size: 16px; }
  .mbar__lb { font-size: 10.5px; }
}

/* 폴드5 언폴드 상태(~585~700px) — 내용이 너무 넓어지지 않게 가독성 폭 유지 */
@media (min-width: 561px) and (max-width: 900px) {
  .section__head { max-width: 640px; }
  .timeline { max-width: 640px; }
}

/* 가로 모드·태블릿 여백 */
@media (max-width: 900px) and (orientation: landscape) {
  .hero { padding: 40px 0 32px; }
  .section { padding: 60px 0; }
}

/* 접근성 — 포커스 링 */
.mbar__btn:focus-visible,
.share__btn:focus-visible,
.action__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* 링크 언더라인은 모바일에서 너무 진한 경우 줄이기 */
@media (max-width: 560px) {
  .bulleted--links li a { text-underline-offset: 2px; }
  .press__h a { text-decoration-thickness: 1px; }
}

/* 다크/라이트 모션 저감 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
