/* ==========================================================================
   폰사이소 아이폰 가이드 — 애플 공식 사이트 톤의 경량 스타일
   (시스템 폰트 우선, 모바일 퍼스트, 광고/CTA 밀도 제한)
   ========================================================================== */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #000000;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --border: #d2d2d7;
  --border-light: #e8e8ed;
  --link: #0066cc;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --green: #1a7f37;
  --green-bg: #e6f6ea;
  --orange: #b25e00;
  --orange-bg: #fff1e0;
  --gray-tag: #6e6e73;
  --gray-tag-bg: #ececf0;
  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 48px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro KR", "SF Pro Text", "Apple SD Gothic Neo", "Pretendard Variable", Pretendard, "Noto Sans KR", "Segoe UI", Roboto, "Malgun Gothic", sans-serif;
  --max: 980px;
  --article: 692px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin: .3em 0; }
code { font-family: "SF Mono", Menlo, Consolas, monospace; font-size: .92em; background: var(--bg-alt); padding: .1em .35em; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--border-light); margin: 2.5em 0; }
strong { font-weight: 600; }
time { color: inherit; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
[hidden] { display: none !important; }

/* ── 라벨 태그 ─────────────────────────────────── */
.tag { display: inline-block; font-size: 11.5px; font-weight: 600; line-height: 1; padding: 4px 8px; border-radius: 999px; vertical-align: middle; letter-spacing: 0; white-space: nowrap; margin-left: 2px; }
.tag-confirmed { background: var(--green-bg); color: var(--green); }
.tag-expected, .tag-rumor { background: var(--orange-bg); color: var(--orange); }
.tag-measured { background: #e5f0ff; color: #0b5cad; }
.tag-updated, .tag-new { background: var(--gray-tag-bg); color: var(--gray-tag); }

/* ── 글로벌 내비 ───────────────────────────────── */
.globalnav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(0,0,0,.8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); color: #f5f5f7; }
.globalnav-inner { max-width: var(--max); margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.globalnav-brand { color: #f5f5f7; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 6px; }
.globalnav-brand:hover { text-decoration: none; }
.brand-sub { font-size: 12px; font-weight: 400; color: rgba(255,255,255,.7); }
.globalnav-menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.globalnav-menu a { color: rgba(255,255,255,.85); font-size: 12.5px; letter-spacing: -0.01em; }
.globalnav-menu a:hover, .globalnav-menu a[aria-current="page"] { color: #fff; text-decoration: none; }
.globalnav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; margin-right: -12px; cursor: pointer; position: relative; }
.globalnav-toggle span { position: absolute; left: 13px; width: 18px; height: 1.5px; background: #f5f5f7; transition: transform .25s, top .25s; }
.globalnav-toggle span:first-child { top: 18px; } .globalnav-toggle span:last-child { top: 25px; }
.nav-open .globalnav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .globalnav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ── 지금 단계 스트립 ─────────────────────────── */
.phase-strip { background: var(--bg-alt); border-bottom: 1px solid var(--border-light); font-size: 13px; }
.phase-item { max-width: var(--max); margin: 0 auto; padding: 9px 20px; display: flex; gap: 10px 18px; align-items: center; flex-wrap: wrap; }
.phase-name { font-weight: 600; color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 2px 10px; font-size: 12px; }
.phase-text { color: var(--text-2); }
.phase-count { color: var(--text); font-weight: 700; }
.phase-item a { margin-left: auto; font-weight: 500; }

/* ── 버튼 ─────────────────────────────────────── */
.btn { display: inline-block; font-size: 15px; font-weight: 500; line-height: 1.2; padding: 11px 20px; border-radius: 999px; text-decoration: none; transition: background .2s, color .2s; white-space: nowrap; max-width: 100%; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-secondary { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn-secondary:hover { background: var(--blue); color: #fff; }

/* ── 글 레이아웃 ──────────────────────────────── */
.article { max-width: var(--article); margin: 0 auto; padding: 0 20px 60px; }
.article-header { padding: 44px 0 20px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: 12.5px; color: var(--text-3); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--border); }
.breadcrumb a { color: var(--text-2); }
.article-header h1 { font-size: 40px; line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 14px; }
.article-subtitle { font-size: 21px; line-height: 1.4; color: var(--text-2); font-weight: 400; margin-bottom: 14px; }
.article-meta { font-size: 13px; color: var(--text-3); margin: 0; }
.article-meta a { color: var(--text-2); }
.article-body { font-size: 17px; line-height: 1.7; }
.article-body h2 { font-size: 28px; margin: 56px 0 18px; line-height: 1.2; }
.article-body h3 { font-size: 20px; margin: 34px 0 12px; }
.article-body p { margin-bottom: 1.1em; }
.article-body > p:first-child { font-size: 18px; }
.article-body img { border-radius: var(--radius-sm); display: block; margin: 20px auto; }

/* 정답/결론 박스 */
.answer-box { background: var(--bg-alt); border-radius: var(--radius); padding: 24px 26px; margin: 24px 0 8px; }
.answer-title { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.answer-box ul { list-style: none; padding: 0; margin: 0; }
.answer-box li { font-size: 18px; font-weight: 500; line-height: 1.45; padding: 8px 0 8px 22px; position: relative; margin: 0; border-top: 1px solid var(--border-light); }
.answer-box li:first-child { border-top: 0; }
.answer-box li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.answer-compare li::before { background: var(--green); }
.answer-buy li::before { background: var(--orange); }
.answer-note { font-size: 14px; color: var(--text-2); margin: 12px 0 0; }

/* 콜아웃 */
.callout { background: var(--bg-alt); border-left: 3px solid var(--blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 18px; margin: 20px 0; font-size: 15.5px; }
.callout p:last-child { margin: 0; }
.callout-title { font-weight: 600; margin-bottom: 4px; }
.callout-tip { border-color: var(--green); }
.callout-warn { border-color: var(--orange); background: #fffaf3; }
.callout-store { border-color: #5e5ce6; }

/* 표 */
.table-wrap { overflow-x: auto; margin: 20px -20px; padding: 0 20px; -webkit-overflow-scrolling: touch; position: relative; }
.table-wrap.is-scrollable::after { content: "← 옆으로 밀어서 보기 →"; display: block; text-align: center; font-size: 12px; color: var(--text-3); padding: 6px 0 0; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; line-height: 1.45; min-width: 480px; }
thead th { text-align: left; font-weight: 600; font-size: 12.5px; color: var(--text-2); letter-spacing: .01em; padding: 10px 12px; border-bottom: 1px solid var(--text); background: #fff; }
tbody th { text-align: left; font-weight: 600; padding: 12px; vertical-align: top; border-bottom: 1px solid var(--border-light); white-space: nowrap; }
tbody td { padding: 12px; vertical-align: top; border-bottom: 1px solid var(--border-light); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 1px solid var(--border); }
table .tag { margin-left: 4px; }

/* 목차 */
.toc { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 16px 20px; margin: 20px 0; font-size: 14.5px; }
.toc-title { font-weight: 600; font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 24px; }
.toc li { break-inside: avoid; margin: 3px 0; }

/* 카드 */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.link-card { display: flex; flex-direction: column; gap: 6px; background: var(--bg-alt); border-radius: var(--radius); padding: 20px; color: var(--text); transition: transform .2s, box-shadow .2s; }
.link-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.link-card-kicker { font-size: 12px; font-weight: 600; color: var(--text-3); }
.link-card-title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.link-card-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.link-card-more { font-size: 13.5px; color: var(--link); margin-top: auto; padding-top: 6px; }
.inline-cards { margin: 24px 0; }
.inline-cards:not(.card-grid) .link-card { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.inline-cards:not(.card-grid) .link-card-title { flex: 1 1 100%; }
.inline-cards:not(.card-grid) .link-card-desc { flex: 1 1 100%; -webkit-line-clamp: 2; }
.next-steps { margin: 44px 0; }
.section-title { font-size: 24px; margin: 0 0 18px; }

/* CTA */
.cta-block { margin: 28px 0; padding: 22px 24px; background: var(--bg-alt); border-radius: var(--radius); text-align: center; }
.cta-block .btn { font-size: 16px; padding: 13px 24px; }
.cta-sub { font-size: 13.5px; color: var(--text-2); margin: 10px 0 0; }
.cta-top { margin-top: 8px; }
.store-cta { margin: 28px 0; padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.store-cta-text { display: flex; flex-direction: column; gap: 3px; }
.store-cta-text strong { font-size: 16px; }
.store-cta-text span { font-size: 13.5px; color: var(--text-2); }

/* 제휴 고지 */
.disclosure { font-size: 12.5px; color: var(--text-2); background: #fffaf3; border: 1px solid #f3dcb8; border-radius: 8px; padding: 8px 12px; margin: 12px 0; }

/* 광고 슬롯 */
.ad-slot { margin: 32px 0; text-align: center; }
.ad-placeholder { border: 1px dashed var(--border); border-radius: var(--radius-sm); color: var(--text-3); font-size: 12px; min-height: 100px; display: flex; align-items: center; justify-content: center; padding: 12px; background: repeating-linear-gradient(45deg, #fafafa, #fafafa 10px, #f5f5f7 10px, #f5f5f7 20px); }
.ad-bottom.ad-placeholder { min-height: 90px; }

/* 상품 카드 (구매형) */
.products { margin: 40px 0; }
.product-list { display: flex; flex-direction: column; gap: 12px; }
.product-card { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; background: var(--bg-alt); border-radius: var(--radius); padding: 18px 20px; }
.product-rank { width: 32px; height: 32px; border-radius: 50%; background: var(--text); color: #fff; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.product-name { font-size: 17px; margin-bottom: 2px; }
.product-type { font-size: 12.5px; color: var(--text-3); margin: 0 0 6px; }
.product-comment { font-size: 14.5px; color: var(--text); margin: 0 0 4px; line-height: 1.5; }
.product-pros { font-size: 13.5px; color: var(--text-2); margin: 0; }
.product-action .btn { font-size: 14px; padding: 9px 16px; }
.products-note { font-size: 13px; color: var(--text-3); margin-top: 12px; }

/* FAQ */
.faq { margin: 48px 0; }
.faq h2 { font-size: 28px; margin-bottom: 10px; }
.faq-item { border-top: 1px solid var(--border-light); }
.faq-item:last-of-type { border-bottom: 1px solid var(--border-light); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-size: 17px; font-weight: 600; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; font-weight: 300; color: var(--text-3); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 18px; font-size: 16px; color: var(--text); line-height: 1.65; }
.faq-a p:last-child { margin: 0; }

/* 출처 / 이력 */
.sources, .changelog { margin: 36px 0; font-size: 13.5px; color: var(--text-2); }
.sources h2, .changelog h2 { font-size: 15px; color: var(--text); margin-bottom: 8px; }
.sources ul, .changelog ul { padding-left: 1.2em; margin-bottom: 8px; }
.sources-note { font-size: 12.5px; color: var(--text-3); }
.changelog time { font-weight: 600; color: var(--text); margin-right: 6px; }

/* 허브 전체 글 */
.hub-index { margin: 44px 0; }
.hub-index h2 { font-size: 24px; margin-bottom: 14px; }
.hub-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border-light); }
.hub-list li { margin: 0; border-bottom: 1px solid var(--border-light); }
.hub-list a { display: flex; flex-direction: column; gap: 2px; padding: 14px 28px 14px 0; color: var(--text); position: relative; }
.hub-list a::after { content: "›"; position: absolute; right: 6px; top: 14px; color: var(--text-3); font-size: 20px; }
.hub-list a:hover { text-decoration: none; }
.hub-list a:hover strong { color: var(--link); }
.hub-list strong { font-size: 16px; }
.hub-list span { font-size: 13.5px; color: var(--text-2); }

/* 지금 단계 위젯 */
.phase-widget { margin: 40px 0; background: var(--bg-dark); color: #f5f5f7; border-radius: var(--radius); padding: 28px 26px; text-align: center; }
.phase-widget-kicker { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #a1a1a6; margin-bottom: 6px; }
.phase-widget-title { font-size: 24px; font-weight: 600; margin-bottom: 16px; letter-spacing: -0.02em; }
.phase-widget-title b { color: #2997ff; }

/* 저자 박스 */
.author-box { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--border-light); margin-top: 20px; font-size: 14px; }
.author-avatar { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: var(--text); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; }
.author-name { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.author-name span { font-weight: 400; color: var(--text-2); font-size: 13px; margin-left: 6px; }
.author-bio { color: var(--text-2); margin-bottom: 6px; line-height: 1.55; }

/* ── 홈 ───────────────────────────────────────── */
.hero { background: var(--bg-dark); color: #f5f5f7; padding: 64px 20px 0; text-align: center; overflow: hidden; }
.hero-inner { max-width: 780px; margin: 0 auto; }
.hero-kicker { font-size: 17px; color: #a1a1a6; font-weight: 500; margin-bottom: 10px; }
.hero h1 { font-size: 56px; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 14px; color: #fff; }
.hero-sub { font-size: 21px; line-height: 1.5; color: #d2d2d7; font-weight: 400; margin-bottom: 26px; }
.hero-sub .tag { vertical-align: 2px; }
.hero-phase-heading { font-size: 14px; color: #a1a1a6; margin-bottom: 10px; letter-spacing: .02em; }
.countdown { display: flex; justify-content: center; gap: 12px; margin-bottom: 22px; }
.countdown > div { min-width: 64px; background: rgba(255,255,255,.08); border-radius: 12px; padding: 10px 6px; }
.countdown b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown span { font-size: 11px; color: #a1a1a6; }
.hero-links { display: flex; justify-content: center; gap: 24px; margin: 22px 0 0; flex-wrap: wrap; }
.hero-link { color: #2997ff; font-size: 17px; }
.hero-visual { margin: 40px auto -40px; width: 200px; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }
.phone { display: block; }

.section { padding: 64px 20px; }
.container { max-width: var(--max); margin: 0 auto; }
.container.narrow { max-width: var(--article); }
.section-lead { font-size: 17px; color: var(--text-2); margin: -8px 0 26px; }
.section-quick { background: var(--bg); padding-top: 80px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quick { background: var(--bg-alt); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.quick-q { font-size: 14px; font-weight: 600; color: var(--text-3); margin-bottom: 8px; }
.quick-a { font-size: 17px; font-weight: 500; line-height: 1.45; margin-bottom: 12px; }
.quick-link { margin-top: auto; font-size: 14.5px; }
.section-hubs { background: var(--bg-alt); }
.hub-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.hub-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border-radius: var(--radius); padding: 28px 24px; color: var(--text); grid-column: span 2; min-height: 200px; transition: transform .2s, box-shadow .2s; }
.hub-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.hub-card:nth-child(4), .hub-card:nth-child(5) { grid-column: span 3; }
.hub-kicker { font-size: 12px; font-weight: 600; color: var(--text-3); letter-spacing: .04em; }
.hub-title { font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.hub-desc { font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.hub-more { margin-top: auto; padding-top: 10px; font-size: 14.5px; color: var(--link); }
.hub-release { background: var(--bg-dark); color: #f5f5f7; }
.hub-release .hub-title { color: #fff; } .hub-release .hub-desc { color: #a1a1a6; } .hub-release .hub-more { color: #2997ff; } .hub-release .hub-kicker { color: #86868b; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--border); }
.timeline li { position: relative; padding: 0 0 22px 24px; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--text); }
.timeline time { display: block; font-size: 13px; font-weight: 600; color: var(--text-3); margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.timeline span { font-size: 16.5px; }
.timeline-note { font-size: 13.5px; color: var(--text-3); margin-top: 16px; }
.section-popular { background: var(--bg-alt); }
.section-store { background: var(--bg-alt); }
.section-store .store-cta { margin: 0; background: var(--bg); }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.popular { list-style: none; padding: 0; margin: 0; }
.popular li { margin: 0; border-top: 1px solid var(--border); }
.popular a { display: grid; grid-template-columns: 32px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 14px 0; color: var(--text); }
.popular a:hover { text-decoration: none; } .popular a:hover .pop-t { color: var(--link); }
.pop-n { grid-row: span 2; font-size: 22px; font-weight: 600; color: var(--text-3); }
.pop-t { font-size: 16.5px; font-weight: 600; }
.pop-d { font-size: 13.5px; color: var(--text-2); }
.latest { list-style: none; padding: 0; margin: 0; }
.latest li { margin: 0; border-top: 1px solid var(--border); }
.latest a { display: flex; flex-direction: column; padding: 12px 0; color: var(--text); font-size: 15px; }
.latest time { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.section-trust .trust-item { margin-bottom: 22px; }
.section-trust h3 { font-size: 18px; margin-bottom: 6px; }
.section-trust p { color: var(--text-2); font-size: 16px; }

/* ── 푸터 ─────────────────────────────────────── */
.footer { background: var(--bg-alt); color: var(--text-2); font-size: 12px; border-top: 1px solid var(--border-light); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 36px 20px 28px; }
.footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.footer-col h3 { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 0 0 7px; line-height: 1.35; }
.footer-col a { color: var(--text-2); }
.footer-publisher { margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid var(--border); }
.footer-publisher h3 { font-size: 13px; color: var(--text-2); margin: 0 0 8px; font-weight: 600; }
.footer-publisher ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-publisher li { font-size: 13px; color: var(--text-2); }
.footer-publisher strong { color: var(--text); font-weight: 600; }
.footer-publisher a { color: var(--text-2); text-decoration: underline; }
.author-meta { font-size: 13px; color: var(--text-2); margin: 6px 0 0; }
.footer-disclaimer { padding: 18px 0 12px; line-height: 1.55; color: var(--text-3); border-bottom: 1px solid var(--border); margin: 0; }
.footer-legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; }
.footer-legal p { margin: 0; }
.footer-legal ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 14px; }
.footer-legal a { color: var(--text); }

/* ── 반응형 ───────────────────────────────────── */
/* 홈 화면에 추가 — 내비 버튼 + 안내 시트 (main.js §6) */
.globalnav-menu { margin-left: auto; }
.a2hs-btn { order: 3; margin-left: 22px; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: transparent; color: #f5f5f7; font: inherit; font-size: 12px; letter-spacing: -0.01em; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s; }
.a2hs-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.a2hs-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.a2hs-btn[hidden], .a2hs-sheet[hidden] { display: none; }
.a2hs-sheet { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.a2hs-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.a2hs-panel { position: relative; width: 100%; max-width: 440px; margin: 0 16px 16px; padding: 24px 22px calc(20px + env(safe-area-inset-bottom)); background: var(--bg); color: var(--text); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.25); animation: a2hs-up .25s ease-out; }
.a2hs-title { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.a2hs-desc { margin: 0 0 14px; font-size: 14px; color: var(--text-2); }
.a2hs-steps { margin: 0 0 18px; padding-left: 20px; font-size: 15px; line-height: 1.55; }
.a2hs-steps li { margin: 0 0 6px; }
.a2hs-ico { display: inline-block; padding: 0 4px; color: var(--blue); }
.a2hs-close { width: 100%; border: 0; cursor: pointer; font: inherit; }
.a2hs-open { overflow: hidden; }
@keyframes a2hs-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .a2hs-panel { animation: none; } }

@media (max-width: 1068px) {
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-card, .hub-card:nth-child(4), .hub-card:nth-child(5) { grid-column: span 1; }
  .hub-card:first-child { grid-column: span 2; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 734px) {
  body { font-size: 16px; }
  .globalnav-toggle { display: block; }
  .a2hs-btn { order: 0; margin-left: auto; margin-right: 4px; }
  .globalnav-menu { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.94); padding: 20px 24px; overflow-y: auto; }
  .nav-open .globalnav-menu { display: block; }
  .globalnav-menu ul { flex-direction: column; gap: 0; }
  .globalnav-menu li { border-bottom: 1px solid rgba(255,255,255,.12); margin: 0; }
  .globalnav-menu a { display: block; padding: 14px 0; font-size: 17px; }
  .phase-item { padding: 8px 16px; font-size: 12.5px; }
  .phase-item a { margin-left: 0; flex: 1 1 100%; }
  .article { padding: 0 16px 48px; }
  .article-header { padding: 28px 0 14px; }
  .article-header h1 { font-size: 30px; }
  .article-subtitle { font-size: 18px; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 24px; margin-top: 44px; }
  .article-body h3 { font-size: 18px; }
  .answer-box { padding: 18px 18px; }
  .answer-box li { font-size: 16.5px; }
  .table-wrap { margin: 16px -16px; padding: 0 16px; }
  table { font-size: 13.5px; min-width: 420px; }
  tbody th, tbody td, thead th { padding: 9px 10px; }
  .toc ol { columns: 1; }
  .card-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 32px 1fr; }
  .product-rank { width: 28px; height: 28px; font-size: 13px; }
  .product-action { grid-column: 2; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 19px; }
  .countdown > div { min-width: 56px; }
  .countdown b { font-size: 24px; }
  .hero-visual { width: 150px; margin-top: 30px; }
  .section { padding: 48px 16px; }
  .section-quick { padding-top: 60px; }
  .quick-grid { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-card:first-child { grid-column: span 1; }
  .hub-card { min-height: 0; padding: 22px 20px; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-legal { flex-direction: column; }
  .phase-widget-title { font-size: 20px; }
  .store-cta { flex-direction: column; align-items: flex-start; }
  /* 긴 한국어 CTA 문구가 좁은 화면에서 가로 스크롤을 만들지 않도록 줄바꿈 허용.
     keep-all 로 단어 중간이 아니라 띄어쓰기에서만 끊습니다. */
  .btn { white-space: normal; word-break: keep-all; }
  .cta-block { padding: 20px 16px; }
  .cta-block .btn { font-size: 15.5px; padding: 12px 18px; }
  /* 푸터 링크 탭 영역 확보 (12px 글씨 = 14px 높이 → 24px). 여백을 링크 안쪽으로 옮겨
     행 간격은 그대로 두면서 손가락이 닿는 면적만 넓힙니다. */
  .footer-col li { margin-bottom: 0; }
  .footer-col a { display: inline-block; padding: 5px 0; }
  .footer-legal ul { flex-wrap: wrap; gap: 2px 16px; }
  .footer-legal a { display: inline-block; padding: 5px 0; }
}
@media (max-width: 380px) {
  .cta-block .btn, .phase-widget .btn { font-size: 15px; padding: 12px 14px; }
  .countdown { gap: 8px; }
  .countdown > div { min-width: 48px; padding: 8px 4px; }
  .countdown b { font-size: 21px; }
  .brand-sub { display: none; }
}
@media print { .globalnav, .phase-strip, .ad-slot, .phase-widget, .footer { display: none !important; } }

/* ── 스크린리더 전용 (표 caption 등) ─────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── 푸터 허브 강조 ──────────────────────────────── */
.footer-col h3 a { color: var(--text); }
.footer-hub a { font-weight: 600; color: var(--text); }
.footer-more a { color: var(--link); }

/* ── 기사 대표 이미지 ────────────────────────────── */
.article-hero { margin: 24px 0 8px; }
.article-hero img { width: 100%; height: auto; border-radius: var(--radius); display: block; background: var(--bg-alt); aspect-ratio: 1200 / 630; }
.article-hero figcaption { font-size: 12.5px; color: var(--text-3); margin-top: 8px; text-align: center; }

/* ── 기사 본문 이미지 ────────────────────────────── */
.article-figure { margin: 28px 0 32px; }
.article-figure img { width: 100%; height: auto; display: block; border-radius: var(--radius); background: var(--bg-alt); }
.article-figure figcaption { margin-top: 9px; color: var(--text-3); font-size: 13px; line-height: 1.55; text-align: center; }

/* ── 사이트 내 검색 ──────────────────────────────── */
.search-box { margin: 24px 0 8px; }
.search-input { width: 100%; font-size: 17px; font-family: inherit; padding: 14px 18px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-alt); color: var(--text); -webkit-appearance: none; }
.search-input:focus { outline: none; border-color: var(--blue); background: #fff; }
.search-meta { font-size: 13.5px; color: var(--text-3); margin: 12px 0 0; }
.search-results { list-style: none; padding: 0; margin: 20px 0 0; }
.search-results li { margin: 0; border-top: 1px solid var(--border-light); }
.search-results a { display: flex; flex-direction: column; gap: 3px; padding: 14px 0; color: var(--text); }
.search-results a:hover { text-decoration: none; }
.search-results a:hover .sr-title { color: var(--link); }
.sr-kicker { font-size: 12px; font-weight: 600; color: var(--text-3); }
.sr-title { font-size: 16.5px; font-weight: 600; }
.sr-desc { font-size: 13.5px; color: var(--text-2); }
.search-empty { padding: 28px 0; color: var(--text-2); }
