/* ===================== Design Tokens ===================== */
:root {
  --bnk-red: #c8102e;
  --bnk-red-dark: #9e0c24;
  --ms-blue: #0067b8;
  --ms-blue-dark: #004a87;
  --navy: #11203a;
  --ink: #1a2333;
  --slate: #4a5568;
  --muted: #6b7688;
  --line: #e4e8ef;
  --line-soft: #eef1f6;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-card: #ffffff;
  --am: #0067b8;
  --pm: #c8102e;
  --break: #9aa4b4;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(17, 32, 58, 0.06), 0 2px 8px rgba(17, 32, 58, 0.05);
  --shadow-md: 0 8px 30px rgba(17, 32, 58, 0.10);
  --maxw: 1120px;
  --font: "Inter", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

/* ===================== Reset ===================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.25; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.brand-mark { color: var(--bnk-red); }
.brand-x { color: var(--muted); font-weight: 400; }
.brand-ms { color: var(--ms-blue); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--slate);
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.main-nav a.active { color: var(--bnk-red); background: rgba(200, 16, 46, 0.08); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 480px at 78% -10%, rgba(0, 103, 184, 0.14), transparent 60%),
    radial-gradient(900px 420px at 8% 8%, rgba(200, 16, 46, 0.12), transparent 58%),
    linear-gradient(180deg, #fbfcff 0%, #f4f7fc 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner { padding: 92px 24px 80px; }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bnk-red);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.3rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.hero-title span {
  background: linear-gradient(100deg, var(--bnk-red), var(--ms-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin-top: 22px;
  max-width: 620px;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--slate);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.meta-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  min-width: 150px;
}
.meta-card.highlight {
  border-color: rgba(200, 16, 46, 0.35);
  background: linear-gradient(180deg, #fff, #fff6f7);
}
.meta-label { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.meta-value { font-size: 1.25rem; font-weight: 800; color: var(--ink); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  border: 1px solid transparent;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, var(--bnk-red), var(--bnk-red-dark));
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(200, 16, 46, 0.34); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 6px 16px rgba(200, 16, 46, 0.26); }
.btn-ghost { color: var(--ink); background: #fff; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ms-blue); color: var(--ms-blue); }
.btn-ghost:active { transform: translateY(0); background: var(--bg-soft); }

/* ===================== Sections ===================== */
.section { padding: 84px 0; }
.section:nth-of-type(even) { background: var(--bg-soft); }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 900;
  color: var(--navy);
  margin-top: 6px;
}
.section-desc { margin-top: 14px; color: var(--slate); font-size: 1.02rem; }
.section-head .eyebrow { color: var(--ms-blue); }

/* ===================== Timeline ===================== */
.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 780px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--bnk-red), var(--ms-blue));
  opacity: 0.4;
}
.timeline-item { position: relative; padding: 0 0 36px 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ms-blue);
  box-shadow: 0 0 0 4px rgba(0, 103, 184, 0.12);
}
.timeline-item.active .timeline-dot {
  border-color: var(--bnk-red);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.16);
}
.timeline-date {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bnk-red);
  letter-spacing: 0.02em;
}
.timeline-body h3 { font-size: 1.2rem; font-weight: 800; margin: 4px 0 8px; color: var(--ink); }
.timeline-body p { color: var(--slate); font-size: 0.98rem; }

/* ===================== Agenda ===================== */
.agenda-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.agenda-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.agenda-table thead th {
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 11px 20px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.agenda-table td { padding: 9px 20px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; font-size: 0.96rem; }
.agenda-table tr:last-child td { border-bottom: none; }
.agenda-table .time { white-space: nowrap; font-weight: 600; color: var(--ink); font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.agenda-table .sess { font-weight: 700; color: var(--navy); min-width: 200px; }
.agenda-table tbody tr { position: relative; }
.agenda-table .agenda-am .sess { box-shadow: inset 3px 0 0 var(--am); padding-left: 17px; }
.agenda-table .agenda-pm .sess { box-shadow: inset 3px 0 0 var(--pm); padding-left: 17px; }

.agenda-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 24px;
  font-size: 0.88rem;
  color: var(--slate);
}
.agenda-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.dot-am { background: var(--am); }
.dot-pm { background: var(--pm); }

/* ===================== Resources ===================== */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.resource-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.resource-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 11px;
  background: linear-gradient(140deg, rgba(0, 103, 184, 0.13), rgba(0, 103, 184, 0.05));
  color: var(--ms-blue);
}
.resource-icon svg { width: 22px; height: 22px; display: block; }
.resource-card:hover .resource-icon {
  background: linear-gradient(140deg, rgba(0, 103, 184, 0.2), rgba(0, 103, 184, 0.08));
}
.resource-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(0, 103, 184, 0.4); }
.resource-card h3 { font-size: 1.04rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.resource-card p { font-size: 0.9rem; color: var(--slate); }
.resource-note {
  margin-top: 22px;
  padding: 16px 20px;
  background: rgba(0, 103, 184, 0.06);
  border: 1px solid rgba(0, 103, 184, 0.18);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--ms-blue-dark);
}

/* ===================== Q&A ===================== */
.qa-privacy {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 860px;
  margin: 0 auto 32px;
  padding: 18px 22px;
  background: linear-gradient(180deg, #fff, #fff7f8);
  border: 1px solid rgba(200, 16, 46, 0.25);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.qa-privacy-icon { font-size: 1.3rem; line-height: 1.4; }
.qa-privacy p { font-size: 0.94rem; color: var(--slate); }
.qa-privacy strong { color: var(--bnk-red); }
.qa-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 760px;
  margin: 32px auto 0;
  padding: 24px 28px 26px;
  background: linear-gradient(180deg, rgba(254, 229, 0, 0.34), rgba(254, 229, 0, 0.13));
  border: 1px solid rgba(60, 30, 30, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.qa-contact-icon { width: 58px; height: 58px; flex-shrink: 0; filter: drop-shadow(0 8px 14px rgba(60, 30, 30, 0.16)); }
.qa-contact p { margin: 0; font-size: 1rem; color: var(--slate); line-height: 1.6; }
.qa-contact strong { display: block; color: #3c1e1e; font-size: 1.08rem; font-weight: 800; }
.qa-contact span { display: block; margin-top: 4px; }
.qa-contact a { color: var(--ms-blue); font-weight: 600; text-decoration: none; }
.qa-contact a:hover { text-decoration: underline; }

.qa-controls { max-width: 860px; margin: 0 auto 26px; }
.qa-search input {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 0.98rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.qa-search input:focus {
  outline: none;
  border-color: var(--ms-blue);
  box-shadow: 0 0 0 4px rgba(0, 103, 184, 0.12);
}
.qa-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.qa-chip {
  padding: 7px 15px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--slate);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}
.qa-chip:hover { border-color: var(--ms-blue); color: var(--ms-blue); }
.qa-chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.qa-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.qa-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.qa-item.open { border-color: rgba(0, 103, 184, 0.4); box-shadow: var(--shadow-md); }
.qa-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
}
.qa-cat {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ms-blue);
  background: rgba(0, 103, 184, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.qa-q-text { flex: 1; font-size: 1rem; font-weight: 700; color: var(--ink); }
.qa-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  margin-top: 3px;
}
.qa-icon::before,
.qa-icon::after {
  content: "";
  position: absolute;
  background: var(--muted);
  border-radius: 2px;
  transition: transform 0.25s;
}
.qa-icon::before { top: 10px; left: 3px; width: 16px; height: 2px; }
.qa-icon::after { top: 3px; left: 10px; width: 2px; height: 16px; }
.qa-item.open .qa-icon::after { transform: rotate(90deg); opacity: 0; }
.qa-item.open .qa-icon::before { background: var(--bnk-red); }

.qa-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.qa-a-inner {
  padding: 0 22px 22px 22px;
  color: var(--slate);
  font-size: 0.96rem;
  border-top: 1px solid var(--line-soft);
  margin-top: 0;
  padding-top: 18px;
}
.qa-a-inner p { margin-bottom: 12px; }
.qa-a-inner p:last-child { margin-bottom: 0; }
.qa-a-inner ul { margin: 0 0 12px; padding-left: 20px; }
.qa-a-inner li { margin-bottom: 6px; }
.qa-a-inner strong { color: var(--ink); }
.qa-a-inner code {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 0.84em;
  color: var(--bnk-red-dark);
}
.qa-a-inner pre {
  background: #1c2030;
  color: #e7ebf3;
  border-radius: 12px;
  padding: 15px 17px;
  overflow-x: auto;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.83rem;
  line-height: 1.6;
}
.qa-a-inner pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.qa-example {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ms-blue);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0 0 12px;
}
.qa-example-label {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ms-blue);
  margin-bottom: 8px;
}
.qa-sources {
  margin: 4px 0 0;
  padding: 12px 0 0;
  border-top: 1px dashed var(--line);
  list-style: none;
}
.qa-sources li { position: relative; padding-left: 18px; margin-bottom: 6px; font-size: 0.9rem; }
.qa-sources li::before { content: "↗"; position: absolute; left: 0; color: var(--muted); }
.qa-sources-label { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.04em; color: var(--muted); }
.qa-support {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(200, 16, 46, 0.05);
  border: 1px solid var(--line);
  border-left: 3px solid var(--bnk-red);
  border-radius: 10px;
  padding: 13px 16px;
  margin: 12px 0 0;
}
.qa-support::before {
  content: "💬";
  font-size: 1rem;
  line-height: 1.5;
}
.qa-support p { margin: 0; font-size: 0.9rem; color: var(--slate); }

/* 접이식 참고 코드 */
.qa-code {
  margin: 0 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  overflow: hidden;
}
.qa-code > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate);
  user-select: none;
}
.qa-code > summary::-webkit-details-marker { display: none; }
.qa-code > summary::after {
  content: "펼치기 ▾";
  margin-left: auto;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
}
.qa-code[open] > summary::after { content: "접기 ▴"; }
.qa-code[open] > summary { border-bottom: 1px solid var(--line); }
.qa-code pre { margin: 0; border-radius: 0; }

/* 바이브 코딩 프롬프트 — GitHub Copilot Chat 입력창 모형 (다크) */
.qa-vibe { margin: 0 0 12px; }
.qa-vibe-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--ms-blue);
  margin-bottom: 8px;
}
.qa-vibe-hint {
  margin: 0 0 10px;
  padding: 8px 12px;
  background: rgba(0, 103, 184, 0.06);
  border: 1px solid rgba(0, 103, 184, 0.16);
  border-radius: 9px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--slate);
}
.qa-vibe-hint strong { color: var(--ms-blue-dark); font-weight: 700; }

/* ===== Pre-flight setup ===== */
.setup-voc {
  margin: 0 0 22px;
  padding: 16px 18px;
  background: rgba(0, 103, 184, 0.05);
  border-left: 3px solid var(--ms-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.6;
}
.setup-voc strong { color: var(--navy); font-weight: 700; }
.setup-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 24px;
}
.setup-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.setup-step .step-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: linear-gradient(140deg, var(--ms-blue), #0a84e0);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}
.setup-step h3 { font-size: 1rem; font-weight: 800; color: var(--navy); margin: 0 0 6px; }
.setup-step p { font-size: 0.88rem; color: var(--slate); line-height: 1.55; margin: 0; }
.setup-shot {
  margin: 14px 0 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #0b0f18;
}
.setup-shot-link { display: block; color: inherit; text-decoration: none; }
.setup-shot img { display: block; width: 100%; height: auto; }
.setup-shot figcaption {
  padding: 8px 10px;
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}
.setup-shot[hidden] { display: none; }
.setup-step code {
  font-family: var(--font-mono);
  font-size: 0.82em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
}
.setup-vibe { margin-top: 4px; }
.setup-vibe .qa-vibe-text {
  white-space: pre-wrap;
  word-break: break-word;
}
.qa-vibe-fill {
  display: block;
  margin: 0 0 12px;
  padding: 9px 11px;
  border: 1px dashed #7f8cff;
  border-radius: 8px;
  background: rgba(127, 140, 255, 0.12);
  color: #c4cbff;
  font-size: 0.86rem;
  line-height: 1.55;
}
/* ===== QR quick access ===== */
.qr-section { background: var(--navy); }
.qr-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.qr-copy { flex: 1 1 320px; min-width: 280px; }
.qr-section .eyebrow { color: #9ec5ff; }
.qr-section h2 { color: #fff; margin: 0 0 10px; }
.qr-section .section-desc { color: rgba(255, 255, 255, 0.82); }
.qr-url {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-bottom: 3px solid var(--ms-blue);
  padding-bottom: 5px;
}
.qr-code {
  flex: 0 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  line-height: 0;
}
.qr-code img {
  display: block;
  width: clamp(220px, 42vw, 360px);
  height: auto;
}
.setup-note {
  margin: 16px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}
.qa-vibe-box {
  background: #1c2030;
  border: 1.5px solid #3a7afe;
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  color: #e7ebf3;
}
/* 상단: 컨텍스트(폴더 · 파일 · 이미지) */
.qa-vibe-context {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 9px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.qa-vibe-plus {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  color: #aeb6c6;
  font-size: 1rem;
  font-weight: 700;
}
.qa-vibe-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #cfd6e4;
  background: #2a3042;
  border: 1px solid #3a4256;
  border-radius: 7px;
  padding: 3px 8px;
}
.qa-vibe-chip i { font-style: normal; color: #7f8799; }
.qa-vibe-svg { flex-shrink: 0; display: inline-block; vertical-align: -2px; }
/* 본문: 순수 텍스트만 */
.qa-vibe-text {
  margin: 0;
  padding: 12px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #d7dceb;
}
/* 하단 툴바 */
.qa-vibe-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.73rem;
  color: #9aa2b2;
}
.qa-vibe-toolbar .qa-vibe-plus { font-size: 1.05rem; }
.qa-vibe-mode {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: #d7dceb;
}
.qa-vibe-sep { color: #4b5364; }
.qa-vibe-model { font-weight: 600; color: #c2c9d8; }
.qa-vibe-meta { color: #9aa2b2; }
.qa-vibe-tools {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #7fd0ff;
  font-weight: 600;
}
.qa-vibe-right {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.qa-vibe-send {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #d7dceb;
  font-size: 1.25rem;
}
/* 파란 테두리 안에서 이어지는 하단 상태 바: 실행 위치 · 승인 모드 · 토큰 사용량 */
.qa-vibe-exec {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  padding: 8px 13px;
  background: #14171f;
  border: 1.5px solid #3a7afe;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 6px 18px rgba(58, 122, 254, 0.18);
  font-size: 0.73rem;
  font-weight: 600;
  color: #cfd6e4;
}
.qa-vibe-exec .qa-vibe-sep { color: #4b5364; }
.qa-vibe-exec .qa-vibe-auto { color: #e0a64b; }
.qa-vibe-ring {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.qa-a-inner a { color: var(--ms-blue); text-decoration: underline; text-underline-offset: 2px; }
.qa-a-inner a:hover { color: var(--ms-blue-dark); }

.qa-empty { text-align: center; color: var(--muted); margin: 30px auto 0; }

/* ===================== Footer ===================== */
.site-footer {
  background: var(--navy);
  color: #c7d0de;
  padding: 50px 0;
}
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-brand { font-weight: 900; font-size: 1.2rem; display: flex; gap: 8px; }
.footer-brand .brand-mark { color: #ff6b81; }
.footer-brand .brand-x { color: #6b7688; }
.footer-brand .brand-ms { color: #5cb3ff; }
.footer-note { font-size: 0.9rem; line-height: 1.7; color: #aab4c4; }
.footer-copy { font-size: 0.82rem; color: #7f8a9c; }

/* ===================== Responsive ===================== */
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 360px; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px; }
  .main-nav a { padding: 12px 16px; border-radius: 10px; }
  .section { padding: 64px 0; }
  .hero-inner { padding: 64px 24px 56px; }
  .setup-steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
