/* ==========================================================================
   io-sweep.css — IO Sweep 소개 페이지(/io-sweep.html) 전용 스타일 (2026-10-26)
   - styles/main.css 위에 덧씌웁니다. 모든 규칙은 body.sweep-page 범위로 한정해
     main.css 를 쓰는 다른 페이지(apps, app-detail, testflight-guide)에 영향이 없습니다.
   - 색은 앱 아이콘의 파랑(#1d6cf0 → #1240b0)과 민트(#8ff0c4)를 기준으로 합니다.
   - 외부 CDN / 웹폰트 / 아이콘 폰트 없음(인라인 SVG만 사용).
   ========================================================================== */

.sweep-page {
  --sw-blue: #1d6cf0;
  --sw-blue-dark: #1240b0;
  --sw-mint: #8ff0c4;
  --sw-navy: #0b1235;
  background: #f4f6fb;
  line-height: 1.65;
}

.sweep-page img { border-radius: 0; }

/* 머리글: 회사 홈과 동일한 로고 이미지 + 메뉴 */
.sweep-page .header__inner { padding: 1.6rem 2.4rem; }
.sweep-page .logo img { height: 2.4rem; width: auto; }
.sweep-page .nav { gap: 2.2rem; font-size: 1.45rem; flex-wrap: wrap; }
.sweep-page .nav a { padding: 0.4rem 0.2rem; border-bottom: 2px solid transparent; }
.sweep-page .nav a:hover,
.sweep-page .nav a[aria-current="page"] { color: var(--color-primary); border-color: var(--color-primary); }

.sweep-page code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.86em;
  padding: 0.1em 0.45em;
  border-radius: 6px;
  background: rgba(29, 108, 240, 0.08);
  color: var(--sw-blue-dark);
  word-break: break-word;
}

/* ---------- 히어로 ---------- */
.sw-hero {
  position: relative;
  overflow: hidden;
  padding: 8rem 2.4rem 9.6rem;
  color: #fff;
  background: var(--sw-navy);
  background-image:
    radial-gradient(circle at 10% 10%, rgba(29, 108, 240, 0.6), transparent 45%),
    radial-gradient(circle at 95% 85%, rgba(143, 240, 196, 0.2), transparent 40%);
}

.sw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 70%);
  pointer-events: none;
}

.sw-hero__inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 5.6rem;
  align-items: center;
}

.sw-hero__brand { display: flex; align-items: center; gap: 1.6rem; margin-bottom: 2.4rem; }
.sw-hero__brand img { width: 7.2rem; height: 7.2rem; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.4)); }

.sw-hero__badge {
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sw-mint);
  background: rgba(143, 240, 196, 0.1);
  border: 1px solid rgba(143, 240, 196, 0.28);
}

.sw-hero__title {
  margin: 0;
  font-size: clamp(4.8rem, 7vw, 7.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.sw-hero__tagline {
  margin: 1.2rem 0 2rem;
  font-size: clamp(2rem, 2.4vw, 2.6rem);
  font-weight: 700;
  background: linear-gradient(90deg, #ffffff, var(--sw-mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sw-hero__desc {
  margin: 0 0 3.2rem;
  font-size: 1.7rem;
  color: rgba(255, 255, 255, 0.74);
  word-break: keep-all;
}

.sw-hero code { background: rgba(255, 255, 255, 0.12); color: #ffd79a; }

.sw-hero__actions { display: flex; flex-wrap: wrap; gap: 1.2rem; }

.sw-hero__note { margin: 1.6rem 0 0; font-size: 1.3rem; color: rgba(255, 255, 255, 0.55); }

.sw-hero__stats {
  display: flex;
  gap: 0;
  margin: 3.6rem 0 0;
  padding-top: 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sw-hero__stats div { padding-right: 3.2rem; }
.sw-hero__stats div + div { padding-left: 3.2rem; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.sw-hero__stats dt { font-size: 1.2rem; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.5); }
.sw-hero__stats dd { margin: 0.2rem 0 0; font-size: 2rem; font-weight: 800; }

/* 버튼 */
.sw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.5rem 2.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.55rem;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.sw-btn--primary {
  background: linear-gradient(135deg, #3d86ff, var(--sw-blue));
  color: #fff;
  box-shadow: 0 12px 30px rgba(29, 108, 240, 0.5);
}

.sw-btn--primary:hover,
.sw-btn--primary:focus-visible { transform: translateY(-2px); background: linear-gradient(135deg, #5596ff, #2a78f5); }

.sw-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.04); }
.sw-btn--ghost:hover,
.sw-btn--ghost:focus-visible { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

.sw-btn--light { background: #fff; color: var(--sw-blue-dark); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2); }
.sw-btn--light:hover,
.sw-btn--light:focus-visible { transform: translateY(-2px); }

/* 앱 화면 예시(기존 sweep-preview 를 어두운 히어로 위에 맞게 보정) */
.sweep-page .sweep-preview {
  border-radius: 1.8rem;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform 0.5s ease;
}

.sweep-page .sweep-preview:hover { transform: none; }
.sweep-page .sweep-preview__bar { background: linear-gradient(90deg, var(--sw-blue), var(--sw-blue-dark)); }

/* ---------- 공통 섹션 ---------- */
.sw-section { padding: 9.6rem 2.4rem; }
.sw-section--alt { background: #fff; }
.sw-section__inner { max-width: var(--max-width); margin: 0 auto; }
.sw-head { max-width: 76rem; margin-bottom: 4.8rem; }

.sw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--sw-blue);
  margin-bottom: 1.2rem;
}

.sw-eyebrow::before { content: ""; width: 2.4rem; height: 2px; background: currentColor; border-radius: 2px; }

.sw-title {
  margin: 0;
  font-size: clamp(2.8rem, 3.4vw, 4rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.015em;
  word-break: keep-all;
}

.sw-lead { margin: 1.6rem 0 0; font-size: 1.6rem; color: var(--color-text-muted); word-break: keep-all; }

/* 기능 카드 */
.sw-features { display: grid; gap: 2.4rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }

.sw-feature {
  position: relative;
  padding: 3.2rem 2.8rem;
  border-radius: 2.4rem;
  background: #fff;
  border: 1px solid rgba(29, 108, 240, 0.08);
  box-shadow: 0 12px 28px rgba(18, 64, 176, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sw-feature:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(18, 64, 176, 0.16); }

.sw-feature__icon {
  display: grid;
  place-items: center;
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 1.6rem;
  margin-bottom: 2rem;
  color: #fff;
  background: linear-gradient(135deg, #3d86ff, var(--sw-blue-dark));
  box-shadow: 0 8px 18px rgba(29, 108, 240, 0.35);
}

.sw-feature__icon svg { width: 2.6rem; height: 2.6rem; }

.sw-feature__badge {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  color: #0d6b47;
  background: rgba(143, 240, 196, 0.35);
}

.sw-feature__title { margin: 1rem 0 0.8rem; font-size: 1.9rem; font-weight: 800; }
.sw-feature__desc { margin: 0; font-size: 1.45rem; color: var(--color-text-muted); word-break: keep-all; }

/* 사용 단계 */
.sw-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.4rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: none;
}

.sw-steps li {
  position: relative;
  padding: 3.2rem 2.8rem;
  border-radius: 2.4rem;
  background: linear-gradient(180deg, #f3f7ff, #fff);
  border: 1px solid rgba(29, 108, 240, 0.1);
}

.sw-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 5.4rem;
  right: -2.2rem;
  width: 2rem;
  height: 2rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d6cf0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  z-index: 1;
}

.sw-steps__num {
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  background: var(--sw-blue);
  box-shadow: 0 0 0 6px rgba(29, 108, 240, 0.12);
  margin-bottom: 2rem;
}

.sw-steps h3 { margin: 0 0 0.8rem; font-size: 2rem; font-weight: 800; }
.sw-steps p { margin: 0; font-size: 1.45rem; color: var(--color-text-muted); word-break: keep-all; }

/* 규칙 표 */
.sweep-page .sweep-table-wrap { border-radius: 2rem; border: 1px solid rgba(29, 108, 240, 0.1); box-shadow: 0 12px 28px rgba(18, 64, 176, 0.08); }
.sweep-page .sweep-table th { background: #f3f7ff; }
.sweep-page .sweep-table tbody tr:hover td { background: #f8faff; }

/* 안전·설치·정보 카드 */
.sw-info { display: grid; gap: 2.4rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }

.sw-info__card {
  padding: 3.2rem 2.8rem;
  border-radius: 2.4rem;
  background: #f7f9fe;
  border: 1px solid rgba(29, 108, 240, 0.08);
  font-size: 1.45rem;
  color: var(--color-text);
}

.sw-info__card h3 { margin: 0 0 1.6rem; font-size: 1.9rem; font-weight: 800; }
.sw-info__card p { margin: 1.4rem 0 0; color: var(--color-text-muted); }
.sw-info__card .sw-info__sub { margin: 1.6rem 0 0.8rem; font-weight: 800; color: var(--color-text); }
.sw-info__card h3 + .sw-info__sub { margin-top: 0; }

.sw-info__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }

.sw-info__card li {
  position: relative;
  padding-left: 2.4rem;
  word-break: keep-all;
}

.sw-info__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--sw-blue);
}

.sw-info__card--safe {
  color: #fff;
  background: linear-gradient(160deg, #1d6cf0, #1240b0);
  border: 0;
  box-shadow: 0 20px 40px rgba(18, 64, 176, 0.3);
}

.sw-info__card--safe li::before {
  top: 0.3rem;
  width: 1.6rem;
  height: 1.6rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238ff0c4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sw-info__card--safe code { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* 하단 다운로드 배너 */
.sw-cta { padding: 0 2.4rem 9.6rem; background: #fff; }

.sw-cta__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2.8rem;
  padding: 4rem 4.8rem;
  border-radius: 3.2rem;
  color: #fff;
  background: linear-gradient(120deg, var(--sw-navy) 0%, #1240b0 60%, #1d6cf0 100%);
  box-shadow: 0 30px 60px rgba(18, 64, 176, 0.3);
}

.sw-cta__inner img { width: 8rem; height: 8rem; flex-shrink: 0; }
.sw-cta__inner div { flex: 1; }
.sw-cta__inner h2 { margin: 0 0 0.4rem; font-size: clamp(2.2rem, 2.8vw, 3rem); font-weight: 800; word-break: keep-all; }
.sw-cta__inner p { margin: 0; color: rgba(255, 255, 255, 0.72); }

/* 바닥글: 회사 홈과 동일한 구성 */
.sweep-page .footer { padding: 4.8rem 2.4rem 3.2rem; }
.sweep-page .footer__inner { gap: 3.2rem; grid-template-columns: 1.6fr 1fr 1fr; }
.sweep-page .footer__brand { margin-bottom: 1.2rem; }
.sweep-page .footer__brand img { height: 2rem; width: auto; filter: brightness(0) invert(1); }
.sweep-page .footer__corp { display: grid; gap: 0.5rem; font-size: 1.4rem; color: rgba(255, 255, 255, 0.72); }
.sweep-page .footer__corp strong { color: #fff; }
.sweep-page .footer h4 { font-size: 1.4rem; margin: 0 0 1.2rem; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.08em; }
.sweep-page .footer p { margin: 0 0 0.6rem; font-size: 1.4rem; color: rgba(255, 255, 255, 0.72); }
.sweep-page .footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sweep-page .footer__meta { margin-top: 1.2rem; padding-top: 2rem; color: rgba(255, 255, 255, 0.5); }

/* 스크롤 등장 효과 */
.js-reveal .sweep-page .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js-reveal .sweep-page .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 반응형 ---------- */
@media (max-width: 960px) {
  .sw-hero__inner { grid-template-columns: 1fr; gap: 4.8rem; }
  .sweep-page .sweep-preview { transform: none; }
  .sw-features, .sw-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sw-steps { grid-template-columns: 1fr; }
  .sw-steps li::after { display: none; }
}

@media (max-width: 640px) {
  .sweep-page .header__inner { flex-direction: column; gap: 1.2rem; padding: 1.4rem 1.8rem; }
  .sweep-page .nav { justify-content: center; gap: 1.4rem 1.8rem; font-size: 1.35rem; }
  .sw-hero { padding: 5.6rem 1.8rem 6.4rem; }
  .sw-hero__actions .sw-btn { flex: 1 1 auto; }
  .sw-hero__stats div { padding-right: 1.8rem; }
  .sw-hero__stats div + div { padding-left: 1.8rem; }
  .sw-hero__stats dd { font-size: 1.7rem; }
  .sw-section { padding: 6.4rem 1.8rem; }
  .sw-features, .sw-info { grid-template-columns: 1fr; }
  .sw-cta { padding: 0 1.8rem 6.4rem; }
  .sw-cta__inner { flex-direction: column; text-align: center; padding: 3.6rem 2.4rem; }
  .sw-cta__inner .sw-btn { width: 100%; }
  .sweep-page .footer__inner { grid-template-columns: 1fr; }
}

/* 규칙 표: 좁은 화면에서는 글자를 끊지 않고 표를 가로로 밀어 보게 합니다. */
.sweep-page .sweep-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sweep-page .sweep-table { min-width: 72rem; }
.sweep-page .sweep-table code { white-space: nowrap; word-break: normal; }

/* ==========================================================================
   2026-10-26 추가: macOS 다운로드 · 용량 분석 · 시스템 캐시 섹션
   ========================================================================== */
.sw-hero__note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.sw-btn svg { flex-shrink: 0; }
.sw-btn--mac { color: var(--sw-navy); background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); }
.sw-btn--mac:hover,
.sw-btn--mac:focus-visible { transform: translateY(-2px); background: #eef3ff; }
.sw-btn--outline { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.sw-btn--outline:hover,
.sw-btn--outline:focus-visible { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.sw-cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* 어두운 섹션 + 2단 배치 */
.sw-section--dark {
  color: #fff;
  background: var(--sw-navy);
  background-image:
    radial-gradient(circle at 100% 0%, rgba(29, 108, 240, 0.45), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(143, 240, 196, 0.14), transparent 40%);
}
.sw-section--dark .sw-lead { color: rgba(255, 255, 255, 0.72); }
.sw-section--dark code { background: rgba(255, 255, 255, 0.12); color: #ffd79a; }
.sw-eyebrow--mint { color: var(--sw-mint); }

.sw-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 5.6rem;
  align-items: center;
}

.sw-split .sw-lead { margin-bottom: 3.2rem; }

.sw-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.sw-checks li { position: relative; padding-left: 3rem; font-size: 1.5rem; color: rgba(255, 255, 255, 0.7); word-break: keep-all; }
.sw-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: rgba(143, 240, 196, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238ff0c4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 1.2rem no-repeat;
}
.sw-checks b { display: block; color: #fff; font-weight: 700; }

/* 용량 분석 예시 창 */
.tm-window {
  border-radius: 1.8rem;
  overflow: hidden;
  background: #f7f9ff;
  color: var(--color-text);
  font-size: 1.25rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.tm-window__bar { display: flex; align-items: center; gap: 0.6rem; padding: 1.1rem 1.4rem; color: #fff; font-weight: 700; background: linear-gradient(90deg, var(--sw-blue), var(--sw-blue-dark)); }
.tm-window__bar i { width: 1rem; height: 1rem; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.tm-window__bar span { margin-left: 0.8rem; }

.tm-window__crumb { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; align-items: baseline; padding: 1rem 1.4rem; border-bottom: 1px solid #e6eaf5; color: var(--color-text-muted); }
.tm-window__crumb b { color: var(--color-text); }
.tm-window__crumb em { font-style: normal; margin-left: auto; font-size: 1.15rem; }

.tm-window__body { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 1.2rem; padding: 1.2rem 1.4rem 1.4rem; }

.tm-tree { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; align-content: start; }
.tm-tree li { display: grid; grid-template-columns: minmax(0, 1fr) 5.6rem; grid-template-rows: auto 0.5rem; column-gap: 0.8rem; padding: 0.6rem 0.4rem; border-radius: 0.6rem; }
.tm-tree li:first-child { background: rgba(29, 108, 240, 0.08); }
.tm-tree span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.tm-tree b { text-align: right; font-weight: 700; }
.tm-tree i { grid-column: 1 / -1; height: 0.4rem; margin-top: 0.4rem; border-radius: 999px; background: linear-gradient(90deg, var(--sw-blue) var(--w), #e1e7f5 var(--w)); }

.tm-map {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  grid-template-rows: 1.2fr 0.8fr 0.6fr;
  grid-template-areas: "a b c" "a b d" "a e f" ;
  gap: 0.3rem;
  min-height: 24rem;
}
.tm-map span { position: relative; padding: 0.7rem 0.8rem; border-radius: 0.5rem; color: #fff; font-weight: 700; font-size: 1.15rem; line-height: 1.3; overflow: hidden; }
.tm-map small { display: block; font-weight: 500; opacity: 0.85; }
.tm-map .c1 { background: #1d6cf0; }
.tm-map .c2 { background: #3fc59a; }
.tm-map .c3 { background: #f2a33a; }
.tm-map .c4 { background: #8b6cf0; }
.tm-map .c5 { background: #e8607a; }
.tm-map .c6 { background: #4fb3d9; }
.tm-map .c7 { display: none; }

/* 시스템 캐시 항목 */
.cache-grid { list-style: none; margin: 0 0 3.2rem; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(24rem, 1fr)); }
.cache-grid li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1rem;
  padding: 1.6rem 1.8rem;
  border-radius: 1.6rem;
  background: #fff;
  border: 1px solid rgba(29, 108, 240, 0.1);
  box-shadow: 0 6px 16px rgba(18, 64, 176, 0.05);
}
.cache-grid b { font-size: 1.5rem; font-weight: 700; }
.cache-grid small { flex-basis: 100%; order: 3; font-size: 1.25rem; color: var(--color-text-muted); }
.cache-tag { margin-left: auto; font-size: 1.1rem; font-weight: 800; padding: 0.2rem 0.9rem; border-radius: 999px; white-space: nowrap; }
.cache-tag--on { color: #0d6b47; background: rgba(143, 240, 196, 0.38); }
.cache-tag--admin { color: #8a4b00; background: #fff1dc; }

.cache-notes { display: grid; gap: 2.4rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cache-notes article { padding: 2.8rem; border-radius: 2rem; background: linear-gradient(180deg, #f3f7ff, #fff); border: 1px solid rgba(29, 108, 240, 0.1); }
.cache-notes h3 { margin: 0 0 1rem; font-size: 1.8rem; font-weight: 800; word-break: keep-all; }
.cache-notes p { margin: 0; font-size: 1.45rem; color: var(--color-text-muted); word-break: keep-all; }

@media (max-width: 960px) {
  .sw-split { grid-template-columns: 1fr; gap: 4rem; }
  .cache-notes { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .tm-window__body { grid-template-columns: 1fr; }
  .tm-map { min-height: 18rem; }
  .sw-cta__actions { width: 100%; }
  .sw-cta__actions .sw-btn { flex: 1 1 auto; }
}

/* ==========================================================================
   2026-10-26 디자인 검증 반영
   ========================================================================== */
html { scroll-padding-top: 8rem; }
.sweep-page { word-break: keep-all; overflow-wrap: break-word; }
.sweep-page p, .sweep-page li { text-wrap: pretty; }
.sweep-page .nw { white-space: nowrap; }
.sw-hero__note a { white-space: nowrap; }

/* 키보드 포커스: 어두운 배경에서도 보이게 */
.sweep-page a:focus-visible { outline: 3px solid var(--sw-mint); outline-offset: 3px; border-radius: 8px; }
.sweep-page .page__header a:focus-visible,
.sweep-page .sw-section:not(.sw-section--dark) a:focus-visible { outline-color: var(--sw-blue); }
.sweep-page .sw-btn:focus-visible { border-radius: 999px; }

/* 흰 배경 위 eyebrow 대비 보정 */
.sw-eyebrow { color: var(--sw-blue-dark); }
.sw-eyebrow--mint { color: var(--sw-mint); }

/* 머리글 좌우 끝을 본문 폭에 맞춤 */
.sweep-page .header__inner { max-width: calc(var(--max-width) + 4.8rem); }

/* 기능 카드: 긴 도구 목록이 카드 밖으로 나가지 않게 */
.sw-feature__desc { overflow-wrap: anywhere; }

/* 히어로 앱 예시: 기울기를 줄여 글자 번짐 완화 */
.sweep-page .sweep-preview { transform: perspective(1400px) rotateY(-4deg) rotateX(1deg); }

/* 폴더 트리: 이름·크기는 1행, 막대는 2행 */
.tm-tree li { grid-template-rows: auto auto; }
.tm-tree span { grid-row: 1; grid-column: 1; }
.tm-tree b { grid-row: 1; grid-column: 2; }
.tm-tree i { grid-row: 2; grid-column: 1 / -1; margin-top: 0.3rem; }

/* 트리맵: 면적을 수치에 가깝게, 이름은 한 줄 */
.tm-map {
  grid-template-columns: 1.5fr 1.1fr 0.9fr;
  grid-template-rows: 1.1fr 0.75fr 0.75fr;
  grid-template-areas: "a b c" "a b d" "a e f";
}
.tm-map span { white-space: nowrap; text-overflow: ellipsis; }

/* 하단 배너: 버튼을 오른쪽 끝에 붙임 */
.sw-cta__inner div { flex: initial; }
.sw-cta__inner > div:not(.sw-cta__actions) { flex: 1; }
.sw-cta__actions { flex: 0 0 auto; gap: 1.2rem; }

/* 시스템 캐시: 고른 4열 격자 + 범례 */
.cache-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin: -2.4rem 0 2rem; font-size: 1.3rem; color: var(--color-text-muted); }
.cache-legend .cache-tag { margin-left: 0; }
.cache-legend .cache-tag:not(:first-child) { margin-left: 1rem; }
.cache-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cache-grid li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center; gap: 0.3rem 1rem; min-height: 7.6rem; }
.cache-grid small { grid-column: 1 / -1; order: initial; }
.cache-tag { margin-left: 0; align-self: center; }
.cache-tag--pick { color: #44506f; background: #eef1f8; }

@media (prefers-reduced-motion: reduce) {
  .sweep-page *, .sweep-page *::before, .sweep-page *::after { transition: none !important; }
  .js-reveal .sweep-page .reveal { opacity: 1; transform: none; }
}

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

@media (max-width: 640px) {
  html { scroll-padding-top: 7rem; }

  /* 모바일 머리글: 한 줄(로고 + 가로 스크롤 메뉴) */
  .sweep-page .header__inner { flex-direction: row; justify-content: space-between; gap: 1.6rem; padding: 1.2rem 1.6rem; text-align: left; }
  .sweep-page .logo img { height: 2rem; }
  .sweep-page .nav { flex-wrap: nowrap; overflow-x: auto; gap: 1.4rem; font-size: 1.3rem; scrollbar-width: none; justify-content: flex-start; }
  .sweep-page .nav::-webkit-scrollbar { display: none; }
  .sweep-page .nav a { white-space: nowrap; }

  .cache-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
  .cache-grid li { grid-template-columns: 1fr; padding: 1.2rem 1.4rem; min-height: 0; }
  .cache-grid b { font-size: 1.35rem; }
  .cache-tag { justify-self: start; }
  .cache-legend { margin-top: -2rem; }

  /* 정리 규칙 표 → 행마다 카드 */
  .sweep-page .sweep-table-wrap { overflow: visible; }
  .sweep-page .sweep-table { min-width: 0; }
  .sweep-page .sweep-table thead { display: none; }
  .sweep-page .sweep-table,
  .sweep-page .sweep-table tbody,
  .sweep-page .sweep-table tr { display: block; }
  .sweep-page .sweep-table tr { position: relative; padding: 1.4rem 1.6rem; border-bottom: 1px solid #e6eaf5; }
  .sweep-page .sweep-table tr:last-child { border-bottom: 0; }
  .sweep-page .sweep-table td { display: block; padding: 0.3rem 0; border: 0; }
  .sweep-page .sweep-table td::before { content: attr(data-label); display: inline-block; min-width: 6.4rem; margin-right: 0.8rem; font-size: 1.15rem; color: var(--color-text-muted); }
  .sweep-page .sweep-table td:first-child { font-weight: 800; font-size: 1.55rem; padding-right: 6rem; }
  .sweep-page .sweep-table td:first-child::before { display: none; }
  .sweep-page .sweep-table td[data-label="위험도"] { position: absolute; top: 1.4rem; right: 1.6rem; padding: 0; }
  .sweep-page .sweep-table td[data-label="위험도"]::before { display: none; }
  .sweep-page .sweep-table code { white-space: normal; }
}

/* 범례 묶음 간격, 모바일 메뉴 6개가 한 줄에 들어가게 */
.cache-legend .cache-tag:not(:first-child) { margin-left: 0; }
.cache-legend > .nw { display: inline-flex; align-items: center; gap: 0.6rem; margin-right: 1.4rem; }
@media (max-width: 640px) {
  .sweep-page .header__inner { gap: 1.2rem; padding: 1.2rem 1.4rem; }
  .sweep-page .logo img { height: 1.8rem; }
  .sweep-page .nav { gap: 1rem; font-size: 1.22rem; }
}

/* ---------- 2차 검증 반영 ---------- */
/* 바닥글 4칸(회사·주소·제품·연락처) */
.sweep-page .footer__inner { grid-template-columns: 1.4fr 1.3fr 1fr 1fr; }
@media (max-width: 900px) { .sweep-page .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sweep-page .footer__inner { grid-template-columns: 1fr; } }

/* 캐시 카드: 이름·칩은 1행, 설명은 2행 */
.cache-grid b { grid-row: 1; grid-column: 1; }
.cache-grid .cache-tag { grid-row: 1; grid-column: 2; }
.cache-grid small { grid-row: 2; }

/* 트리맵 셋째 열을 넓혀 이름 잘림 완화 */
.tm-map { grid-template-columns: 1.4fr 1.05fr 1fr; }

@media (max-width: 640px) {
  .cache-grid .cache-tag { grid-row: 2; grid-column: 1; }
  .cache-grid small { grid-row: 3; }
  .sw-info { grid-template-columns: minmax(0, 1fr); }
  .sw-info__card code { white-space: normal; overflow-wrap: anywhere; }
}

/* 360px 이하: 로고가 홈 링크이므로 '회사소개'를 숨겨 메뉴가 한 줄에 들어가게 */
@media (max-width: 380px) {
  .sweep-page .nav a[href="/#hero"] { display: none; }
}
@media (max-width: 640px) {
  .sweep-page .sw-info__card code.nw { white-space: normal; overflow-wrap: anywhere; }
}

/* ==========================================================================
   v1.1.0 소개 개편: 공감 섹션 · 실제 화면 · 운영체제별 캐시 목록
   ========================================================================== */
.sw-why { background: #fff; }

.sw-pains { display: grid; gap: 2.4rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }

.sw-pain {
  position: relative;
  padding: 3.6rem 2.8rem 2.8rem;
  border-radius: 2.4rem;
  background: #f4f6fb;
  border: 1px solid rgba(29, 108, 240, 0.08);
}

.sw-pain__quote {
  position: absolute;
  top: 0.6rem;
  left: 2rem;
  font-size: 6.4rem;
  line-height: 1;
  font-weight: 800;
  color: rgba(29, 108, 240, 0.18);
}

.sw-pain__text { position: relative; margin: 0 0 0.8rem; font-size: 2rem; font-weight: 800; line-height: 1.4; color: var(--color-text); }
.sw-pain__sub { margin: 0; font-size: 1.45rem; color: var(--color-text-muted); }

.sw-pain:nth-child(1) { background: #fff4f2; border-color: rgba(232, 96, 122, 0.15); }
.sw-pain:nth-child(1) .sw-pain__quote { color: rgba(232, 96, 122, 0.3); }
.sw-pain:nth-child(2) { background: #fff8ec; border-color: rgba(242, 163, 58, 0.18); }
.sw-pain:nth-child(2) .sw-pain__quote { color: rgba(242, 163, 58, 0.35); }

.sw-answer {
  margin-top: 3.2rem;
  padding: 2.8rem 3.2rem 2.8rem 7.2rem;
  border-radius: 2.4rem;
  color: #fff;
  background: linear-gradient(120deg, var(--sw-navy) 0%, #1240b0 70%, #1d6cf0 100%);
  position: relative;
}

.sw-answer::before {
  content: "";
  position: absolute;
  left: 2.6rem;
  top: 50%;
  width: 3rem;
  height: 3rem;
  margin-top: -1.5rem;
  border-radius: 50%;
  background: rgba(143, 240, 196, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238ff0c4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 1.7rem no-repeat;
}

.sw-answer p { margin: 0; font-size: 1.6rem; color: rgba(255, 255, 255, 0.78); }
.sw-answer strong { display: block; margin-bottom: 0.4rem; font-size: 1.85rem; color: #fff; }

/* 실제 앱 화면 */
.sw-shot { margin: 0 0 4rem; }

.sw-shot__frame {
  border-radius: 1.8rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(29, 108, 240, 0.12);
  box-shadow: 0 30px 70px rgba(18, 64, 176, 0.18);
}

.sw-shot__bar { display: flex; align-items: center; gap: 0.6rem; padding: 1rem 1.4rem; background: #eef1f6; border-bottom: 1px solid #dde2ec; }
.sw-shot__bar i { width: 1rem; height: 1rem; border-radius: 50%; }
.sw-shot__bar i:nth-child(1) { background: #ff6159; }
.sw-shot__bar i:nth-child(2) { background: #ffbd2e; }
.sw-shot__bar i:nth-child(3) { background: #28c941; }
.sw-shot__bar em { margin-left: 1rem; font-style: normal; font-size: 1.2rem; font-weight: 600; color: #6b7390; }
.sw-shot img { display: block; width: 100%; height: auto; }

.sw-shot figcaption { margin-top: 1.4rem; text-align: center; font-size: 1.35rem; color: var(--color-text-muted); }

/* 운영체제별 캐시 목록 */
.cache-platforms { display: grid; gap: 2.4rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 3.2rem; }
.cache-platform { padding: 2.4rem; border-radius: 2.4rem; background: #f7f9fe; border: 1px solid rgba(29, 108, 240, 0.08); }
.cache-platform__title { display: flex; align-items: center; gap: 0.8rem; margin: 0 0 1.6rem; font-size: 1.8rem; font-weight: 800; }
.cache-grid.cache-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; gap: 1rem; }
.cache-grid--2 li { min-height: 7rem; padding: 1.3rem 1.5rem; }
.cache-grid--2 b { font-size: 1.4rem; }

@media (max-width: 1100px) {
  .cache-grid.cache-grid--2 { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .sw-pains { grid-template-columns: 1fr; }
  .cache-platforms { grid-template-columns: 1fr; }
  .cache-grid.cache-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .sw-pain__text { font-size: 1.8rem; }
  .sw-answer { padding: 2.4rem 2.2rem 2.4rem 6rem; }
  .sw-answer::before { left: 1.8rem; }
  .cache-platform { padding: 1.8rem 1.4rem; }
  .cache-grid.cache-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
  .cache-grid--2 li { grid-template-columns: 1fr; min-height: 0; }
  .cache-grid--2 .cache-tag { grid-row: 2; grid-column: 1; justify-self: start; }
  .cache-grid--2 small { grid-row: 3; }
}
