/* 반응형 스타일 - 가독성과 속도 최적화 */
:root {
  --bg: #ffffff;
  --text: #0b0b0b;
  --muted: #6b7280;
  --accent: #0b74de;
  --max-width: 900px;
  --border-radius: 12px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, 'Noto Sans KR', "Segoe UI Emoji", sans-serif;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
  width: 100%;
}
/* 헤더 스타일 */
.site-header {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  border-bottom: 1px solid #eee;
  padding: 40px 0 30px;
}

.site-header h1 {
  margin: 0 0 16px;
  font-size: 2rem;
  line-height: 1.2;
  word-break: keep-all;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0;
  word-break: keep-all;
}

/* 컨텐츠 스타일 */
h2 {
  font-size: 1.5rem;
  margin: 32px 0 20px;
  word-break: keep-all;
}

h3 {
  font-size: 1.25rem;
  margin: 24px 0 16px;
}

ol, ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

/* 버튼 스타일 */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: #0960c0;
}
.cta{margin:18px 0}
/* Grid layout for features and QR sections */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.qr-preview {
  text-align: center;
  padding: 24px;
  background: #f8fafc;
  border-radius: 12px;
  transition: transform 0.2s ease;
}

.qr-preview:hover {
  transform: translateY(-4px);
}

.qr-preview img {
  max-width: 240px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.qr-preview a {
  display: block;
  text-decoration: none;
  color: var(--text);
}

figure {
  margin: 20px 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.note {
  background: #f9fafb;
  border-left: 4px solid #e6eefc;
  padding: 12px;
  margin-top: 18px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid #f0f0f0;
  padding: 18px 0;
  margin-top: 28px;
}

@media (max-width: 600px) {
  .container {
    padding: 16px;
  }
  .site-header h1 {
    font-size: 1.25rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .qr-preview img {
    max-width: 200px;
  }
}

/* Accessibility focus */
a:focus{outline:3px solid #b6e0ff;outline-offset:3px}
