/* ══════════════════════════════════════════════════════════════
   히트 브레이크 온라인 체험관 — 스타일
   폰트 규칙: 제목·숫자 = Paperlogy(자체 호스팅 서브셋) / 본문 = Pretendard
   대비 기준: 본문 4.5:1 이상 (다크 배경 #08171a 기준으로 계산해 둠)
   ══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'PaperlogyHead';
  src: url('fonts/paperlogy-9black.subset.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg:      #08171a;
  --bg-2:    #0b1f24;
  --surf:    #102a30;
  --surf-2:  #16373f;
  --line:    #24474f;
  --line-2:  #2f5a63;

  --teal:    #3aa7b4;
  --teal-lt: #7fd4dd;
  --hot:     #ff7a33;
  --hot-lt:  #ffa86c;
  --warn:    #ffc857;
  --good:    #5ad1a5;
  --bad:     #ff6b6b;

  --txt:     #eaf5f5;   /* 17.1:1 */
  --txt-mid: #adc7cb;   /*  9.8:1 */
  --txt-dim: #86a2a7;   /*  6.0:1 */

  --head: 'PaperlogyHead', 'Paperlogy 9', Pretendard, system-ui, sans-serif;
  --body: Pretendard, 'Pretendard Variable', system-ui, -apple-system, 'Malgun Gothic', sans-serif;

  --r:   14px;
  --r-s: 10px;
  --pad: clamp(16px, 4vw, 28px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 68px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  word-break: keep-all;
}

h1, h2, h3 { font-family: var(--head); font-weight: 900; line-height: 1.14; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
b, strong { font-weight: 700; color: var(--txt); }
em { font-style: normal; }
a { color: inherit; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 28px); }
.hot { color: var(--hot); }
.only-wide { display: none; }
@media (min-width: 720px) { .only-wide { display: inline; } }

/* ───────── 상단 바 ───────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 14px;
  padding: 10px clamp(14px, 4vw, 28px);
  background: rgba(8, 23, 26, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.brand-mark {
  width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--hot) 0%, var(--hot) 46%, var(--teal) 54%, var(--teal) 100%);
}
.brand-text { font-family: var(--head); font-size: 16px; line-height: 1.05; display: flex; flex-direction: column; }
.brand-text em { font-family: var(--body); font-weight: 500; font-size: 10.5px; color: var(--txt-dim); letter-spacing: 0; }

.topnav { margin-left: auto; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.topnav::-webkit-scrollbar { display: none; }
.topnav a {
  display: flex; align-items: center; min-height: 44px; padding: 0 11px;
  font-size: 14px; font-weight: 600; color: var(--txt-mid); text-decoration: none;
  border-radius: 8px; white-space: nowrap;
}
.topnav a:hover { color: var(--txt); background: var(--surf); }
.topnav a.is-key { color: var(--hot-lt); }

/* ───────── 히어로 ───────── */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 11vw, 104px) 0 clamp(36px, 7vw, 72px); }
.hero-glow {
  position: absolute; inset: -30% -20% auto -20%; height: 130%;
  background:
    radial-gradient(52% 46% at 78% 12%, rgba(255,122,51,.30), transparent 68%),
    radial-gradient(46% 44% at 12% 6%, rgba(58,167,180,.24), transparent 66%);
  pointer-events: none;
}
.hero-inner { position: relative; width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 28px); }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .09em; color: var(--teal-lt);
  text-transform: none; margin-bottom: 14px;
}
.hero-title { font-size: clamp(2.35rem, 8.6vw, 4.6rem); margin-bottom: 20px; }
.hero-lead { font-size: clamp(15px, 2.4vw, 18px); color: var(--txt-mid); max-width: 60ch; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 22px; border: 0; border-radius: 999px;
  font-family: var(--body); font-size: 15px; font-weight: 700; text-decoration: none;
  cursor: pointer; transition: transform .12s ease, filter .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-hot { background: var(--hot); color: #1b0d03; }
.btn-hot:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--txt); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { background: var(--surf); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; max-width: 620px; }
.hero-stats > div { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r-s); padding: 12px 12px 10px; }
.hero-stats dt { font-size: 11.5px; color: var(--txt-dim); line-height: 1.35; margin-bottom: 4px; }
.hero-stats dd { margin: 0; font-family: var(--head); font-size: clamp(21px, 5.6vw, 30px); line-height: 1; color: var(--txt); }
.hero-stats dd span { font-family: var(--body); font-size: 12px; font-weight: 600; color: var(--txt-dim); margin-left: 3px; }

/* ───────── 섹션 공통 ───────── */
.sec { padding: clamp(46px, 9vw, 92px) 0; border-top: 1px solid var(--line); }
.sec-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .09em; color: var(--teal); margin-bottom: 10px; }
.sec-title { font-size: clamp(1.72rem, 5.4vw, 2.85rem); margin-bottom: 16px; }
.sec-lead { font-size: clamp(14.5px, 2.1vw, 17px); color: var(--txt-mid); max-width: 66ch; margin-bottom: 26px; }
/* 실제로 측정해서 알아낸 것 — 모형 예측과 구분되게 */
.found {
  background: rgba(90, 209, 165, .10); border: 1px solid rgba(90, 209, 165, .42);
  border-radius: var(--r-s); padding: 14px 16px; margin-bottom: 22px;
  font-size: 14.5px; line-height: 1.65; color: var(--txt-mid); max-width: 72ch;
}
.found b { color: var(--good); }
.footnote { font-size: 12.5px; color: var(--txt-dim); line-height: 1.6; margin-top: 18px; }

/* ───────── 사고 사례 ───────── */
.chipbar { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.chip {
  min-height: 44px; padding: 0 15px; border-radius: 999px; cursor: pointer;
  background: var(--surf); border: 1px solid var(--line); color: var(--txt-mid);
  font-family: var(--body); font-size: 13.5px; font-weight: 600;
}
.chip.is-on { background: var(--teal); border-color: var(--teal); color: #04191c; }

.cases { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 660px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cases { grid-template-columns: repeat(3, 1fr); } }

.case {
  background: var(--surf); border: 1px solid var(--line); border-radius: var(--r);
  padding: 15px 16px 13px; display: flex; flex-direction: column; gap: 8px;
}
.case-top { display: flex; align-items: center; gap: 8px; }
.case-no { font-family: var(--head); font-size: 13px; color: var(--hot); }
.case-dev { font-size: 11.5px; font-weight: 700; color: #04191c; background: var(--teal-lt); border-radius: 999px; padding: 2px 9px; }
.case-h { font-size: 15px; font-weight: 700; line-height: 1.45; letter-spacing: -.01em; }
.case-meta { font-size: 12.5px; color: var(--txt-dim); line-height: 1.55; }
.case-meta b { color: var(--txt-mid); font-weight: 600; }
.case-state { font-size: 12.5px; color: var(--hot-lt); font-weight: 600; }
.case-src { font-size: 11.5px; color: var(--txt-dim); margin-top: auto; padding-top: 6px; border-top: 1px dashed var(--line); }

/* ───────── 실험실 ───────── */
.lab { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 940px) { .lab { grid-template-columns: 366px 1fr; align-items: start; } }

.lab-controls {
  background: var(--surf); border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--pad); display: flex; flex-direction: column; gap: 22px;
}
/* 그래프가 길어서 데스크톱에선 조작판이 따라오게 — 만지면서 곡선을 계속 본다 */
@media (min-width: 940px) { .lab-controls { position: sticky; top: 76px; } }
.ctrl label, .ctrl .lbl {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font-size: 14px; font-weight: 700; color: var(--txt); margin-bottom: 10px;
}
.ctrl label b, .ctrl .lbl b { font-family: var(--head); font-size: 19px; color: var(--hot); }
.hint { font-size: 12.5px; color: var(--txt-dim); line-height: 1.55; margin-top: 9px; }
.hint b { color: var(--txt-mid); }

input[type=range] {
  width: 100%; height: 44px; margin: 0; background: transparent;
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--surf-2); border: 1px solid var(--line-2); }
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--hot); border: 3px solid #0b1f24; margin-top: -11px;
}
input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--surf-2); border: 1px solid var(--line-2); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--hot); border: 3px solid #0b1f24; }
input[type=range]:focus-visible { outline: 2px solid var(--teal-lt); outline-offset: 4px; }

.segs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.segs-4 { grid-template-columns: repeat(4, 1fr); }
.segs-3 { grid-template-columns: repeat(3, 1fr); }
.segs-2 { grid-template-columns: repeat(2, 1fr); }
.seg {
  min-height: 56px; padding: 6px 3px; border-radius: var(--r-s); cursor: pointer;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--txt-mid);
  font-family: var(--body); font-size: 13px; font-weight: 700; line-height: 1.2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.seg em { font-size: 10px; font-weight: 500; color: var(--txt-dim); }
.seg.is-on { background: var(--teal); border-color: var(--teal); color: #04191c; }
.seg.is-on em { color: #0a353b; }

.ctrl-foot { display: flex; gap: 8px; flex-wrap: wrap; }
.ctrl-foot .btn { flex: 1 1 auto; }

.lab-view { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.cellview { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
.cellview svg { display: block; width: 100%; height: auto; }

.chartbox { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); padding: 14px var(--pad) 12px; }
.chart-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.legend { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--txt-mid); }
.lg { width: 16px; height: 3px; border-radius: 2px; display: inline-block; }
.lg-base { background: var(--txt-dim); }
.lg-mine { background: var(--hot); height: 4px; }
.spacer { flex: 1 1 auto; }
.tabs { display: flex; gap: 3px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.tab {
  min-height: 44px; padding: 0 15px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--txt-dim); font-family: var(--body); font-size: 13px; font-weight: 700;
}
.tab.is-on { background: var(--surf-2); color: var(--txt); }
.chart { display: block; width: 100%; height: clamp(200px, 34vw, 300px); }
.chart-cap { font-size: 12px; color: var(--txt-dim); margin-top: 6px; }

.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 430px) { .metrics { grid-template-columns: 1fr; } }
.metric { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r-s); padding: 13px 14px 11px; }
.m-label { font-size: 12px; color: var(--txt-dim); line-height: 1.35; }
.m-label em { display: block; font-size: 10.5px; opacity: .85; }
.m-value { font-family: var(--head); font-size: clamp(26px, 6vw, 34px); line-height: 1.05; margin-top: 6px; }
.m-value span { font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--txt-dim); margin-left: 3px; }
.m-delta { font-size: 12.5px; font-weight: 700; margin-top: 4px; color: var(--txt-dim); }
.m-delta.good { color: var(--good); }
.m-delta.bad  { color: var(--bad); }

.warnbox {
  background: rgba(255, 200, 87, .11); border: 1px solid rgba(255, 200, 87, .45);
  border-radius: var(--r-s); padding: 12px 14px; font-size: 13.5px; color: var(--warn); line-height: 1.55;
}
.warnbox b { color: var(--warn); }

.lab-share {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); padding: 13px var(--pad);
}
.verdict { flex: 1 1 220px; font-size: 14px; font-weight: 600; color: var(--txt-mid); line-height: 1.5; }
.verdict b { color: var(--hot-lt); }

.disclose { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); }
.lab-controls .disclose { margin: -6px calc(var(--pad) * -1 + 8px) calc(var(--pad) * -1 + 8px); }
.lab-controls .disclose summary { padding: 14px 16px; font-size: 13.5px; }
.lab-controls .disclose > div { padding: 0 16px 16px; font-size: 13px; }
.disclose summary {
  cursor: pointer; padding: 15px var(--pad); font-size: 14px; font-weight: 600; color: var(--txt-mid);
  list-style: none; min-height: 48px; display: flex; align-items: center;
}
.disclose summary::-webkit-details-marker { display: none; }
.disclose summary::before { content: '＋'; margin-right: 9px; color: var(--teal-lt); font-weight: 700; }
.disclose[open] summary::before { content: '－'; }
.disclose summary b { color: var(--hot-lt); }
.disclose > div { padding: 0 var(--pad) 18px; font-size: 13.5px; color: var(--txt-mid); line-height: 1.7; }
.disclose ul { margin: 12px 0; padding-left: 18px; display: grid; gap: 8px; }

/* ───────── 연구 ───────── */
.steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 700px)  { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); padding: var(--pad); }
.step-no { font-family: var(--head); font-size: 13px; color: var(--teal-lt); display: block; margin-bottom: 8px; }
.steps h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.3; }
.steps p { font-size: 13.5px; color: var(--txt-mid); line-height: 1.65; }

.honest { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: var(--pad); }
.honest h3 { font-size: 18px; margin-bottom: 12px; }
.honest ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.honest li { font-size: 13.5px; color: var(--txt-mid); line-height: 1.65; padding-left: 14px; border-left: 2px solid var(--line-2); }
.honest li b { color: var(--hot-lt); }

/* ───────── 자가진단 ───────── */
.quiz { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.quiz-progress { height: 4px; background: var(--bg-2); }
.quiz-progress i { display: block; height: 100%; width: 0; background: var(--hot); transition: width .3s ease; }
.q-body { padding: var(--pad); }
.q-count { font-size: 12.5px; font-weight: 700; color: var(--teal-lt); margin-bottom: 10px; }
.q-text { font-size: clamp(17px, 3.4vw, 21px); font-weight: 700; line-height: 1.45; margin-bottom: 18px; letter-spacing: -.01em; }
.q-opts { display: grid; gap: 8px; }
.q-opt {
  min-height: 54px; padding: 13px 16px; text-align: left; cursor: pointer;
  background: var(--bg-2); border: 1.5px solid var(--line); border-radius: var(--r-s);
  color: var(--txt); font-family: var(--body); font-size: 15px; font-weight: 600;
}
.q-opt:hover { border-color: var(--line-2); background: var(--surf-2); }
.q-opt:disabled { cursor: default; }
.q-opt.pick-right { border-color: var(--good); background: rgba(90, 209, 165, .13); }
.q-opt.pick-wrong { border-color: var(--bad);  background: rgba(255, 107, 107, .13); }
.q-opt.show-right { border-color: var(--good); }

.q-why { margin-top: 14px; padding: 13px 15px; background: var(--bg-2); border-left: 3px solid var(--teal); border-radius: 0 var(--r-s) var(--r-s) 0; }
.q-why p { font-size: 13.5px; color: var(--txt-mid); line-height: 1.65; }
.q-why .tag { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--hot-lt); margin-bottom: 4px; }
.q-next { margin-top: 14px; display: flex; justify-content: flex-end; }

.q-result { padding: var(--pad); text-align: center; }
.q-grade { font-family: var(--head); font-size: clamp(2rem, 8vw, 3.2rem); line-height: 1.1; margin-bottom: 6px; }
.q-score { font-size: 15px; color: var(--txt-mid); margin-bottom: 18px; }
.q-score b { font-family: var(--head); font-size: 22px; color: var(--hot); }
.q-msg { font-size: 14.5px; color: var(--txt-mid); line-height: 1.7; max-width: 52ch; margin: 0 auto 20px; }
.q-missed { text-align: left; display: grid; gap: 8px; max-width: 560px; margin: 0 auto 20px; }
.q-missed li { font-size: 13.5px; color: var(--txt-mid); background: var(--bg-2); border-radius: var(--r-s); padding: 11px 14px; line-height: 1.6; list-style: none; }
.q-missed li b { color: var(--hot-lt); display: block; margin-bottom: 3px; font-size: 13px; }
.q-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
#shareCanvas { display: none; }

/* ───────── 점검단 ───────── */
.spot { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 940px) { .spot { grid-template-columns: 1fr 330px; align-items: start; } }

.spot-form { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); padding: var(--pad); display: flex; flex-direction: column; gap: 20px; }
.ctrl .lbl .sub { font-family: var(--body); font-weight: 500; font-size: 11.5px; color: var(--txt-dim); margin-left: 6px; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-s); padding: 12px 14px; }
.checks .q { font-size: 14.5px; font-weight: 600; line-height: 1.45; margin-bottom: 9px; }
.checks .q em { display: block; font-size: 12px; font-weight: 500; color: var(--txt-dim); margin-top: 3px; }
.checks .opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.checks .opt {
  min-height: 44px; border-radius: 8px; cursor: pointer; border: 1px solid var(--line);
  background: var(--surf); color: var(--txt-mid); font-family: var(--body); font-size: 13.5px; font-weight: 700;
}
.checks .opt.on-bad  { background: var(--bad);  border-color: var(--bad);  color: #2a0808; }
.checks .opt.on-good { background: var(--good); border-color: var(--good); color: #05231a; }
.checks .opt.on-idk  { background: var(--surf-2); border-color: var(--line-2); color: var(--txt); }

.spot-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.spot-foot .hint { flex: 1 1 200px; margin: 0; }

.spot-side { position: relative; }
.spot-agg { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); padding: var(--pad); }
/* 폼이 길어서 데스크톱에선 집계가 따라오게 — 채우는 동안 계속 보인다 */
@media (min-width: 940px) { .spot-agg { position: sticky; top: 76px; } }
.agg-title { font-size: 12.5px; color: var(--txt-dim); }
.agg-big { font-family: var(--head); font-size: clamp(34px, 9vw, 46px); line-height: 1.05; margin: 4px 0 14px; }
.agg-big span { font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--txt-dim); margin-left: 4px; }
.agg-rows { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.agg-rows li { font-size: 13px; color: var(--txt-mid); }
.agg-rows .lab { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.agg-rows .lab b { font-family: var(--head); font-size: 15px; color: var(--hot-lt); }
.agg-rows .bar { height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.agg-rows .bar i { display: block; height: 100%; background: var(--hot); border-radius: 3px; }
.agg-note { font-size: 12px; color: var(--txt-dim); line-height: 1.6; }
.agg-note b { color: var(--txt-mid); }

.spot-result { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 14px 16px; }
.spot-result h3 { font-size: 17px; margin-bottom: 6px; }
.spot-result p { font-size: 13.5px; color: var(--txt-mid); line-height: 1.6; }
.spot-result ul { margin: 8px 0 0; padding-left: 16px; display: grid; gap: 5px; }
.spot-result li { font-size: 13px; color: var(--txt-mid); line-height: 1.55; }

/* ───────── 자료 ───────── */
.kit { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .kit { grid-template-columns: 1fr 1fr; } }
.kit li {
  background: var(--surf); border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--pad); display: flex; gap: 14px; align-items: flex-start;
}
.kit-ico { width: 40px; height: 40px; border-radius: 9px; background: var(--surf-2); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }
.kit h3 { font-size: 16px; margin-bottom: 5px; }
.kit-meta { font-family: var(--body); font-weight: 600; font-size: 11.5px; color: var(--txt-dim); margin-left: 6px; letter-spacing: 0; }
.kit p { font-size: 13px; color: var(--txt-dim); line-height: 1.6; }
.kit .soon { display: inline-block; margin-top: 8px; font-size: 11.5px; font-weight: 700; color: var(--warn); background: rgba(255,200,87,.12); border: 1px solid rgba(255,200,87,.35); border-radius: 999px; padding: 3px 10px; }

.qrbox { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: var(--pad); display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.qr { width: 132px; height: 132px; background: #fff; border-radius: var(--r-s); padding: 8px; flex-shrink: 0; }
.qr svg, .qr canvas { display: block; width: 100%; height: 100%; }
.qrbox h3 { font-size: 17px; margin-bottom: 6px; }
.qrbox p { font-size: 13.5px; color: var(--txt-mid); line-height: 1.6; }
.qr-url { font-size: 13px; color: var(--teal-lt); word-break: break-all; margin: 8px 0 10px; }

/* ───────── 푸터 ───────── */
.foot { border-top: 1px solid var(--line); padding: clamp(34px, 6vw, 56px) 0 clamp(46px, 8vw, 70px); background: var(--bg-2); }
.foot-brand { font-family: var(--head); font-size: 19px; }
.foot-brand em { font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--txt-dim); display: block; margin-top: 3px; }
.foot-org { font-size: 13.5px; color: var(--txt-mid); margin: 12px 0 14px; }
.foot-note { font-size: 12px; color: var(--txt-dim); line-height: 1.65; max-width: 74ch; }

/* ───────── 토스트 ───────── */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: var(--surf-2); border: 1px solid var(--line-2); color: var(--txt);
  padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 100;
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
