/* ══════════════════════════════════════════════════════════════════════════
   YourCampus 이용가이드 — 공유 스타일시트 (/guide/**)

   랜딩(index.html)의 디자인 시스템을 그대로 쓴다: 표면 5색 · 타입 5토큰 ·
   Lora(표제, 베트남어 글리프 정식 지원) + Be Vietnam Pro(본문) · 밴드 배경 전환으로
   섹션 구분 · 그린은 표면으로만 · 그라데이션/글로우 금지 · 섀도 1종.
   색 SSOT = 브랜드-컬러팔레트.md (Primary #3FA66B / Dark #2F8E5A / Light #E6F4EA).

   랜딩은 단일 페이지라 CSS 가 인라인이지만, 가이드는 30개 문서(10주제 × vi/en/ko)라
   외부 파일 1개로 뽑아 캐시가 듣게 한다.

   생성기: scripts/build-guide-pages.mjs — 이 파일의 클래스와 짝을 이룬다.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── 서체 (랜딩과 동일 서브셋 파일 재사용) ── */
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/bvp-400-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/bvp-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/bvp-500-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/bvp-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/bvp-700-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/bvp-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/lora-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/lora-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --brand: #3FA66B;
  --brand-dark: #2F8E5A;
  --brand-light: #E6F4EA;
  --band-light: #F8FAFC;
  --band-deep: #164E3A;
  --ink: #0B1720;
  --text: #1F2937;
  --sub: #6B7280;
  --border: #E5E7EB;
  --t-display: clamp(2.1rem, 3.8vw, 3rem);
  --t-section: clamp(1.55rem, 2.6vw, 2.1rem);
  --t-body: 1.0625rem;
  --t-control: .9375rem;
  --t-caption: .8125rem;
  --font-display: "Lora", "Be Vietnam Pro", Georgia, "Times New Roman", serif;
  --display-tracking: -.008em;
  --display-weight: 600;
  --band-pad: clamp(72px, 8vw, 128px);
  --container: 1120px;
  --ease: cubic-bezier(.22,.68,.16,1);
}
/* ko 는 Lora 에 한글이 없어 라틴만 세리프로 튀는 혼용이 생긴다 — 표제를 통째로 산세리프로. */
html[lang="ko"] {
  --font-display: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  --display-tracking: -.015em;
  --display-weight: 700;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans KR", sans-serif;
  font-size: var(--t-body); line-height: 1.6; font-weight: 400;
  color: var(--text); background: #fff;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-synthesis-weight: none;
}
html[lang="ko"] body { word-break: keep-all; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--brand); color: #fff; }
[id] { scroll-margin-top: 92px; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.num { font-variant-numeric: tabular-nums; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff;
  padding: .6rem 1rem; border-radius: 999px; font-size: var(--t-control); font-weight: 500; }
.skip:focus { left: 12px; top: 12px; }

/* ── 필 버튼 (랜딩과 동일 규격) ── */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 44px; padding: 0 1.35rem; border-radius: 999px; border: 0;
  font-family: inherit; font-size: var(--t-control); font-weight: 500; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s ease-out, filter .15s ease-out, background .15s ease-out; }
.pill:hover { transform: translateY(-1px); filter: brightness(1.05); }
.pill:active { transform: translateY(0) scale(.98); }
.pill-ink { background: var(--ink); color: #fff; }
.pill-white { background: #fff; color: var(--ink); font-weight: 700; }
.pill-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(11,23,32,.35); }
.pill-line[aria-current="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.pill .arw { flex: none; width: 15px; height: 15px; transition: transform .28s var(--ease); }
.pill:hover .arw { transform: translateX(3px); }

/* ── 내비 (가이드는 히어로가 짧아 항상 흰 표면 고정) ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88);
  box-shadow: 0 1px 0 var(--border); backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav { background: #fff; } }
.nav .row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.nav .brand { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.nav .brand img { width: 28px; height: 28px; }
.nav .brand .sfx { color: var(--sub); font-weight: 500; }
.nav .nav-actions { display: flex; align-items: center; gap: .5rem; }
.lang { display: flex; gap: .35rem; }
.lang .pill { height: 36px; padding: 0 .8rem; font-size: .8125rem; font-weight: 700; }
@media (max-width: 819px) {
  .nav .row { height: 60px; }
  .nav .brand .sfx { display: none; }
  .nav-cta { display: none; }
  .lang .pill { height: 34px; padding: 0 .7rem; }
}

/* ── 문서 히어로 ── */
.ghero { background: var(--brand); color: var(--ink); padding: clamp(48px, 6vw, 84px) 0 clamp(52px, 6.5vw, 92px);
  overflow: hidden; }
.ghero .crumb { font-size: var(--t-caption); font-weight: 500; color: rgba(11,23,32,.72); margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.ghero .crumb a:hover { color: var(--ink); text-decoration: underline; }
.ghero h1 { font-family: var(--font-display); font-size: var(--t-display); line-height: 1.14;
  letter-spacing: var(--display-tracking); font-weight: var(--display-weight); max-width: 20ch; }
.ghero .lead { margin-top: 1.35rem; font-size: 1.0625rem; line-height: 1.65; max-width: 54ch; }
.ghero .meta { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.ghero .chip { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.9);
  color: var(--ink); border-radius: 999px; padding: .42rem .85rem; font-size: var(--t-caption); font-weight: 600; }

/* ── 주제 페이지 히어로: 카피 + 밴드 바닥에서 잘리는 기기 1대 ──
   랜딩 히어로와 같은 장치(폰이 밴드 경계에서 크롭). 화면 전체를 보여주는 건 본문 스텝이 하고,
   여기서는 "이 문서가 어느 화면 이야기인지"만 얼굴을 비친다. 좁은 화면에선 숨긴다. */
.ghero-page { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(240px, 340px);
  gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.ghero-page .copy { padding-bottom: clamp(4px, 1vw, 18px); }
.peek { align-self: end; height: clamp(230px, 24vw, 320px); overflow: hidden;
  margin-bottom: calc(-1 * clamp(52px, 6.5vw, 92px)); display: flex; justify-content: center; }
.peek .shot { width: min(100%, 296px); border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; }
.peek .shot img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.peek .shot::before, .peek .shot::after { display: none; }
@media (max-width: 899px) {
  .ghero-page { grid-template-columns: 1fr; }
  .peek { display: none; }
}

/* ── 허브 히어로: 카피 + 기기 3대 쇼케이스 ──
   랜딩 .showcase 와 같은 조형(가운데를 크게, 양옆은 축소·회전해 뒤로 물림).
   transform-origin: bottom 이라 세 대의 밑변이 한 선에 맞는다. */
.ghero-grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(320px, 560px);
  gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.trio { display: flex; justify-content: center; align-items: flex-end; }
.trio .shot { width: 218px; }
.trio .shot:nth-child(1) { transform: scale(.86) rotate(-5deg); transform-origin: bottom center; margin-right: -40px; }
.trio .shot:nth-child(2) { z-index: 2; }
.trio .shot:nth-child(3) { transform: scale(.86) rotate(5deg); transform-origin: bottom center; margin-left: -40px; }
@media (max-width: 1023px) {
  .ghero-grid { grid-template-columns: 1fr; }
  .trio { margin-top: .5rem; }
  .trio .shot:nth-child(1), .trio .shot:nth-child(3) { display: none; }
  .trio .shot { width: min(100%, 250px); }
}

/* ── 허브: 빠른 시작 4단계 ── */
.quick { background: var(--band-light); padding: var(--band-pad) 0; }
.quick h2, .cards h2, .faq h2, .steps h2 { font-family: var(--font-display); font-size: var(--t-section);
  line-height: 1.2; letter-spacing: var(--display-tracking); font-weight: var(--display-weight); color: var(--ink); }
.quick .qgrid { margin-top: clamp(2rem, 3.5vw, 3rem); display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.quick .q { background: #fff; border-radius: 20px; padding: 1.6rem 1.5rem;
  box-shadow: 0 12px 32px -20px rgba(11,23,32,.28); }
.quick .q .n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 999px; background: var(--brand-light); color: var(--brand-dark);
  font-size: .875rem; font-weight: 700; margin-bottom: .95rem; }
.quick .q h3 { font-size: 1.0625rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.quick .q p { font-size: var(--t-control); line-height: 1.6; color: var(--sub); }

/* ── 허브: 주제 카드 ── */
.cards { padding: var(--band-pad) 0; background: #fff; }
.cards .cgrid { margin-top: clamp(2rem, 3.5vw, 3rem); display: grid; gap: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.cards .c { display: flex; flex-direction: column; gap: .55rem; border: 1px solid var(--border);
  border-radius: 20px; padding: 1.7rem 1.6rem; background: #fff;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
.cards .c:hover { transform: translateY(-3px); border-color: transparent;
  box-shadow: 0 18px 40px -22px rgba(11,23,32,.34); }
.cards .c .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-light);
  display: grid; place-items: center; color: var(--brand-dark); margin-bottom: .6rem; }
.cards .c .ic svg { width: 21px; height: 21px; }
.cards .c h3 { font-size: 1.0625rem; font-weight: 700; color: var(--ink); }
.cards .c p { font-size: var(--t-control); line-height: 1.6; color: var(--sub); }
.cards .c .go { margin-top: auto; padding-top: .9rem; font-size: var(--t-caption); font-weight: 700;
  color: var(--brand-dark); display: inline-flex; align-items: center; gap: .35rem; }
.cards .c:hover .go svg { transform: translateX(3px); }
.cards .c .go svg { width: 13px; height: 13px; transition: transform .28s var(--ease); }

/* ── 목차(문서 내 앵커) ──
   사람에겐 긴 문서의 지도이고, 검색·생성엔진에는 "이 문서가 무엇을 다루는지"를
   앵커 URL 단위로 알려 주는 장치다(각 스텝이 #s1.. 로 직접 링크된다). */
.toc { background: var(--band-light); padding: clamp(28px, 3.5vw, 44px) 0; }
.toc h2 { font-size: var(--t-caption); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--sub); margin-bottom: 1rem; }
.toc ol { list-style: none; counter-reset: toc; display: grid; gap: .55rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.toc li { counter-increment: toc; }
.toc a { display: inline-flex; gap: .6rem; align-items: baseline; font-size: var(--t-control); line-height: 1.5; color: var(--text); }
.toc a::before { content: counter(toc); flex: none; min-width: 1.1em; font-variant-numeric: tabular-nums;
  font-weight: 700; color: var(--brand-dark); }
.toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ── 관련 가이드 ── */
.related { padding: 0 0 var(--band-pad); background: #fff; }
.related h2 { font-size: var(--t-caption); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--sub); margin-bottom: 1.1rem; }
.related .rgrid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.related a { border: 1px solid var(--border); border-radius: 18px; padding: 1.15rem 1.3rem;
  transition: border-color .18s var(--ease), transform .18s var(--ease); }
.related a:hover { transform: translateY(-2px); border-color: var(--brand); }
.related .ttl { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: .3rem; }
.related .sub { font-size: var(--t-caption); line-height: 1.55; color: var(--sub); }

/* ── 용어 사전(허브) — 사람에게도, 생성엔진에도 "이 서비스의 단어"를 정의해 준다 ── */
.glossary { background: var(--band-light); padding: var(--band-pad) 0; }
.glossary dl { margin-top: clamp(1.8rem, 3vw, 2.6rem); display: grid; gap: 1.4rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.glossary dt { font-size: 1.0625rem; font-weight: 700; color: var(--ink); margin-bottom: .35rem; }
.glossary dd { font-size: var(--t-control); line-height: 1.65; color: var(--text); }

/* ══ 가이드북(/hoc-dai-hoc/ — 대학생활 콘텐츠 허브) 전용 ══
   서비스 가이드(/guide/)와 같은 스타일시트를 공유하되, 이쪽은 **읽는 글**이라
   스크린샷 스텝 대신 산문·표·출처가 중심이다. 독서 폭 68ch, 표는 가로 스크롤. */
.article { padding: clamp(40px, 5vw, 64px) 0 var(--band-pad); background: #fff; }
.article .prose { max-width: 760px; margin: 0 auto; }
.article .prose > section + section { margin-top: clamp(2.6rem, 4.5vw, 3.6rem); }
.article h2 { font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.24;
  letter-spacing: var(--display-tracking); font-weight: var(--display-weight); color: var(--ink); margin-bottom: 1rem; }
.article p { font-size: var(--t-body); line-height: 1.75; color: var(--text); }
.article p + p { margin-top: 1rem; }
.article ul.pts { list-style: none; margin-top: 1.25rem; display: flex; flex-direction: column; gap: .8rem; }
.article ul.pts li { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--t-control); line-height: 1.6; }
.article ul.pts li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--brand-dark); }
.article ul.pts li b { font-weight: 700; color: var(--ink); }
.article .tie { margin-top: 1.1rem; padding: .85rem 1.1rem; border-radius: 14px; background: var(--brand-light);
  font-size: var(--t-control); line-height: 1.6; color: var(--ink); display: flex; gap: .6rem; align-items: flex-start; }
.article .tie svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--brand-dark); }
.article .tie a { color: var(--brand-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* 표 — 교시표·환산표. 폭이 넘치면 컨테이너 안에서만 스크롤(본문은 절대 가로 스크롤 금지). */
.tbl { margin-top: 1.25rem; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: 14px; }
.tbl table { width: 100%; border-collapse: collapse; font-size: var(--t-control); min-width: 420px; }
.tbl caption { text-align: left; padding: .8rem 1rem .6rem; font-size: var(--t-caption); font-weight: 700; color: var(--sub); caption-side: top; }
.tbl th, .tbl td { padding: .62rem .9rem; text-align: left; border-top: 1px solid var(--border); vertical-align: top; }
.tbl th { background: var(--band-light); font-weight: 700; color: var(--ink); font-size: var(--t-caption); letter-spacing: .02em; }
.tbl td { color: var(--text); font-variant-numeric: tabular-nums; }
.tbl tr:nth-child(even) td { background: #FBFCFD; }

/* 출처 — 근거를 드러내는 것이 이 허브의 신뢰 장치다(대학 공식 사이트·공문). */
.sources { max-width: 760px; margin: clamp(2.6rem, 4.5vw, 3.6rem) auto 0; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.sources h2 { font-size: var(--t-caption); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sub); margin-bottom: .8rem; }
.sources ol { padding-left: 1.2rem; display: flex; flex-direction: column; gap: .45rem; font-size: var(--t-caption); line-height: 1.55; color: var(--sub); }
.sources a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
.article .updated { max-width: 760px; margin: 1.2rem auto 0; font-size: var(--t-caption); color: var(--sub); }

/* 허브 카드 — 서비스 가이드 카드와 같은 조형, 시즌 태그만 추가 */
.cards .c .season { font-size: var(--t-caption); font-weight: 600; color: var(--brand-dark); background: var(--brand-light);
  border-radius: 999px; padding: .22rem .6rem; align-self: flex-start; margin-bottom: .2rem; }

/* 히어로 — 가이드북은 기기 대신 카피만(글이 주인공) */
.ghero-book .lead { max-width: 60ch; }

/* ── 분석 동의 배너 (PDPL 사전 동의 — 랜딩과 동일 규약) ── */
.consent { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 560px;
  background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 12px 32px -12px rgba(11,23,32,.28); padding: 1rem 1.15rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.consent[hidden] { display: none; }
.consent-text { font-size: .875rem; line-height: 1.5; flex: 1 1 240px; margin: 0; }
.consent-text a { text-decoration: underline; color: var(--brand-dark); }
.consent-actions { display: flex; gap: .5rem; margin-left: auto; }
.consent .pill { height: 38px; padding: 0 1rem; font-size: .875rem; }
@media (max-width: 480px) { .consent-actions { width: 100%; } .consent .pill { flex: 1; } }

/* ── 본문 스텝: 좌 카피 / 우 스크린샷 (짝수는 좌우 반전) ── */
.steps { padding: var(--band-pad) 0 0; }
.steps > .wrap > h2 { margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.step { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(240px, 330px);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: 0 0 var(--band-pad); }
.step:nth-of-type(even) { grid-template-columns: minmax(240px, 330px) minmax(280px, 1fr); }
.step:nth-of-type(even) .copy { order: 2; }
.step:nth-of-type(even) .shots { order: 1; }
.step .kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--t-caption);
  font-weight: 700; color: var(--brand-dark); letter-spacing: .04em; text-transform: uppercase; margin-bottom: .9rem; }
.step .kicker .n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 999px;
  background: var(--brand-light); font-size: .75rem; letter-spacing: 0; }
.step h2 { font-family: var(--font-display); font-size: clamp(1.3rem, 2.1vw, 1.7rem); line-height: 1.24;
  letter-spacing: var(--display-tracking); font-weight: var(--display-weight); color: var(--ink); margin-bottom: 1rem; }
.step .d { font-size: var(--t-body); line-height: 1.7; max-width: 48ch; }
.step ul { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: .85rem; }
.step li { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--t-control); line-height: 1.6; }
.step li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--brand-dark); }
.step li b { font-weight: 700; color: var(--ink); }

/* 화면 프레임 — 캡처 PNG/WebP 를 감싸는 기기 림. 랜딩 .phone 과 같은 조형. */
.shots { display: flex; justify-content: center; gap: 1rem; }
.shot { position: relative; border-radius: 40px; padding: 9px; width: min(100%, 302px); flex: none;
  background: linear-gradient(155deg, #46525f 0%, var(--ink) 26%, var(--ink) 74%, #3b4753 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.10) inset,
              0 2px 3px rgba(255,255,255,.22) inset,
              0 30px 56px -26px rgba(11,23,32,.5),
              0 10px 24px -14px rgba(11,23,32,.34); }
.shot::before, .shot::after { content: ""; position: absolute; width: 2.5px; border-radius: 2px;
  background: linear-gradient(180deg, #55616e, #2b3742); }
.shot::before { left: -2px; top: 22%; height: 7%; box-shadow: 0 42px 0 0 #3b4753, 0 76px 0 0 #3b4753; }
.shot::after { right: -2px; top: 30%; height: 12%; }
.shot img { border-radius: 32px; width: 100%; height: auto; background: #fff; }
.shots .shot + .shot { display: none; }
@media (min-width: 1080px) { .shots.pair .shot + .shot { display: block; transform: scale(.92); transform-origin: bottom left; } }
.shot .cap { position: absolute; left: 0; right: 0; bottom: -2.1rem; text-align: center;
  font-size: var(--t-caption); color: var(--sub); }
.steps .step:has(.cap) { padding-bottom: calc(var(--band-pad) + 1.4rem); }

@media (max-width: 899px) {
  .step, .step:nth-of-type(even) { grid-template-columns: 1fr; gap: 2.25rem; }
  .step:nth-of-type(even) .copy, .step:nth-of-type(even) .shots { order: initial; }
  .shot { width: min(100%, 280px); }
}

/* ── 콜아웃(주의·팁) ── */
.callout { border-radius: 18px; padding: 1.15rem 1.35rem; margin-top: 1.6rem;
  background: var(--band-light); border-left: 3px solid var(--brand); font-size: var(--t-control); line-height: 1.65; }
.callout.warn { background: #FFF7ED; border-left-color: #F0994A; }
.callout b { color: var(--ink); }

/* ── 밴드 변형: 딥그린 강조 구간 ── */
.band-deep { background: var(--band-deep); color: rgba(255,255,255,.86); padding: var(--band-pad) 0; }
.band-deep h2 { color: #fff; font-family: var(--font-display); font-size: var(--t-section); line-height: 1.2;
  letter-spacing: var(--display-tracking); font-weight: var(--display-weight); margin-bottom: 1.35rem; max-width: 24ch; }
.band-deep .d { max-width: 56ch; line-height: 1.7; }
.band-deep ul { list-style: none; margin-top: 1.9rem; display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.band-deep li b { display: block; color: #fff; font-weight: 700; margin-bottom: .25rem; }
.band-deep li { font-size: var(--t-control); line-height: 1.6; }

/* ── FAQ ── */
.faq { padding: var(--band-pad) 0; background: #fff; }
.faq .col { max-width: 760px; margin: 0 auto; }
.faq h2 { margin-bottom: 2.2rem; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; position: relative;
  padding: 1.45rem 2.4rem 1.45rem 0; font-size: var(--t-body); font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: .1rem; top: 50%;
  width: 15px; height: 1.5px; background: var(--sub); border-radius: 2px;
  transition: transform .32s var(--ease), background .2s var(--ease); }
.faq summary::before { transform: translateY(-50%) rotate(0deg); }
.faq summary::after { transform: translateY(-50%) rotate(90deg); }
.faq details[open] summary::before, .faq details[open] summary::after { transform: translateY(-50%) rotate(180deg); background: var(--ink); }
.faq summary:hover::before, .faq summary:hover::after { background: var(--ink); }
.faq .fa { padding: 0 0 1.6rem; font-size: 1rem; line-height: 1.72; color: var(--text); max-width: 62ch; }

/* ── 이전/다음 ── */
.pager { padding: 0 0 var(--band-pad); background: #fff; }
.pager .pgrid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pager a { border: 1px solid var(--border); border-radius: 18px; padding: 1.25rem 1.4rem;
  transition: border-color .18s var(--ease), transform .18s var(--ease); }
.pager a:hover { transform: translateY(-2px); border-color: var(--brand); }
.pager .dir { font-size: var(--t-caption); color: var(--sub); margin-bottom: .3rem; }
.pager .ttl { font-size: 1.0625rem; font-weight: 700; color: var(--ink); }
.pager a.next { text-align: right; }

/* ── 클로징 CTA ── */
.close { background: var(--brand); color: var(--ink); padding: var(--band-pad) 0; text-align: center; }
.close h2 { font-family: var(--font-display); font-size: var(--t-section); line-height: 1.2;
  letter-spacing: var(--display-tracking); font-weight: var(--display-weight); max-width: 22ch; margin: 0 auto; }
.close .sub { margin: 1.1rem auto 0; max-width: 40ch; font-size: var(--t-control); line-height: 1.65; }
.stores { display: flex; align-items: center; justify-content: center; gap: .9rem; flex-wrap: wrap; margin-top: 2.1rem; }
.store-badge img { display: block; height: 47px; width: auto; }
.store-badge { transition: transform .18s ease-out, filter .18s ease-out; }
.store-badge:hover { transform: translateY(-2px); filter: brightness(1.06); }
.store-badge .gp { height: 70px; margin: -11px -11px; }

/* ── 푸터 ── */
footer { background: var(--ink); color: rgba(255,255,255,.8); padding: clamp(64px, 8vw, 104px) 0 44px; }
footer .cols { display: grid; grid-template-columns: minmax(260px, 1.2fr) minmax(240px, 1fr); gap: clamp(2.5rem, 6vw, 5rem); }
footer .brandline { display: flex; align-items: center; gap: .55rem; color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 1.05rem; }
footer .brandline img { width: 26px; height: 26px; }
footer .about { font-size: var(--t-control); line-height: 1.68; max-width: 40ch; margin-bottom: 1.8rem; }
footer .links { display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; font-size: var(--t-control); }
footer .links a:hover { color: #fff; }
footer .rep { margin-top: 1.8rem; font-size: var(--t-caption); color: rgba(255,255,255,.55); }
footer .loghead { font-size: var(--t-caption); font-weight: 700; color: rgba(255,255,255,.55); margin-bottom: .85rem; }
footer .gsections { display: flex; flex-direction: column; gap: .55rem; font-size: var(--t-control); }
footer .bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  margin-top: clamp(2.25rem, 5vw, 3.5rem); padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.14);
  font-size: var(--t-caption); color: rgba(255,255,255,.55); }
footer .langline { display: flex; gap: 1.1rem; }
footer .langline a:hover, footer .langline a[aria-current="true"] { color: #fff; }
@media (max-width: 759px) {
  footer .cols { grid-template-columns: 1fr; }
  footer .links { gap: 0 1.4rem; }
  footer .links a { padding: .6rem 0; }
  footer .langline { gap: .9rem; }
}

/* ── 포커스 ── */
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.band-deep :focus-visible, footer :focus-visible { outline-color: #86E0AC; }
.pill:focus-visible { border-radius: 999px; }

/* ── 인쇄: 기기 림·CTA 제거하고 본문만 ── */
@media print {
  .nav, .skip, .close, .pager, .lang { display: none !important; }
  .ghero, .band-deep, footer { background: #fff !important; color: #000 !important; }
  .shot { background: none !important; box-shadow: none !important; padding: 0; }
  .shot::before, .shot::after { display: none; }
}
