/* =============================================================================
   계이득 새 하늘 스타일 공용 바탕 (2026-11-16) — 첫 화면(/)과 하위 페이지(/program, /program/features,
   /program/plans, /signature.html, /guide/streamer-setup)가 같이 쓴다.
   여기에 있는 것: 글꼴, --rl-* 토큰(라이트·다크), 리셋, 하늘 구름, 상단 헤더(메뉴·펼침·버튼), 바닥글.
   첫 화면 무대·카드·선택 상자는 landing.css, 하위 페이지 구성은 rl-pages.css가 맡는다.
   제목 글꼴 Jua(OFL)는 쓰는 글자만 서브셋 — 다시 만들 때:
     pyftsubset Jua-Regular.ttf --text-file=jua-landing.txt --flavor=woff2 --output-file=jua-landing.woff2 --layout-features='*' --no-hinting
   규칙: 라이트에 검은 면 없음, 카드 한쪽 색 띠 없음, 글자 12px 이상, 누르는 곳 44px 이상, 본문 대비 4.5 이상.
   ============================================================================= */
@font-face { font-family: "Pretendard"; font-weight: 400; font-display: swap; src: url("/assets/landing-v5/fonts/pretendard/Pretendard-Regular.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 500; font-display: swap; src: url("/assets/landing-v5/fonts/pretendard/Pretendard-Medium.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 600; font-display: swap; src: url("/assets/landing-v5/fonts/pretendard/Pretendard-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 700; font-display: swap; src: url("/assets/landing-v5/fonts/pretendard/Pretendard-Bold.woff2") format("woff2"); }
@font-face { font-family: "Jua Landing"; font-weight: 400; font-display: swap; src: url("/assets/role-landing/fonts/jua-landing.woff2") format("woff2"); }

:root {
  /* 하늘·글자 */
  --rl-sky-1: #f7f8ff;
  --rl-sky-2: #e9edff;
  --rl-sky-3: #d6e0ff;
  --rl-cloud: rgba(255, 255, 255, 0.85);
  --rl-ink: #1b1f4a;
  --rl-ink-2: #434a7a;
  --rl-ink-3: #5b6392;
  --rl-logo: var(--rl-ink); /* 헤더·바닥 로고 글자(다크는 흰색) */
  /* 포인트 */
  --rl-blue: #2b65f5; /* 흰 글자 4.9:1 */
  --rl-blue-2: #5b8cff;
  --rl-blue-deep: #1f4bd6;
  --rl-blue-ink: #1f4fd8;
  --rl-blue-face: #e6eeff;
  --rl-violet: #7b5cff;
  --rl-violet-2: #b7a9ff;
  --rl-violet-deep: #4b3bd6;
  --rl-violet-ink: #4b3bd6;
  --rl-violet-face: #efeaff;
  --rl-yellow: #ffc93c;
  --rl-pink: #ff6b9d;
  --rl-heart-blue: #8fb0ff;
  --rl-wheel-5: #ffd34d;
  --rl-wheel-6: #a596ff;
  /* 면·두께·그림자 */
  --rl-card: rgba(255, 255, 255, 0.92);
  --rl-card-solid: #ffffff;
  --rl-card-rim: rgba(255, 255, 255, 0.95);
  --rl-slab: #d5dbfa; /* 목업의 입체 판 아랫면 */
  --rl-line: rgba(70, 90, 190, 0.14);
  --rl-bar-track: #eceefc;
  --rl-shadow: 0 18px 44px rgba(60, 80, 180, 0.16), 0 2px 6px rgba(60, 80, 180, 0.08);
  --rl-shadow-sm: 0 8px 20px rgba(60, 80, 180, 0.12);
  --rl-shadow-hover: 0 24px 50px rgba(60, 80, 180, 0.22), 0 2px 6px rgba(60, 80, 180, 0.08);
  --rl-art-shadow: drop-shadow(0 24px 30px rgba(60, 80, 180, 0.22));
  --rl-icon-shadow: drop-shadow(0 12px 16px rgba(20, 20, 80, 0.2));
  --rl-heart-shadow: drop-shadow(0 6px 10px rgba(255, 107, 157, 0.35));
  --rl-title-stroke: #ffffff; /* 목업의 스티커 같은 흰 테두리 */
  --rl-title-glow: rgba(60, 80, 180, 0.16);
  /* 버튼·상자·카드 색 */
  --rl-on-cta: #ffffff;
  --rl-cta-hover: #1f4bd6;
  --rl-cta-shadow: 0 8px 18px rgba(47, 107, 255, 0.28);
  --rl-cta-shadow-hover: 0 10px 22px rgba(47, 107, 255, 0.34);
  --rl-door-1: #2a5ae8;
  --rl-door-2: #1d47cc;
  --rl-door-slab: #1736a6;
  --rl-on-door: #ffffff;
  --rl-on-door-2: #e6edff; /* 상자 그라데이션 위 4.8:1 */
  --rl-door-tag: rgba(8, 24, 110, 0.3);
  --rl-door-btn-hover: #e6eeff;
  --rl-sig-1: #7357f5;
  --rl-sig-2: #4b3bd6;
  --rl-sig-tile: #5a45e6;
  --rl-sig-slab: #3527a8;
  --rl-donate-1: #5b47e6;
  --rl-donate-2: #3a2bb0;
  --rl-donate-slab: #2a1f8f;
  --rl-amount: #ffe17a; /* 보라 바탕 4.6:1 */
  --rl-on-violet: #ffffff;
  --rl-on-violet-rim: rgba(255, 255, 255, 0.22);
  --rl-bubble: rgba(255, 255, 255, 0.95);
  --rl-bubble-ink: #2b2a6a;
  --rl-live: #d62a55; /* 흰 글자 4.9:1 */
  --rl-on-live: #ffffff;
  --rl-live-ring: rgba(255, 255, 255, 0.4);
  --rl-skip-bg: #1f4bd6;
  --rl-medal-1: #ffc93c;
  --rl-medal-2: #dfe3f3;
  --rl-medal-3: #f3c8a6;
  --rl-medal-ink: #1b1f4a;
  --rl-rank-1: #8ab4ff;
  --rl-rank-2: #ffb86b;
  --rl-rank-3: #ff8fb7;
  --rl-rank-4: #9fd8ff;
  /* 바닥 물결과 땅(바닥글) */
  --rl-wave-top: #5a8cff;
  --rl-ground: #2b63f5; /* 흰 글자 5.0:1 */
  --rl-wave-back-top: rgba(179, 200, 255, 0.8);
  --rl-wave-back-bottom: rgba(138, 169, 255, 0.8);
  --rl-on-ground: #ffffff;
  --rl-top-bg: #f7f8ff;
  --rl-error: #c8433f; /* 흰 카드 위 5.1:1: 다운로드 정보 실패 문장 */
  --rl-scrim: rgba(20, 26, 70, 0.48); /* 대화상자 뒤 막 */
  --rl-focus: #2f6bff;
  --rl-select: #cdd9ff;
  --rl-radius: 22px;
  --rl-font: "Pretendard", "Segoe UI", system-ui, -apple-system, sans-serif;
  --rl-display: "Jua Landing", "Pretendard", "Segoe UI", system-ui, sans-serif;
  --rl-hit: 44px;
  --rl-top-h: 68px; /* 고정 헤더 한 줄 높이(안전 영역 제외): 하위 페이지 목차·앵커 위치가 따라 쓴다 */
  --rl-sp-1: 8px;
  --rl-sp-2: 12px;
  --rl-sp-3: 16px;
  --rl-sp-4: 24px;
  --rl-sp-5: 32px;
  --rl-sp-6: 48px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  /* 2026-11-16 주인님 "다크모드 너무 파랑파": 바탕·카드·선·바닥은 살짝 차가운 먹색, 파랑·보라는 버튼·강조(파랑 상자, 시그니처·후원 카드, 지금 메뉴 면)에만 */
  --rl-sky-1: #111317;
  --rl-sky-2: #15171c;
  --rl-sky-3: #1a1d23;
  --rl-cloud: rgba(255, 255, 255, 0.035);
  --rl-ink: #eef0f4;
  --rl-ink-2: #c5c9d2;
  --rl-ink-3: #a5abb7;
  --rl-blue: #6d9bff;
  --rl-blue-2: #8fb0ff;
  --rl-blue-deep: #2f6bff;
  --rl-blue-ink: #a9c0ff;
  --rl-blue-face: #1f2738;
  --rl-violet: #9d86ff;
  --rl-violet-2: #8f7cf0;
  --rl-violet-deep: #5a48e0;
  --rl-violet-ink: #cfc3ff;
  --rl-violet-face: #262236;
  --rl-card: rgba(33, 36, 43, 0.94);
  --rl-card-solid: #21242b;
  --rl-card-rim: rgba(255, 255, 255, 0.08);
  --rl-slab: #0b0c0f;
  --rl-line: rgba(255, 255, 255, 0.1);
  --rl-bar-track: #30343d;
  --rl-shadow: 0 18px 44px rgba(0, 0, 0, 0.38), 0 2px 6px rgba(0, 0, 0, 0.2);
  --rl-shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.3);
  --rl-shadow-hover: 0 24px 50px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.2);
  --rl-art-shadow: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.35));
  --rl-icon-shadow: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.3));
  --rl-title-stroke: transparent;
  --rl-title-glow: rgba(0, 0, 0, 0.3);
  --rl-on-cta: #0f1535;
  --rl-cta-hover: #8fb0ff; /* 남색 글자 8:1 */
  --rl-cta-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
  --rl-cta-shadow-hover: 0 10px 22px rgba(0, 0, 0, 0.4);
  --rl-door-slab: #10287e;
  --rl-sig-slab: #261c80;
  --rl-donate-slab: #1d1566;
  --rl-wave-top: #262931;
  --rl-ground: #17191e;
  --rl-wave-back-top: rgba(255, 255, 255, 0.07);
  --rl-wave-back-bottom: rgba(255, 255, 255, 0.045);
  --rl-on-ground: #eceef2;
  --rl-top-bg: #111317;
  --rl-error: #ff9a94; /* 먹색 카드 위 7.3:1 */
  --rl-scrim: rgba(0, 0, 0, 0.62);
  --rl-focus: #8fb0ff;
  --rl-select: #34405e;
  --rl-logo: #ffffff;
  color-scheme: dark;
}

/* ---------- 바탕 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--rl-sky-1); scrollbar-color: var(--rl-blue-2) var(--rl-sky-2); scroll-behavior: smooth; }
body.rl {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--rl-sky-1) 0%, var(--rl-sky-2) 55%, var(--rl-sky-3) 100%);
  color: var(--rl-ink);
  font-family: var(--rl-font);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: clip;
  isolation: isolate; /* .rl-sky(z-index -1)가 body 바탕 위에 그려지도록 */
  caret-color: var(--rl-blue);
  padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px); /* viewport-fit=cover: 가로 노치 */
}
.rl ::selection { background: var(--rl-select); color: var(--rl-ink); }
:where(.rl) a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; } /* 특이도 0,0,1: 버튼·상자의 클래스 색이 이긴다 */
:where(.rl) :focus-visible { outline: 3px solid var(--rl-focus); outline-offset: 3px; } /* 모서리는 각 요소의 것을 따른다 */
:where(.rl) img { display: block; max-width: 100%; height: auto; }
:where(.rl) :where(h1, h2, p, ul, ol) { margin: 0; } /* 특이도 0: 컴포넌트 클래스의 간격이 이긴다 */
:where(.rl) :where(ul, ol) { padding: 0; list-style: none; }
.rl-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.rl-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rl-skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--rl-skip-bg); color: var(--rl-on-door); font-weight: 600; text-decoration: none; white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; }
.rl-skip:focus-visible { top: 12px; }
.rl-wrap { width: min(1320px, 100% - 48px); margin-inline: auto; }

/* 하늘: 구름(가벼운 라디얼 그라데이션) — 문서 전체 높이, 글자 아래 */
.rl-sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.rl-cloud { position: absolute; display: block; height: 160px; width: 460px; border-radius: 999px; background: radial-gradient(closest-side at 30% 60%, var(--rl-cloud) 70%, transparent), radial-gradient(closest-side at 55% 35%, var(--rl-cloud) 62%, transparent), radial-gradient(closest-side at 78% 62%, var(--rl-cloud) 66%, transparent); opacity: 0.9; }
.rl-cloud-1 { left: -120px; top: 104px; width: 560px; height: 220px; }
.rl-cloud-2 { right: -160px; top: 120px; width: 620px; height: 240px; }
.rl-cloud-3 { left: 8%; top: 560px; width: 420px; height: 150px; opacity: 0.7; }
.rl-cloud-4 { right: 10%; top: 700px; width: 520px; height: 190px; opacity: 0.75; }

/* ---------- 상단 ---------- */
.rl-top { position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top, 0px); background: var(--rl-top-bg); }
.rl-top-row { width: min(1240px, 100% - 48px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: var(--rl-sp-4); min-height: var(--rl-top-h); }
.rl-brand { display: inline-flex; align-items: center; gap: 10px; min-height: var(--rl-hit); justify-self: start; font-family: var(--rl-display); font-size: 24px; letter-spacing: -0.02em; text-decoration: none; color: var(--rl-logo); }
.rl-brand img { height: 30px; width: auto; }
:root[data-theme="dark"] .rl-brand img { filter: brightness(0) invert(1); }
.rl-menu-btn { display: none; }
.rl-nav { display: contents; }
.rl-nav-links { display: flex; align-items: center; gap: 4px; }
.rl-nav-links > a, .rl-dd > summary { display: inline-flex; align-items: center; gap: 6px; min-height: var(--rl-hit); padding: 0 16px; border-radius: 12px; color: var(--rl-ink); font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color 0.16s ease, color 0.16s ease; }
.rl-nav-links > a:hover, .rl-dd > summary:hover, .rl-dd[open] > summary { background: var(--rl-blue-face); color: var(--rl-blue-ink); }
.rl-dd { position: relative; }
.rl-dd > summary { list-style: none; }
.rl-dd > summary::-webkit-details-marker { display: none; }
.rl-dd > summary svg { width: 16px; height: 16px; transition: transform 0.18s ease; }
.rl-dd[open] > summary svg { transform: rotate(180deg); }
.rl-dd-list { position: absolute; left: 0; top: calc(100% + 8px); min-width: 196px; padding: 8px; border-radius: 16px; background: var(--rl-card-solid); box-shadow: var(--rl-shadow); }
.rl-dd-list a { display: flex; align-items: center; min-height: var(--rl-hit); padding: 0 14px; border-radius: 10px; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.rl-dd-list a:hover { background: var(--rl-blue-face); color: var(--rl-blue-ink); }
/* 지금 보고 있는 페이지: 같은 파랑 면 + 굵기(색만으로 표시하지 않음). 펼침은 그 안의 페이지일 때 제목에 표시 */
.rl-nav-links > a[aria-current="page"], .rl-dd.is-current > summary, .rl-dd-list a[aria-current="page"] { background: var(--rl-blue-face); color: var(--rl-blue-ink); font-weight: 700; }
.rl-nav-cta { display: flex; align-items: center; gap: 10px; justify-self: end; }
/* 테마 전환(해·달, 2026-11-16 주인님 "우상단에"): 헤더 줄 맨 끝. 화이트면 달(다크로), 다크면 해(화이트로). site.js의 #theme-toggle과 겹치지 않게 id 없음 */
.rl-theme-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; width: var(--rl-hit); height: var(--rl-hit); padding: 0; border: 1.5px solid var(--rl-line); border-radius: 50%; background: var(--rl-card-solid); color: var(--rl-ink); cursor: pointer; transition: background-color 0.16s ease, color 0.16s ease; }
.rl-theme-btn:hover { background: var(--rl-blue-face); color: var(--rl-blue-ink); }
.rl-theme-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rl-theme-sun, :root[data-theme="dark"] .rl-theme-moon { display: none; }
:root[data-theme="dark"] .rl-theme-sun { display: block; }
@media (min-width: 981px) {
  .rl-nav-cta { grid-row: 1; grid-column: 3; margin-right: calc(var(--rl-hit) + 10px); } /* 같은 칸 오른쪽 끝을 해·달 버튼에 비워 둔다 */
  .rl-theme-btn { grid-row: 1; grid-column: 3; justify-self: end; }
}
.rl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--rl-hit); padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease; }
.rl-btn-line { border-color: var(--rl-blue-ink); color: var(--rl-blue-ink); background: var(--rl-card-solid); }
.rl-btn-line:hover { background: var(--rl-blue-face); }
.rl-btn-blue { background: var(--rl-blue); color: var(--rl-on-cta); box-shadow: var(--rl-cta-shadow); }
.rl-btn-blue:hover { background: var(--rl-cta-hover); box-shadow: var(--rl-cta-shadow-hover); }
.rl-btn:active { transform: translateY(1px); }
.rl-btn-spark { width: 16px; height: 16px; fill: var(--rl-yellow); }

/* ---------- 공용 조각(첫 화면·하위 페이지): 알약, 그림 칸, 장식 SVG, LIVE 배지, 바닥 물결 ---------- */
.rl-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 18px; border-radius: 999px; background: var(--rl-card-solid); color: var(--rl-blue-ink); font-size: 14px; font-weight: 600; box-shadow: var(--rl-shadow-sm); }
.rl-pill svg { width: 18px; height: 18px; fill: var(--rl-yellow); }
.rl-art { display: block; }
.rl-art img { width: 100%; height: auto; }
.rl-live { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 11px; border-radius: 999px; background: var(--rl-live); color: var(--rl-on-live); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; box-shadow: var(--rl-shadow-sm); }
.rl-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--rl-on-live); box-shadow: 0 0 0 3px var(--rl-live-ring); }
.rl-live b { font-weight: 600; }
.rl-deco { position: absolute; pointer-events: none; }
.rl-spark { width: 22px; height: 22px; fill: var(--rl-yellow); }
.rl-burst { width: 42px; height: 42px; color: var(--rl-yellow); }
.rl-heart { fill: var(--rl-pink); filter: var(--rl-heart-shadow); }
.rl-wave { position: absolute; left: 0; bottom: -1px; z-index: -1; display: block; width: 100%; height: clamp(110px, 11vw, 170px); pointer-events: none; }
.rl-stop-wave-top { stop-color: var(--rl-wave-top); }
.rl-stop-ground { stop-color: var(--rl-ground); }
.rl-stop-back-top { stop-color: var(--rl-wave-back-top); }
.rl-stop-back-bottom { stop-color: var(--rl-wave-back-bottom); }
.rl-nobr { white-space: nowrap; } /* 아이콘이 홀로 다음 줄로 넘어가지 않게 마지막 낱말과 묶는다 */

/* ---------- 바닥: 물결과 같은 땅색. 이름·소개 + 분류 4열(서비스·기능·도움말·회사·약관) → 사업자 정보·저작권 줄 (주인님 2026-11-16 "카테고리 줄별로") ---------- */
.rl-foot { padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--rl-ground); color: var(--rl-on-ground); font-size: 13px; }
.rl-foot :focus-visible { outline-color: var(--rl-on-ground); }
.rl-foot-main { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 3.4fr); gap: 20px 48px; padding: 36px 0 20px; }
.rl-foot-name { font-family: var(--rl-display); font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
:root[data-theme="dark"] .rl-foot-name { color: var(--rl-logo); }
.rl-foot-tag { margin-top: 8px; max-width: 17em; font-size: 14px; line-height: 1.6; }
.rl-foot-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; }
.rl-foot-h { margin: 0; font-family: inherit; font-size: 15px; font-weight: 800; line-height: 1.4; }
.rl-foot-col ul { margin-top: 6px; }
.rl-foot-col a { display: inline-flex; align-items: center; min-height: var(--rl-hit); font-size: 15px; font-weight: 500; text-decoration: none; }
.rl-foot-col a:hover { text-decoration: underline; }
.rl-foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding: 16px 0; border-top: 1px solid color-mix(in srgb, var(--rl-on-ground) 30%, transparent); }
.rl-foot-info { flex: 1 1 520px; display: flex; flex-wrap: wrap; gap: 0 16px; line-height: 1.6; } /* 상호·번호·주소·메일을 한 덩어리씩: 주소·번호가 줄 중간에서 갈라지지 않게 */
.rl-foot-info a { display: inline-block; padding-block: 12px; margin-block: -12px; } /* 문장 속 메일 링크도 누르는 높이 44px 이상, 줄 높이는 그대로 */

/* ---------- 모션 감소(공용): 펼침 화살표·버튼 전환과 눌림을 멈추고 앵커 이동은 바로 ---------- */
@media (prefers-reduced-motion: reduce) {
  .rl-dd > summary svg, .rl-btn, .rl-theme-btn { transition: none; }
  .rl-btn:active { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 반응형(공용) ---------- */
@media (max-width: 980px) {
  .rl-top-row { display: flex; justify-content: space-between; column-gap: 10px; } /* 메뉴 · 해·달 사이 */
  .rl-menu-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; min-height: var(--rl-hit); padding: 0 16px; border: 1.5px solid var(--rl-line); border-radius: 999px; background: var(--rl-card-solid); color: var(--rl-ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
  .rl-top-row > .rl-menu-btn { margin-left: auto; } /* 980px 이하: 로고 … 메뉴 · 해·달 */
  .rl-menu-btn[aria-expanded="true"] { background: var(--rl-blue-face); color: var(--rl-blue-ink); }
  .rl-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 12px 24px 20px; background: var(--rl-card-solid); border-top: 1px solid var(--rl-line); box-shadow: var(--rl-shadow); }
  .rl-top.is-open { background: var(--rl-card-solid); }
  .rl-top.is-open .rl-nav { display: grid; gap: 4px; }
  .rl-nav-links { display: grid; gap: 2px; }
  .rl-nav-links > a, .rl-dd > summary { width: 100%; justify-content: space-between; min-height: 48px; }
  .rl-dd-list { position: static; min-width: 0; padding: 0 0 6px 14px; border-radius: 0; background: transparent; box-shadow: none; }
  .rl-dd-list a { font-weight: 500; color: var(--rl-ink-2); }
  .rl-nav-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
  .rl-btn { min-height: 48px; }
  .rl-foot-main { grid-template-columns: minmax(0, 1fr); } /* 바닥글: 이름·소개 위, 분류 4열 아래 */
}
@media (max-width: 759px) {
  :root { --rl-top-h: 64px; }
  .rl-wrap { width: min(1320px, 100% - 32px); }
  .rl-top-row { width: min(1240px, 100% - 32px); }
  .rl-nav { padding-inline: 16px; }
  .rl-brand img { height: 26px; }
  .rl-brand { font-size: 21px; }

  /* 바닥글: 분류 두 칸 격자 → 사업자 정보·저작권 */
  .rl-foot-main { gap: 16px; padding: 24px 0 12px; }
  .rl-foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .rl-foot-row { padding: 12px 0 14px; gap: 0 12px; }
  .rl-foot-info { flex-basis: 100%; gap: 0 12px; line-height: 1.55; }
}

/* 모바일 QA 2026-11-22 L3: 짧은 링크도 손가락 크기(44px)로 누를 수 있게. 글자 위치는 그대로 */
.rl-foot-col li > a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.rl-faq-more a, .faq-more a { display: inline-flex; align-items: center; min-height: 44px; }
