/* 안내 글(/guides/, SB-GUIDE-P1): 소개 페이지 스타일(landing.css 변수·버튼·머리글) 위에 덧붙인다 */
.guide-top { background: var(--night); color: var(--night-ink); }
.guide-top .nav { position: relative; }
.nav-links a[aria-current="page"] { opacity: 1; font-weight: 650; }
.guide-main { max-width: 1000px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 40px) 72px; }
.guide-head h1 { margin: 0; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.22; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.guide-lead { margin: 16px 0 0; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 44em; }
.guide-head .cta { margin-top: 24px; }
.crumbs { margin-bottom: 12px; font-size: 14px; }
.crumbs a { color: var(--accent); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.guide-main section { padding: 44px 0 0; }
.guide-main section h2 { text-align: left; font-size: clamp(21px, 2.6vw, 28px); margin: 0 0 12px; }
.guide-main section > p { margin: 0 0 14px; max-width: 46em; }
.guide-main section p a, .guide-main li a:not(.btn) { color: var(--accent); }
.guide-main .btn.ghost { color: var(--ink); }

.guide-cards { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.guide-main .guide-cards a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.guide-cards img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.guide-cards strong { padding: 18px 18px 0; font-size: 18px; line-height: 1.35; letter-spacing: -0.02em; }
.guide-cards span { padding: 6px 18px 20px; color: var(--muted); font-size: 15px; }
.guide-cards a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.plain { margin: 0; padding-left: 1.25em; display: grid; gap: 10px; max-width: 46em; }
.plain strong { margin-right: 4px; }
.defs { margin: 0; display: grid; gap: 14px; }
.defs div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 6px 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.defs dt { font-weight: 700; }
.defs dd { margin: 0; color: var(--muted); }
.script { margin: 0; padding: 18px 22px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.script p { margin: 0 0 8px; }
.script p:last-child { margin: 0; }

/* 빈 양식 모양 */
.sheet { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: #17171a; padding: 14px; }
.sheet-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; font-size: 13px; margin-bottom: 10px; }
.sheet-top span { border-bottom: 1px solid #c9c6bd; padding-bottom: 8px; }
.sheet table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.sheet th, .sheet td { border: 1px solid #c9c6bd; padding: 6px; font-size: 13px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.sheet th:nth-child(1) { width: 9%; } .sheet th:nth-child(2) { width: 26%; } .sheet th:nth-child(5) { width: 15%; }
.sheet .frame { display: block; aspect-ratio: 3 / 2; border: 1px dashed #b5b2a8; border-radius: 4px; }

.table-wrap { overflow-x: auto; }
.filled { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); font-size: 15px; }
.filled th, .filled td { border-bottom: 1px solid var(--line); padding: 12px; text-align: left; vertical-align: top; }
.filled th { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.filled td:nth-child(5) { white-space: nowrap; }
.filled img { width: 220px; max-width: 100%; height: auto; border-radius: 6px; }

/* 3D 비교 그림 */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.shots.four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 22px; }
.shots figure { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.shots img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.shots figcaption { padding: 14px 16px 16px; }
.shots h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -0.01em; }
.shots p { margin: 8px 0 0; font-size: 14.5px; color: var(--muted); }
.vals { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; font-size: 13px; }
.vals div { display: flex; gap: 5px; }
.vals dt { color: var(--muted); }
.vals dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }

.cuts { list-style: none; counter-reset: c; margin: 18px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cuts li { counter-increment: c; position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.cuts li::before { content: counter(c); position: absolute; left: 10px; top: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(14, 16, 22, 0.8); color: #fff; font-size: 14px; font-weight: 700; }
.cuts img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.cuts div { padding: 14px 16px 16px; }
.cuts p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

.guide-main .demo-pair { margin: 18px 0 0; padding: 14px; border-radius: var(--radius); background: var(--night); }
.guide-main .demo-pair a { color: #c7d4fb; }

.guide-main .guide-cta { margin-top: 56px; padding: 28px clamp(18px, 4vw, 32px); border-radius: var(--radius); background: var(--accent-soft); }
.guide-cta .cta { margin-top: 18px; }

@media (max-width: 900px) {
  .shots, .shots.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .guide-cards, .cuts, .shots { grid-template-columns: minmax(0, 1fr); }
  .shots.four { gap: 10px; }
  .shots.four figcaption { padding: 10px; }
  .defs div { grid-template-columns: minmax(0, 1fr); }
  .filled thead { display: none; }
  .filled, .filled tbody, .filled tr, .filled td { display: block; width: 100%; }
  .filled tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .filled td { border: 0; padding: 6px 12px; }
  .filled td::before { content: attr(data-label); display: block; font-size: 12.5px; color: var(--muted); }
  .filled img { width: 100%; }
}
