[hidden] {
  display: none !important;
}

/* 색·폭은 쏘톡(sports-schedule-app/public/styles.css)과 같은 값을 쓴다. 쏘폼만의 색은 --brand-form 하나다. */
:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1a1d21;
  --text-muted: #5f6b7a;
  --border: #e2e5ea;
  --table-head-bg: #fffbea; /* 표 항목 이름 칸 */
  --accent: #2f6fed;
  --brand-sso: #1a5cff;
  --brand-talk: #ff8a1a;
  --brand-form: #0fa47f;
  --brand-form-soft: #e3f6f0;
  --error-bg: #fdecec;
  --error-text: #c0392b;
  --success-bg: #e4f7ec;
  --success-text: #1a7f4e;
  --content-max-width: 1200px;
  --readable-max-width: 912px;
  --font-brand: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --surface: #1d2025;
    --text: #eef0f2;
    --text-muted: #9aa4b2;
    --border: #2c3038;
    --table-head-bg: #2a2717;
    --accent: #6f9bff;
    --brand-sso: #5c8bff;
    --brand-talk: #ffa340;
    --brand-form: #2fd6a8;
    --brand-form-soft: #16332b;
    --error-bg: #3a1c1c;
    --error-text: #ff8a80;
    --success-bg: #123625;
    --success-text: #4ade80;
  }
}

@font-face {
  font-family: 'Pretendard Variable';
  src: url('/fonts/PretendardVariable.woff2') format('woff2-variations');
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

a {
  color: var(--accent);
}

/* 로고 — 쏘톡과 같은 글자 모양, 포인트색만 초록. */
.brand-sso,
.brand-form {
  font-family: var(--font-brand);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-sso {
  color: var(--brand-sso);
}

.brand-form {
  color: var(--brand-form);
}

.container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── 머리말 ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 64px;
}

.site-logo {
  font-size: 1.45rem;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  gap: 0.25rem;
  flex: 1;
}

.site-nav a {
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--bg);
}

.site-nav a[aria-current='page'] {
  color: var(--brand-form);
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-form);
  color: #ffffff;
}

.btn-primary:hover {
  filter: brightness(0.95);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--bg);
}

.btn-lg {
  padding: 0.8rem 1.5rem;
  font-size: 1.05rem;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: default;
}

.site-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.site-mobile-menu {
  border-top: 1px solid var(--border);
  padding: 0.5rem 1.5rem 1rem;
}

.site-mobile-menu a {
  display: block;
  padding: 0.7rem 0;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.site-mobile-menu a:last-child {
  border-bottom: 0;
}

@media (max-width: 799px) {
  .site-nav,
  .site-actions .btn-ghost {
    display: none;
  }

  .site-header-inner {
    justify-content: space-between;
  }

  .site-menu-btn {
    display: inline-block;
  }
}

@media (min-width: 800px) {
  .site-mobile-menu {
    display: none !important;
  }
}

/* ── 푸터 ── */
.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.75;
}

.site-footer-inner {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-logo {
  font-size: 1.15rem;
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-links .footer-strong {
  color: var(--text);
  font-weight: 700;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
  margin: 0;
}

.footer-info div {
  display: flex;
  gap: 0.35rem;
}

.footer-info dt {
  font-weight: 600;
}

.footer-info dd {
  margin: 0;
}

.footer-disclaimer {
  margin: 0.9rem 0 0;
}

.footer-copy {
  margin: 0.4rem 0 0;
}

/* ── 본문 공용 ── */
.page-head {
  padding: 3.5rem 0 2rem;
}

.page-head h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-brand);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.readable {
  max-width: var(--readable-max-width);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}

.section {
  padding: 3.5rem 0 0;
}

.section-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-brand);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-form-soft);
  color: var(--brand-form);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ── 인덱스 ── */
.hero {
  padding: 4.5rem 0 1rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-brand);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.hero h1 .hl {
  color: var(--brand-form);
}

.hero p {
  margin: 0 0 2rem;
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.feature-card h3 {
  margin: 0.75rem 0 0.35rem;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-form-soft);
  color: var(--brand-form);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

/* 인덱스 가운데 탭(2026-09-27 대표님) */
/* 한눈에 보기 5장은 넓은 화면에서 한 줄에, 일반 이벤트 6장은 3장씩 두 줄 — 한 장만 남는 줄이 없게. */
.field-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* TOOL 카드 넉 장(2026-10-29) — 넓은 화면 한 줄 넷, 1100px 아래 둘씩, 폰 하나씩. */
.feature-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .feature-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .field-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .field-grid,
  .feature-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .field-grid,
  .feature-grid-3,
  .feature-grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.index-tabs {
  display: flex;
  gap: 0.25rem;
  margin: 0 0 1.25rem;
  border-bottom: 1px solid var(--border);
  /* 좁은 화면에서만 옆으로 밀리게 — 스크롤 막대는 감춘다(탭 밑줄이 1px 겹쳐 세로 막대가 생기던 것도 막는다). */
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.index-tabs::-webkit-scrollbar {
  display: none;
}

.index-tabs [role='tab'] {
  flex-shrink: 0;
  padding: 0.7rem 1.1rem;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: var(--text-muted);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.index-tabs [role='tab'][aria-selected='true'] {
  border-bottom-color: var(--brand-form);
  color: var(--text);
  font-weight: 800;
}

.index-tabs [role='tab']:focus-visible {
  outline: 2px solid var(--brand-form);
  outline-offset: -2px;
}

.index-tab-lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.field-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.field-card:hover,
.field-card:focus-visible {
  border-color: var(--brand-form);
  box-shadow: 0 10px 24px rgba(20, 30, 50, 0.08);
  transform: translateY(-2px);
  outline: none;
}

.field-card h3 {
  margin: 0.75rem 0 0.35rem;
  font-size: 1.1rem;
}

.field-card p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.field-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.9rem;
}

.field-tags span {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* 서비스 툴(2026-10-02) — 도구 카드는 링크다(밑줄 없이 카드 전체가 눌린다). 상세 화면의 위치 줄과 아래 단추 줄. */
a.tool-card {
  text-decoration: none;
}

.tool-crumb {
  margin: 1.2rem 0 -0.6rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.tool-crumb a {
  color: var(--brand-form);
  text-decoration: none;
  font-weight: 700;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.6rem 0 2.4rem;
}

.tool-others-title {
  margin-top: 0;
}

/* 안내 글 속 그림(도식) — 칸 폭을 넘지 않게, 위아래로 조금 띄운다. */
.guide-list img,
.doc-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0.8rem 0;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 10px;
}

/* 그림 여러 장을 한 줄에 적으면(폰 카드 만들기 다섯 단계 등, 2026-10-29) — PC는 한 줄에 나란히, 폰은 한 장씩 크게 옆으로 넘긴다. */
.guide-list p:has(> img + img) {
  display: flex;
  gap: 10px;
  margin: 0.8rem 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}

.guide-list p:has(> img + img) > img {
  flex: 0 0 calc((100% - 40px) / 5);
  width: calc((100% - 40px) / 5);
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}

@media (max-width: 760px) {
  .guide-list p:has(> img + img) > img {
    flex-basis: 72%;
    width: 72%;
  }
}

.guide-list h3 {
  margin: 1.1rem 0 0.4rem;
  font-size: 1rem;
}

/* 자주 묻는 질문 — 이용안내 카드들 아래 한 장. */
.guide-faq {
  margin-top: 1rem;
}

.guide-faq p {
  margin: 0;
  color: var(--text-muted);
}

.field-more {
  margin-top: auto;
  color: var(--brand-form);
  font-size: 0.9rem;
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--brand-form);
  color: #ffffff;
  font-weight: 800;
}

.steps h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.cta-band {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--brand-form-soft);
  border: 0;
}

.cta-band h2 {
  margin: 0 0 0.25rem;
  font-size: 1.3rem;
}

.cta-band p {
  margin: 0;
  color: var(--text-muted);
}

/* ── 이용안내 ── */
.guide-list {
  display: grid;
  gap: 1rem;
}

.guide-list h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.guide-list ul,
.guide-list ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.guide-list li + li {
  margin-top: 0.3rem;
}

/* ── 요금안내 ── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.price-card h2 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.price-amount {
  margin: 0.75rem 0;
  font-family: var(--font-brand);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-amount small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* 이용료 할인 안내(2026-10-15) — 요금 카드 위 한 상자, 카드 금액 옆 정가는 취소선. */
.pricing-promo {
  margin: 0 0 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid color-mix(in srgb, var(--brand-form) 35%, transparent);
  border-radius: 14px;
  background: var(--brand-form-soft);
  font-size: 0.95rem;
}

.pricing-promo strong {
  display: block;
  margin-bottom: 0.35rem;
}

.pricing-promo ul {
  margin: 0;
  padding-left: 1.1rem;
}

.price-amount .price-regular {
  display: block;
  margin-top: 0.2rem;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price-note {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 요금안내 재구성(2026-10-28) — 영역마다 제목·한 줄 안내·가로 비교표. 폰에서는 표를 가로로 밀어 본다. */
.price-section {
  margin: 0 0 2.25rem;
}

.price-section > h2 {
  margin: 0 0 0.3rem;
  font-size: 1.3rem;
}

.price-section-lead {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.price-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.price-table-3 {
  min-width: 640px;
}

.price-table th,
.price-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: 0;
}

/* 항목 이름 칸(맨 윗줄·왼쪽 칸)은 아주 옅은 노랑 — 주관회원 화면 표 머리 줄과 같은 색(2026-10-29 대표님). */
.price-table thead th {
  font-weight: 700;
  background: var(--table-head-bg);
}

.price-table tbody th {
  width: 8.5rem;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--table-head-bg);
}

.price-table .price-amount {
  margin: 0;
  font-size: 1.35rem;
}

.price-table .price-no {
  color: #c2410c;
}

.price-table .price-yes {
  color: #15803d;
}

.price-notes {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.price-section-more {
  margin: 0.7rem 0 0;
  font-size: 0.92rem;
}

.price-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

/* ── 고객문의 ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 700;
}

.form-field .req {
  color: var(--brand-form);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.form-field textarea {
  min-height: 180px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--brand-form);
  outline-offset: -1px;
}

.form-consent {
  grid-column: 1 / -1;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.form-consent label {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  color: var(--text);
  font-weight: 700;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.form-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.93rem;
}

.form-message.error {
  background: var(--error-bg);
  color: var(--error-text);
}

.form-message.success {
  background: var(--success-bg);
  color: var(--success-text);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 599px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions .btn {
    width: 100%;
  }
}

/* ── 안내 문서 ── */
/* 안내 문서 본문 — 마크다운을 그려 보여 준다(public/markdownRenderer.js). */
.doc-body {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-height: 1.7;
}

.doc-body > :first-child {
  margin-top: 0;
}

.doc-body h3 {
  margin: 1.8rem 0 0.6rem;
  font-size: 1.1rem;
}

.doc-body h4 {
  margin: 1.2rem 0 0.4rem;
  font-size: 1rem;
}

.doc-body p,
.doc-body ul,
.doc-body ol {
  margin: 0.5rem 0;
}

.doc-body ul,
.doc-body ol {
  padding-left: 1.3rem;
}

.doc-body blockquote {
  margin: 0 0 1rem;
  padding: 0.7rem 1rem;
  border-left: 3px solid var(--primary, #1c64f2);
  background: var(--surface-muted, rgba(0, 0, 0, 0.03));
  color: var(--text-muted);
}

/* 표는 좁은 화면에서 가로로 밀려 나가지 않게 칸 안에서만 옆으로 넘긴다. */
.doc-body .markdown-table-wrap,
.guide-list .markdown-table-wrap {
  overflow-x: auto;
  margin: 0.6rem 0;
}

.doc-body .markdown-table,
.guide-list .markdown-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.doc-body .markdown-table th,
.doc-body .markdown-table td,
.guide-list .markdown-table th,
.guide-list .markdown-table td {
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--border, #e5e7eb);
  text-align: left;
  vertical-align: top;
}

.doc-body .markdown-table th,
.guide-list .markdown-table th {
  background: var(--surface-muted, rgba(0, 0, 0, 0.03));
  white-space: nowrap;
}

.doc-empty {
  color: var(--text-muted);
}

.doc-updated {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

@media (max-width: 599px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .page-head {
    padding-top: 2.5rem;
  }
}

/* 탭 셋이 폰 한 줄에 들어가게 — 옆으로 밀려 셋째 탭이 가려지지 않게(기본 탭 규칙보다 뒤에 둔다). */
@media (max-width: 520px) {
  .index-tabs [role='tab'] {
    flex: 1 1 0;
    padding: 0.65rem 0.15rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }
}

/* 요금안내 — 결제와 환불(2026-09-28) */
.price-payment {
  margin-top: 1.5rem;
}

.price-payment h2 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}

.price-payment ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* 쏘폼활용예시(2026-10-06, /examples) — 위에 사이트 첫 화면 사진, 아래에 쓰임새·이름·설명·주소·[사이트 보기]. */
.example-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.example-shot {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.example-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.25s ease;
}

.example-shot:hover img {
  transform: scale(1.02);
}

.example-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem 1.25rem 1.25rem;
}

.example-kind {
  align-self: flex-start;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.example-kind.is-both {
  background: #e8f0fe;
  color: #1a4fc4;
}

.example-kind.is-site {
  background: #e5f6f0;
  color: #0a7d60;
}

.example-kind.is-entry {
  background: #fdf1dc;
  color: #8a5a08;
}

.example-name {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.4;
  word-break: keep-all;
}

.example-desc {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  word-break: keep-all;
}

.example-url {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.example-open {
  margin-top: auto;
  text-align: center;
}

.example-body .example-url {
  margin-bottom: 0.4rem;
}

.example-note {
  margin: 1.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .example-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 전체 공지 띠(2026-10-07, public/siteAnnouncementBar.js) — 머리말 맨 위 한 줄. 안내 사이트의 머리말 안에 들어가 함께 붙어 다닌다. */
.site-announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  background: #10233f;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.4;
}

.site-announcement-badge {
  flex: 0 0 auto;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: var(--brand-form, #0fa47f);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.site-announcement-link {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-announcement-link:hover {
  text-decoration: underline;
}

.site-announcement-close {
  flex: 0 0 auto;
  padding: 0.1rem 0.4rem;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.75);
  font: inherit;
  cursor: pointer;
}

.site-announcement-close:hover {
  color: #fff;
}

/* 공지 목록(/announcements) — 제목 줄을 누르면 내용이 펼쳐진다. */
.announcement-list {
  display: grid;
  gap: 0.75rem;
}

.announcement-item {
  padding: 0;
  overflow: hidden;
}

.announcement-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.25rem;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.announcement-title {
  min-width: 0;
  font-size: 1.05rem;
  word-break: keep-all;
}

.announcement-date {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.announcement-body {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
}

.announcement-empty {
  color: var(--text-muted);
}

/* 공지 띠에서 넘어와 그 글로 내려갈 때, 붙어 다니는 머리말에 제목이 가리지 않게 한다. */
.announcement-item {
  scroll-margin-top: 7rem;
}

/* 전체 공지 글 안의 그림(도식) — 글 폭을 넘지 않게, 위아래로 띄운다(2026-10-10). */
.announcement-list .markdown-inline-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0.9rem 0 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--border, #d5dbe5);
}

/* 첫 화면(2026-10-29 대표님, public/index.html) — 밝고 여백 많은 SaaS형, 쏘폼 초록을 주 색으로. 그림은 실제 샘플 사이트 캡처만. */
.home { font-family: var(--font-brand); }
.home-wrap { max-width: var(--content-max-width); margin: 0 auto; padding: 0 24px; }
.home-sec { padding: 88px 0; }
.home-sec-fields { padding-top: 64px; }
.home-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.home-center { text-align: center; }
.home-eyebrow { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--brand-form-soft); color: var(--brand-form); font-weight: 700; font-size: 0.85rem; }
.home-h2 { margin: 14px 0 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.3; letter-spacing: -0.02em; }
.home-lead { margin: 0 0 36px; color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }
.home-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.home-actions-center { justify-content: center; }

.home-hero { padding: 72px 0 96px; background: radial-gradient(1200px 500px at 85% 0%, var(--brand-form-soft), transparent 60%); }
.home-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.home-hero h1 { margin: 18px 0; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.2; letter-spacing: -0.03em; }
.home-hero h1 em { font-style: normal; color: var(--brand-form); }
.home-hero-lead { margin: 0 0 30px; color: var(--text-muted); font-size: 1.12rem; line-height: 1.75; }
.home-checks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--text-muted); font-size: 0.92rem; }
.home-checks span::before { content: '✓'; margin-right: 6px; color: var(--brand-form); font-weight: 800; }
.home-shot { position: relative; display: grid; }
.home-slide { grid-area: 1 / 1; position: relative; display: block; color: inherit; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity 0.8s ease, visibility 0.8s; }
.home-slide.is-active { opacity: 1; visibility: visible; }
.home-dots { position: absolute; right: 14px; bottom: -30px; display: flex; gap: 8px; }
.home-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: var(--border); cursor: pointer; transition: width 0.3s, background 0.3s; }
.home-dot[aria-current='true'] { width: 26px; background: var(--brand-form); }
@media (prefers-reduced-motion: reduce) { .home-slide { transition: none; } }
.home-browser { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: 0 30px 60px -20px rgba(20, 30, 50, 0.25); }
.home-browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.home-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9dde4; }
.home-browser-bar b { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: var(--bg); color: var(--text-muted); font-weight: 500; font-size: 0.78rem; }
.home-browser img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.home-float { position: absolute; left: -36px; bottom: -34px; width: 250px; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: 0 20px 40px -16px rgba(20, 30, 50, 0.3); font-size: 0.85rem; }
.home-float strong { display: block; margin-bottom: 4px; font-size: 0.95rem; }
.home-float-kind { color: var(--accent); font-weight: 800; font-size: 1rem; }
.home-float-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.home-float-host { color: var(--text-muted); font-size: 0.78rem; }
.home-float-btn { padding: 6px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; font-size: 0.78rem; }

.home-fields { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.home-field { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.home-field span { font-size: 1.3rem; }

.home-tools, .home-feats, .home-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* 도구 넉 장(2026-10-29) — 넓은 화면 한 줄 넷, 1100px 아래 둘씩. */
.home-tools { grid-template-columns: repeat(4, 1fr); }
.home-tools .home-tool { padding: 24px; }
@media (max-width: 1100px) { .home-tools { grid-template-columns: repeat(2, 1fr); } }
.home-tool { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--border); border-radius: 18px; background: var(--bg); color: inherit; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s; }
.home-tool:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(20, 30, 50, 0.35); }
.home-tool-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-form-soft); font-size: 1.4rem; }
.home-tool h3 { margin: 18px 0 8px; font-size: 1.2rem; }
.home-tool p { flex: 1; margin: 0 0 18px; color: var(--text-muted); line-height: 1.65; }
.home-more { color: var(--accent); font-weight: 700; }

.home-temp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.home-temp-head .home-lead { margin-bottom: 0; }
.home-temps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 20px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.home-temp { scroll-snap-align: start; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); color: inherit; text-decoration: none; }
.home-temp img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--border); }
.home-temp div { padding: 16px 18px 18px; }
.home-temp small { color: var(--brand-form); font-weight: 700; }
.home-temp strong { display: block; margin-top: 4px; }

.home-feat, .home-step { padding: 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.home-feat b, .home-step b { display: block; margin-bottom: 8px; font-size: 1.1rem; }
.home-feat p, .home-step p { margin: 0; color: var(--text-muted); line-height: 1.65; }
.home-num { display: inline-block; margin-bottom: 14px; color: var(--brand-form); font-weight: 800; font-size: 0.9rem; }

.home-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.home-price { padding: 30px; border: 1px solid var(--border); border-radius: 18px; background: var(--bg); }
.home-price h3 { margin: 0 0 6px; font-size: 1.1rem; }
.home-price-big { margin: 8px 0 16px; font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; }
.home-price-big small { font-size: 1rem; color: var(--text-muted); font-weight: 600; }
.home-price ul { margin: 0; padding: 0; list-style: none; }
.home-price li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--border); color: var(--text-muted); }
.home-price li b { color: var(--text); text-align: right; }
.home-price-more { margin: 24px 0 0; }

.home-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.home-step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%; background: var(--brand-form); color: #fff; font-weight: 800; }

.home-notice { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding: 14px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.home-notice b { color: var(--brand-form); white-space: nowrap; }
.home-notice-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; }
.home-notice a:last-child { white-space: nowrap; }
.home-cta { padding: 56px 32px; border-radius: 24px; background: linear-gradient(135deg, #0f8f6f, #1a5cff); color: #fff; text-align: center; }
.home-cta h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2rem); }
.home-cta p { margin: 0 0 26px; opacity: 0.9; }
.home-cta .btn-primary { background: #fff; color: #0f6f57; border-color: #fff; }
.home-cta .btn-ghost { border-color: rgba(255, 255, 255, 0.6); color: #fff; background: transparent; }

@media (max-width: 880px) {
  .home-sec { padding: 64px 0; }
  .home-wrap { padding: 0 16px; }
  .home-hero { padding: 48px 0 80px; }
  .home-hero-grid, .home-tools, .home-feats, .home-prices, .home-steps { grid-template-columns: 1fr; }
  .home-hero-grid { gap: 40px; }
  .home-float { left: 12px; bottom: -28px; }
  .home-temp-head { flex-direction: column; align-items: flex-start; }
  .home-price li { flex-direction: column; gap: 2px; }
  .home-price li b { text-align: left; }
}

/* 소개(/about, 2026-10-29) — 머리 문구 없이 탭으로 시작한다. 시작하는 순서는 세 단계. */
.about-top { padding-top: 2.5rem; }
.about-top h1.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.steps.steps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .steps.steps-3 { grid-template-columns: 1fr; } }
@media (min-width: 1101px) { .about-top .field-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── TOOL 상세 잡지형(2026-10-29 대표님) — public/toolMagazine.js가 만드는 tm-* 구조.
   색은 쏘폼 주 컬러(--brand-form)와 검정·회색 농도만 쓴다. 포인트 문구는 프리텐다드 900, 아주 크게.
   묶음 사이는 굵은 실선 + 넓은 여백, 묶음 안 칸 사이는 점선. */
:root {
  --tm-ink: #000;
  --tm-mid: #5b6370;
  --tm-light: #9aa1ab;
  --tm-line: #d5d9df;
  --tm-soft: #f4f5f7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --tm-ink: #f4f5f7;
    --tm-mid: #b3bac4;
    --tm-light: #7f8794;
    --tm-line: #3a3f48;
    --tm-soft: #1d2025;
  }
}

/* 도입부(제목·한 줄 소개)는 다른 안내 화면(TOOL·요금안내)의 .page-head 그대로(2026-10-29 대표님). */

.tm-body {
  margin-bottom: 3rem;
  font-family: var(--font-brand);
}
.tm-section {
  margin-top: 4.5rem;
  padding-top: 2rem;
  border-top: 3px solid var(--tm-ink);
}
.tm-section-head {
  margin-bottom: 1.5rem;
}
.tm-section-no {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--brand-form);
}
.tm-section-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--tm-ink);
}
.tm-section-body > p,
.tm-step-body > p,
.tm-section-body > ul,
.tm-section-body > ol,
.tm-step-body > ul,
.tm-step-body > ol {
  max-width: 48rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--tm-mid);
}
.tm-section-body strong,
.tm-step-body strong {
  color: var(--tm-ink);
}
.tm-body a {
  color: var(--brand-form);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 포인트 문구 — 아주 크게, 검정. *기울임*으로 감싼 말은 주 컬러. */
.tm-point {
  margin: 1.75rem 0 2rem;
}
/* 포인트 문구는 화면 제목(.page-head h1)과 같은 크기·굵기 — 아주 큰 글씨는 짧은 숫자·영문에만 쓴다(2026-10-29 대표님). */
.tm-point-big {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--tm-ink);
  word-break: keep-all;
}
.tm-point-big em {
  font-style: normal;
  color: var(--brand-form);
}
.tm-point-sub {
  margin: 0.5rem 0 0;
  max-width: 46rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* 숫자 줄 */
.tm-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 1.5rem 0 2rem;
  border-top: 1px solid var(--tm-ink);
  border-bottom: 1px solid var(--tm-line);
}
.tm-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1rem 1.25rem 0;
}
.tm-stat + .tm-stat {
  padding-left: 1.25rem;
  border-left: 1px dashed var(--tm-line);
}
.tm-stat-value {
  font-weight: 900;
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--tm-ink);
}
.tm-stat-label {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--tm-mid);
}

/* 기능 칸 — 두 칸씩, 칸 사이 점선 */
.tm-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.5rem;
  margin: 1.25rem 0 1.5rem;
  border-top: 1px solid var(--tm-ink);
}
.tm-feature {
  padding: 1.15rem 0 1.25rem;
  border-bottom: 1px dashed var(--tm-line);
}
.tm-feature-name {
  margin: 0 0 0.4rem;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--tm-ink);
}
.tm-feature-desc {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--tm-mid);
}

/* 단계 — 큰 회색 번호 + 내용, 단계 사이 점선 */
.tm-steps {
  margin: 1.5rem 0 1rem;
}
.tm-step {
  padding: 1.5rem 0;
  border-top: 1px dashed var(--tm-line);
}
.tm-step:first-child {
  border-top: 1px solid var(--tm-ink);
}
.tm-step-title {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 0.75rem;
  font-weight: 800;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  letter-spacing: -0.025em;
  color: var(--tm-ink);
}
.tm-step-no {
  flex: 0 0 auto;
  font-weight: 900;
  font-size: clamp(2rem, 4.6vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--tm-line);
}
.tm-step-body {
  padding-left: clamp(0rem, 6vw, 4.2rem);
}

/* 그림 — 테두리 + 아래 설명. 여러 장은 나란히(폰은 옆으로 넘김) */
.tm-figure {
  margin: 1.75rem 0;
}
.tm-figure img {
  display: block;
  max-width: 100%;
  /* 폰 화면 같은 세로 그림이 PC에서 너무 커지지 않게 */
  max-height: 640px;
  width: auto;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--tm-line);
  border-radius: 14px;
  background: var(--surface);
}
/* 도식(svg)은 바깥 상자 없이 — 그림 안의 박스만 보이게(2026-10-29 대표님, 모서리가 겹쳐 어색했다). */
.tm-figure img[src$=".svg"] {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.tm-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--tm-light);
  text-align: center;
}
.tm-strip {
  display: flex;
  gap: 14px;
  margin: 1.75rem 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}
.tm-strip .tm-figure {
  flex: 0 0 calc((100% - (var(--tm-count) - 1) * 14px) / var(--tm-count));
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}

/* 표 — 머리 줄 회색 바탕·위 검정 선 */
.tm-body .markdown-table-wrap {
  margin: 1.5rem 0;
  overflow-x: auto;
}
.tm-body .markdown-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
  border-top: 2px solid var(--tm-ink);
}
.tm-body .markdown-table th {
  padding: 0.75rem 0.9rem;
  text-align: left;
  font-weight: 800;
  color: var(--tm-ink);
  background: var(--tm-soft);
  border-bottom: 1px solid var(--tm-line);
}
.tm-body .markdown-table td {
  padding: 0.75rem 0.9rem;
  color: var(--tm-mid);
  border-bottom: 1px dashed var(--tm-line);
  vertical-align: top;
}
/* 한국어는 낱말 가운데서 끊지 않는다. 첫 칸 한 줄 고정은 넓은 화면에서만 — 폰에서는 첫 칸이 폭을 다 먹어 옆 칸이 한 글자씩 찌그러졌다(2026-10-29). */
.tm-body .markdown-table th,
.tm-body .markdown-table td {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
@media (min-width: 761px) {
  .tm-body .markdown-table th:first-child,
  .tm-body .markdown-table td:first-child {
    white-space: nowrap;
  }
}
.tm-body .markdown-table td strong {
  color: var(--tm-ink);
}

hr.tm-rule {
  margin: 2.25rem 0;
  border: 0;
  border-top: 1px dashed var(--tm-line);
}

@media (max-width: 760px) {
  .tm-section {
    margin-top: 3.25rem;
  }
  .tm-features {
    grid-template-columns: minmax(0, 1fr);
  }
  .tm-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tm-stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
  .tm-strip .tm-figure {
    flex-basis: 72%;
  }
  .tm-step-body {
    padding-left: 0;
  }
  .tm-point-big {
    font-size: 1.6rem;
  }
  .tm-body .markdown-table {
    font-size: 0.9rem;
  }
  .tm-body .markdown-table th,
  .tm-body .markdown-table td {
    padding: 0.65rem 0.6rem;
  }
}
