/* =========================================================
   GOODTUBE 공통 스타일
   기준: 차콜 블랙 + 흰 · 옅은 회색 + 레드 한 색(1안 「블랙 레드 채널 비교형」)
   글꼴: 본문·제목 한 계열(기업형 고딕). 외부 CDN 을 부르지 않고
   설치된 글꼴 순서로 잡는다 — 자체 호스팅 글꼴 파일을 받으면 @font-face 만 추가.
   ========================================================= */

:root {
  --ink: #111214;
  --ink-2: #1a1b1e;
  --ink-3: #26282c;
  --ink-deep: #0b0b0c;
  --paper: #f2f2f0;
  --white: #ffffff;
  --line: #e2e2de;
  --line-strong: #c9c9c4;
  --line-dark: rgba(255, 255, 255, 0.12);
  --text: #111214;
  --text-2: #43464c;
  --text-3: #686b72;
  --text-on-dark: #f5f5f3;
  --text-on-dark-2: #b9bcc2;
  --red: #d7262d;
  --red-deep: #b51f25;
  --red-on-dark: #ff4d55;
  --red-tint: #fdeeee;
  --kakao: #fee500;
  --kakao-ink: #191919;
  --tg: #1a7ab0;
  --tg-deep: #156593;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Noto Sans KR", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-1: 0 1px 2px rgba(17, 18, 20, 0.06), 0 8px 24px rgba(17, 18, 20, 0.06);
  --shadow-2: 0 2px 4px rgba(17, 18, 20, 0.06), 0 24px 48px rgba(17, 18, 20, 0.14);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --sec-y: 88px;
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --header-h: 62px;
    --sec-y: 60px;
  }
}

/* ---------- 바탕 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  /* 320px 에서 가로 스크롤이 생기지 않도록 하는 마지막 안전선(스티키 헤더를 막지 않는 clip) */
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
s { text-decoration-thickness: 1px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; flex: none; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 3px solid var(--red-on-dark); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 6px; font-weight: 700;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.br-pc { display: inline; }
@media (max-width: 767px) { .br-pc { display: none; } }
/* 「1:1 상담」처럼 갈라지면 뜻이 끊기는 묶음 */
.nw { white-space: nowrap; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 16px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.15s var(--ease), box-shadow 0.2s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .ico { width: 18px; height: 18px; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-deep); }
.btn-primary .ico-kakao { color: var(--kakao); }

.btn-ghost { border-color: rgba(255, 255, 255, 0.32); color: var(--white); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn-ghost .ico-tg { color: #5cc0f2; }

.btn-line { border-color: var(--ink); color: var(--ink); background: var(--white); }
.btn-line:hover { background: var(--ink); color: var(--white); }

.btn-kakao { background: var(--kakao); color: var(--kakao-ink); }
.btn-kakao:hover { background: #f2d900; }
.btn-tg { background: var(--tg); color: var(--white); }
.btn-tg:hover { background: var(--tg-deep); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: inherit; transition: background-color 0.2s;
}
.icon-btn:hover { background: rgba(127, 127, 127, 0.14); }
.icon-btn .ico { width: 22px; height: 22px; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--ink);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.text-link .ico { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.text-link:hover .ico { transform: translateX(3px); }
.text-link-dark { color: var(--white); }

/* ---------- 머리표·제목 ---------- */
.eyebrow { font-size: 14px; font-weight: 700; color: var(--red); letter-spacing: 0; margin-bottom: 12px; }
.eyebrow-on-dark { color: var(--red-on-dark); }

.sec-title {
  font-size: clamp(1.625rem, 1.05rem + 1.65vw, 2.5rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.25;
}
.sec-desc { margin-top: 12px; font-size: 17px; color: var(--text-2); }
.sec-head { margin-bottom: 40px; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

@media (max-width: 767px) {
  .sec-head { margin-bottom: 28px; }
  .sec-desc { font-size: 16px; }
}

.section { padding-block: var(--sec-y); position: relative; }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: var(--text-on-dark); }
/* 앵커 여백은 html 의 scroll-padding-top 한 곳에서만 잡는다(고정 머리글 높이 + 12px) */

/* ---------- 태그(알약 대신 각진 꼬리표) ---------- */
.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 8px;
  border-radius: 4px; font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap;
}
.tag-type { background: var(--paper); color: var(--ink); }
.tag-badge { background: var(--red); color: var(--white); }
.tag-ex { border: 1px dashed currentColor; color: var(--text-3); background: transparent; }

/* =========================================================
   공지 띠 · 머리글
   ========================================================= */
.notice { background: var(--ink-deep); color: var(--text-on-dark-2); font-size: 13px; border-bottom: 1px solid #1f2023; }
.notice[hidden] { display: none; }
.notice-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding-block: 8px; }
.notice-text { display: flex; align-items: baseline; gap: 10px; min-width: 0; line-height: 1.5; }
.notice-label {
  flex: none; display: inline-flex; align-items: center; height: 20px; padding: 0 7px;
  border: 1px solid var(--red-on-dark); color: var(--red-on-dark); border-radius: 3px;
  font-size: 11px; font-weight: 800;
}
/* 공지 띠는 알림 한 줄만 둔다. 상담 단추는 머리글 「구매 상담」 · 첫 화면 · 상시 단추가 맡는다(같은 행동 중복 정리) */
@media (max-width: 767px) {
  .notice-in { min-height: 36px; }
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22); }
.header-in { display: flex; align-items: center; gap: 32px; height: var(--header-h); }

/* 로고는 처음 화면으로 가는 링크라 누르는 높이를 44px 로 잡는다(글자 크기는 그대로) */
.logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--white); flex: none; }
.logo-mark { width: 28px; height: 28px; color: var(--red-on-dark); }
.logo-word { font-size: 22px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.logo-word span { color: var(--red-on-dark); }
.logo-sm .logo-mark { width: 24px; height: 24px; }
.logo-sm .logo-word { font-size: 19px; }

.gnb { margin-left: auto; }
.gnb ul { display: flex; gap: 4px; }
.gnb a {
  position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 14px;
  font-size: 16px; font-weight: 600; color: #d4d6da; transition: color 0.2s;
}
.gnb a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--red-on-dark); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.gnb a:hover { color: var(--white); }
.gnb a[aria-current="true"] { color: var(--white); }
.gnb a[aria-current="true"]::after, .gnb a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn {
  display: none; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-dark); color: var(--white);
}
.menu-btn .ico { width: 22px; height: 22px; }

@media (max-width: 1099px) {
  .gnb { display: none; }
  .header-actions { margin-left: auto; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 767px) {
  .header-in { gap: 12px; }
  .logo-mark { width: 24px; height: 24px; }
  .logo-word { font-size: 19px; }
  /* 휴대폰은 화면 아래 상담 막대(카카오톡 · 텔레그램)가 늘 보이므로 머리글의 같은 행동 단추는 뺀다 —
     첫 화면에 같은 상담 단추가 5개 겹치던 것을 4개로, 머리글은 로고와 메뉴 두 요소로 */
  .header-cta { display: none; }
  .menu-btn { width: 44px; height: 44px; }
}
@media (max-width: 359px) {
  .logo { gap: 6px; }
  .logo-mark { width: 22px; height: 22px; }
  .logo-word { font-size: 18px; }
}

/* 모바일 메뉴(dialog) */
.mnav {
  margin: 0 0 0 auto; padding: 0; border: 0;
  width: min(380px, 88vw); height: 100%; max-height: 100%; max-width: 100%;
  background: var(--ink); color: var(--white);
}
.mnav::backdrop { background: rgba(8, 8, 9, 0.6); }
.mnav[open] { animation: slide-in-r 0.32s var(--ease); }
.mnav-in { display: flex; flex-direction: column; min-height: 100%; padding: 14px 20px calc(24px + env(safe-area-inset-bottom)); }
.mnav-top { display: flex; align-items: center; justify-content: space-between; height: 48px; margin-bottom: 16px; }
.mnav-list { border-top: 1px solid var(--line-dark); }
.mnav-list a {
  display: flex; align-items: center; gap: 14px; min-height: 58px;
  border-bottom: 1px solid var(--line-dark); font-size: 18px; font-weight: 700;
}
.mnav-list a span { font-size: 13px; font-weight: 700; color: var(--red-on-dark); width: 22px; }
.mnav-list a[aria-current="true"], .mnav-list a[aria-current="page"] { color: var(--red-on-dark); }
.mnav-cta { display: grid; gap: 10px; margin-top: auto; padding-top: 28px; }

@keyframes slide-in-r { from { transform: translateX(100%); } to { transform: none; } }

/* =========================================================
   첫 화면
   ========================================================= */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background-color: var(--ink);
  background-image:
    radial-gradient(60% 70% at 88% 18%, rgba(215, 38, 45, 0.22), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  background-position: 0 0, center top, center top;
  padding: 72px 0 140px;
}
.hero-in { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }

.hero-title {
  font-size: clamp(1.75rem, 1rem + 3.4vw, 3.5rem);
  font-weight: 800; letter-spacing: -0.045em; line-height: 1.18;
}
.hero-title .line { display: block; }
.hero-title em {
  font-style: normal; color: var(--red-on-dark);
  /* 강조어 아래 얇은 레드 밑줄: 글자 그라데이션 대신 선 하나로 */
  background: linear-gradient(transparent 88%, rgba(255, 77, 85, 0.45) 88%);
}
.hero-lead { margin-top: 24px; font-size: 18px; line-height: 1.7; color: var(--text-on-dark-2); max-width: 34em; }
.hero-lead .sent { display: block; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 15px; color: #d4d6da; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .ico {
  width: 20px; height: 20px; padding: 3px; border-radius: 50%;
  background: rgba(255, 77, 85, 0.16); color: var(--red-on-dark);
}

.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: 14px; overflow: hidden;
  aspect-ratio: 3 / 2; background: var(--ink-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  outline: 1px solid rgba(255, 255, 255, 0.08); outline-offset: -1px;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }

.hero-card {
  position: absolute; left: -36px; bottom: -40px; width: 300px;
  background: var(--white); color: var(--ink);
  border-radius: var(--radius); padding: 18px 20px 16px;
  box-shadow: var(--shadow-2);
}
.hero-card-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; }
.hero-card-title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(215, 38, 45, 0.15); }
.hero-card-list { margin-top: 12px; border-top: 1px solid var(--line); }
.hero-card-list div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.hero-card-list dt { color: var(--text-3); }
.hero-card-list dd { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; }
.hero-card-list dd .ico { width: 16px; height: 16px; color: var(--red); }
.hero-card-link { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; margin-bottom: -6px; font-size: 14px; font-weight: 700; color: var(--red); min-height: 44px; }
.hero-card-link .ico { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.hero-card-link:hover .ico { transform: translateX(3px); }

/* 첫 화면 진입: 처음 그려진 모양이 최종 모양, 움직임은 아래에서 살짝 올라오는 것 하나만 */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise 0.7s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.hero-copy > :nth-child(3) { animation-delay: 0.14s; }
.hero-copy > :nth-child(4) { animation-delay: 0.2s; }
.hero-copy > :nth-child(5) { animation-delay: 0.26s; }
.hero-visual { animation: rise 0.8s var(--ease) 0.12s both; }

@media (max-width: 1099px) {
  .hero { padding: 56px 0 120px; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 720px; }
  .hero-card { left: auto; right: 20px; bottom: -32px; }
}
@media (max-width: 767px) {
  .hero { padding: 36px 0 76px; background-size: auto, 40px 40px, 40px 40px; }
  .hero-in { gap: 28px; }
  .hero-lead { margin-top: 16px; font-size: 16px; }
  .hero-cta { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hero-cta .btn { min-height: 54px; padding: 0 12px; font-size: 16px; }
  .hero-facts { margin-top: 20px; gap: 8px 16px; font-size: 14px; }
  .hero-photo { aspect-ratio: 16 / 10; border-radius: 12px; }
  .hero-photo img { object-position: 64% 50%; }
  /* 모바일: 카드가 사진 주제(모니터·카메라)를 덮지 않도록 사진 아래로 내려 겹친다 */
  .hero-card { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: -28px 12px 0; padding: 14px 16px 12px; }
  .hero-card-list div { padding: 7px 0; font-size: 13px; }
}

/* =========================================================
   겹친 빠른 메뉴 5칸
   ========================================================= */
.quick { position: relative; z-index: 3; margin-top: -72px; }
.quick-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-2); overflow: hidden;
}
.quick-grid li + li { border-left: 1px solid var(--line); }
.quick-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  height: 100%; padding: 26px 24px 24px; transition: background-color 0.2s;
}
.quick-ico {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px;
  border-radius: 10px; background: var(--paper); color: var(--ink);
  transition: background-color 0.2s, color 0.2s, transform 0.25s var(--ease);
}
.quick-ico .ico { width: 22px; height: 22px; }
.quick-label { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.q-short { display: none; }
.quick-desc { font-size: 14px; color: var(--text-3); }
.quick-item:hover { background: #fafaf8; }
.quick-item:hover .quick-ico { background: var(--red); color: var(--white); transform: translateY(-2px); }
.quick-item-accent .quick-ico { background: var(--red); color: var(--white); }

@media (max-width: 1099px) {
  .quick { margin-top: -56px; }
  .quick-item { padding: 20px 16px; }
  .quick-desc { display: none; }
}
@media (max-width: 767px) {
  .quick { margin-top: -36px; }
  .quick-grid { border-radius: 12px; }
  .quick-item { align-items: center; padding: 14px 2px 12px; gap: 0; text-align: center; }
  .quick-ico { width: 40px; height: 40px; margin-bottom: 6px; border-radius: 50%; }
  .quick-ico .ico { width: 20px; height: 20px; }
  .quick-label { font-size: 13px; font-weight: 700; letter-spacing: -0.02em; }
  /* 좁은 폭: 화면에는 두 글자 줄임말, 읽기 프로그램에는 전체 이름 */
  .q-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .q-short { display: inline; }
}

/* =========================================================
   신뢰 띠
   ========================================================= */
.trust { padding: 36px 0 8px; }
.trust-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.trust-list li { display: flex; align-items: center; gap: 14px; padding: 22px 24px; }
.trust-list li + li { border-left: 1px solid var(--line); }
.trust-list .ico { width: 28px; height: 28px; color: var(--red); }
.trust-list strong { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.trust-list span { display: block; font-size: 14px; color: var(--text-3); }
.trust-list li[hidden] { display: none; }

@media (max-width: 1099px) {
  .trust-list li { padding: 18px 16px; gap: 10px; }
}
@media (max-width: 767px) {
  .trust { padding: 24px 0 0; }
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-list li { padding: 14px 10px; align-items: flex-start; }
  .trust-list li + li { border-left: 0; }
  .trust-list li:nth-child(even) { border-left: 1px solid var(--line); }
  .trust-list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .trust-list .ico { width: 22px; height: 22px; margin-top: 2px; }
  .trust-list strong { font-size: 14px; }
  .trust-list span { font-size: 13px; }
}

/* =========================================================
   패키지 카드(인기 = 어두운 빠른 고르기 카드 .pop, 가격 = 흰 요금제형 .pkg-plan)
   ========================================================= */
.pkg {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.pkg-head { padding: 22px 22px 0; }
.pkg-tags { display: flex; flex-wrap: wrap; gap: 6px; min-height: 24px; }
.pkg-title { margin-top: 14px; font-size: 26px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.25; }
.pkg-body { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 22px; }
.pkg-feat { flex: 1; }
.pkg-feat li { display: flex; align-items: flex-start; gap: 8px; padding: 5px 0; font-size: 15px; color: var(--text-2); }
.pkg-feat .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--red); }
.price { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.price-list { font-size: 14px; color: var(--text-3); line-height: 1.4; }
.price-sale { display: flex; align-items: baseline; gap: 6px; line-height: 1.2; margin-top: 2px; }
.price-off { font-size: 20px; font-weight: 800; color: var(--red); margin-right: 2px; }
.price-sale strong { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price-unit { font-size: 16px; font-weight: 700; }
.pkg-body > .btn { margin-top: 18px; }
.pkg-body > .btn .ico { transition: transform 0.2s var(--ease); }
.pkg-body > .btn:hover .ico { transform: translateX(3px); }

/* 인기 패키지 = 빠른 고르기 카드: 카드 전체가 어둡고, 구독자 숫자를 가장 크게.
   아래 「채널 종류별 가격」의 흰 요금제 카드(제목 · 체크 3줄)와 정보 역할 · 모양을 나눈다 */
.pop {
  position: relative; display: flex; flex-direction: column;
  padding: 22px 24px 24px; border-radius: var(--radius); color: var(--white);
  background:
    radial-gradient(110% 60% at 100% 0%, rgba(215, 38, 45, 0.34), transparent 62%),
    var(--ink);
  outline: 1px solid rgba(255, 255, 255, 0.06); outline-offset: -1px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.pop:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(17, 18, 20, 0.24); }
.pop .tag-type { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.pop .tag-ex { color: #c3c6cc; }
.pop-title { margin-top: 26px; font-weight: 800; line-height: 1; }
.pop-pre { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--text-on-dark-2); }
.pop-num { font-size: 54px; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.pop-unit { margin-left: 2px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
/* 관리자에서 「구독자 n명」 꼴이 아닌 제목을 넣었을 때 */
.pop-title-plain { font-size: 26px; letter-spacing: -0.04em; line-height: 1.25; }
.pop-feat { flex: 1; margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--text-on-dark-2); }
.pop-feat li { position: relative; padding-left: 14px; }
.pop-feat li + li { margin-top: 4px; }
.pop-feat li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 2px; background: var(--red-on-dark); }
.pop .price { margin-top: 20px; border-top-color: var(--line-dark); }
.pop .price-list { color: #8e9198; }
.pop .price-sale { flex-wrap: wrap; }
.pop .price-off { color: var(--red-on-dark); }
.pop > .btn { margin-top: 18px; }
.pop > .btn .ico { transition: transform 0.2s var(--ease); }
.pop > .btn:hover .ico { transform: translateX(3px); }

.pkg-plan { border-color: var(--line); }
.pkg-plan .pkg-head { padding: 26px 26px 0; }
.pkg-plan .pkg-title { font-size: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pkg-plan .pkg-body { padding: 16px 26px 26px; }
.pkg-plan.is-featured { border-color: var(--ink); }
.pkg-plan.is-featured::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--red); }

/* 인기 패키지 한 줄 넘기기 */
.car-ctrl { display: flex; gap: 8px; flex: none; }
.car-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--ink); background: var(--white);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}
.car-btn:hover:not(:disabled) { background: var(--ink); color: var(--white); border-color: var(--ink); }
.car-btn:disabled { opacity: 0.35; cursor: default; }

.car-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 6px 2px 10px; margin: -6px -2px 0;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track > * { scroll-snap-align: start; }
.car-progress { position: relative; height: 2px; margin-top: 22px; background: var(--line); border-radius: 2px; overflow: hidden; }
.car-progress span { position: absolute; inset: 0 auto 0 0; width: 25%; background: var(--ink); transition: transform 0.3s var(--ease), width 0.3s; }

@media (max-width: 1099px) {
  .car-track { grid-auto-columns: calc((100% - 40px) / 2.6); }
}
@media (max-width: 767px) {
  .car-ctrl { display: none; }
  /* 빠른 고르기 카드는 요금제 카드보다 좁게 — 다음 카드가 더 보여 옆으로 넘길 수 있음이 드러난다 */
  .car-track {
    grid-auto-columns: min(74%, 270px); gap: 12px;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .pkg-title { font-size: 23px; }
  .price-sale strong { font-size: 25px; }
  .pop { padding: 20px 20px 20px; }
  .pop-title { margin-top: 22px; }
  .pop-num { font-size: 46px; }
  .pop-unit { font-size: 19px; }
}

/* 가격 탭 */
.tabs { display: flex; border-bottom: 1px solid var(--line-strong); margin-bottom: 32px; }
.tab {
  position: relative; min-height: 52px; padding: 0 26px;
  font-size: 17px; font-weight: 700; color: var(--text-3);
  transition: color 0.2s;
}
.tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--red); transform: scaleX(0); transition: transform 0.3s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab-panel:focus-visible { outline-offset: 8px; }
.tab-panel:not([hidden]) { animation: fade-up 0.35s var(--ease); }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

@media (max-width: 1099px) {
  .plan-grid { gap: 16px; }
  .pkg-plan .pkg-head { padding: 22px 20px 0; }
  .pkg-plan .pkg-body { padding: 14px 20px 22px; }
  .pkg-plan .pkg-title { font-size: 25px; }
}
@media (max-width: 767px) {
  .tabs { margin-bottom: 20px; }
  .tab { flex: 1 1 0; padding: 0 4px; font-size: 15px; min-height: 48px; }
  /* 모바일: 요금제 카드를 세로로 쌓지 않고 옆으로 넘겨 스크롤을 줄인다 */
  .plan-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(80%, 300px); gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px;
    scroll-padding-inline: var(--gutter);
  }
  .plan-grid::-webkit-scrollbar { display: none; }
  .plan-grid > * { scroll-snap-align: start; }
}

/* 구매 방법 띠 */
.buy-band {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
  margin-top: 48px; padding: 40px 48px; border-radius: 16px;
  background:
    radial-gradient(70% 140% at 100% 50%, rgba(215, 38, 45, 0.32), transparent 65%),
    var(--ink);
  color: var(--white);
}
.buy-title { font-size: clamp(1.375rem, 1rem + 1vw, 1.875rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.3; }
.buy-desc { margin-top: 10px; color: var(--text-on-dark-2); font-size: 16px; }
.buy-actions { display: flex; gap: 12px; }

@media (max-width: 1099px) {
  .buy-band { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 767px) {
  .buy-band { margin-top: 32px; padding: 28px 20px; border-radius: 14px; gap: 22px; }
  .buy-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .buy-actions .btn { padding: 0 10px; font-size: 15px; min-height: 52px; }
}
@media (max-width: 359px) {
  /* 320px: 두 단추를 나란히 두면 글자가 끝에 붙으므로 위아래로 */
  .hero-cta { grid-template-columns: 1fr; }
}
@media (max-width: 374px) {
  /* 구매 띠는 안쪽 여백이 한 번 더 있어 360px 까지 위아래로 */
  .buy-actions { grid-template-columns: 1fr; }
}

/* =========================================================
   예상 수익 표
   ========================================================= */
.rev-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.table-wrap { border: 1px solid var(--line-strong); border-radius: var(--radius); overflow-x: auto; }
.rev-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rev-table th, .rev-table td { padding: 18px 20px; text-align: center; }
.rev-table thead th { background: var(--ink); color: var(--white); font-size: 15px; font-weight: 700; line-height: 1.35; }
.rev-table thead th:first-child { text-align: left; }
.th-pre { display: block; font-size: 12px; font-weight: 500; color: var(--text-on-dark-2); }
.rev-table tbody tr { border-top: 1px solid var(--line); }
.rev-table tbody th { text-align: left; font-size: 16px; font-weight: 800; }
.rev-table td { font-size: 17px; font-weight: 700; color: var(--ink); }
.rev-table tbody tr.is-mark { background: var(--red-tint); }
.rev-table tbody tr.is-mark th { box-shadow: inset 4px 0 0 var(--red); color: var(--red-deep); }
.rev-note { margin-top: 14px; font-size: 14px; color: var(--text-3); }

.rev-aside { padding: 30px 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.rev-aside-title { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.rev-factors { margin-top: 16px; border-top: 1px solid var(--line-strong); }
.rev-factors li { display: flex; gap: 12px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 700; }
.rev-factors span { font-size: 13px; font-weight: 800; color: var(--red); }
.rev-aside-desc { margin: 16px 0 18px; font-size: 15px; color: var(--text-2); }

@media (max-width: 1099px) {
  .rev-layout { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .rev-table th, .rev-table td { padding: 14px 6px; }
  .rev-table thead th { font-size: 13px; }
  .rev-table thead th:first-child, .rev-table tbody th { padding-left: 14px; }
  .rev-table tbody th { font-size: 14px; }
  .rev-table td { font-size: 14px; }
  .th-pre { font-size: 11px; }
  .rev-aside { padding: 24px 20px; }
}

/* =========================================================
   진행 절차 · 구매 전 확인 사항
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.step { position: relative; padding-right: 20px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 24px; left: 60px; right: 12px; height: 1px; background: var(--line-strong);
}
.step-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; background: var(--white); border: 1px solid var(--ink);
  font-size: 15px; font-weight: 800; color: var(--ink);
}
.step:last-child .step-num { background: var(--red); border-color: var(--red); color: var(--white); }
.step-title { margin-top: 18px; font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }
.step-desc { margin-top: 8px; font-size: 15px; color: var(--text-2); line-height: 1.65; }
.steps-note { margin-top: 24px; font-size: 14px; color: var(--text-3); }

@media (max-width: 1099px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 640px; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; padding: 0 0 24px; }
  .step:not(:last-child)::after { top: 52px; bottom: 4px; left: 24px; right: auto; width: 1px; height: auto; }
  .step-num { grid-row: span 2; }
  .step-title { margin-top: 10px; }
  .step-desc { margin-top: 4px; }
}
@media (max-width: 767px) {
  .step { grid-template-columns: 40px 1fr; column-gap: 14px; padding-bottom: 20px; }
  .step-num { width: 40px; height: 40px; font-size: 13px; }
  .step:not(:last-child)::after { top: 44px; left: 20px; }
  .step-title { margin-top: 7px; font-size: 17px; }
  .step-desc { font-size: 14px; }
  .steps-note { margin-top: 8px; }
}

.check-layout {
  display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px;
  margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line-strong);
}
.check-title { font-size: 26px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.3; }
.check-desc { margin: 12px 0 20px; color: var(--text-2); }

.acc { border-top: 2px solid var(--ink); }
.acc-item { border-bottom: 1px solid var(--line-strong); }
.acc-h { font-size: inherit; }
.acc-btn {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 64px; padding: 16px 4px;
  text-align: left; font-size: 17px; font-weight: 700; letter-spacing: -0.02em;
}
.acc-num { flex: none; width: 26px; font-size: 14px; font-weight: 800; color: var(--red); }
.acc-label { flex: 1; }
/* 여는 단추: 사이트 색 원 안 + (열면 −) */
.acc-ico {
  position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--red); transition: background-color 0.2s, transform 0.3s var(--ease);
}
.acc-ico::before, .acc-ico::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px;
  background: var(--white); border-radius: 1px; transition: transform 0.3s var(--ease);
}
.acc-ico::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-ico { background: var(--ink); }
.acc-btn[aria-expanded="true"] .acc-ico::after { transform: rotate(90deg) scaleX(0); }
.acc-btn:hover .acc-label { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.acc-panel p { padding: 0 52px 22px 46px; color: var(--text-2); }
.acc-panel a { color: var(--red-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.acc-panel:not([hidden]) { animation: fade-up 0.3s var(--ease); }

@media (max-width: 1099px) {
  .check-layout { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; padding-top: 36px; }
}
@media (max-width: 767px) {
  .check-title { font-size: 22px; }
  .acc-btn { gap: 12px; font-size: 15px; min-height: 58px; padding: 12px 0; }
  .acc-num { width: 22px; font-size: 13px; }
  .acc-ico { width: 28px; height: 28px; }
  .acc-ico::before, .acc-ico::after { width: 12px; margin-left: -6px; }
  .acc-panel p { padding: 0 0 18px 34px; font-size: 15px; }
}

/* =========================================================
   강점(어두운 바탕 · 큰 번호 · 1px 선)
   ========================================================= */
.strength-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.strength-media { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; background: var(--ink-2); }
.strength-media picture { display: block; width: 100%; height: 100%; }
.strength-media img { width: 100%; height: 100%; object-fit: cover; }
.strength-body .sec-title { color: var(--white); }
.strength-list { margin-top: 32px; border-top: 1px solid var(--line-dark); }
.strength-list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; padding: 30px 0; border-bottom: 1px solid var(--line-dark); }
.strength-num { font-size: 44px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--red-on-dark); }
.strength-title { font-size: 24px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.35; color: var(--white); }
.strength-desc { margin-top: 10px; color: var(--text-on-dark-2); font-size: 16px; line-height: 1.75; }
.strength-list .text-link { margin-top: 16px; }

@media (max-width: 1099px) {
  .strength-layout { grid-template-columns: 1fr; gap: 40px; }
  .strength-media { aspect-ratio: 16 / 9; max-height: none; }
  /* 이 폭부터는 가로 사진(strength-desk-wide)이 나온다 — 소품 다섯 개가 가운데 한 줄 */
  .strength-media img { object-position: 50% 50%; }
}
@media (max-width: 767px) {
  .strength-layout { gap: 28px; }
  .strength-media { aspect-ratio: 16 / 10; border-radius: 12px; }
  .strength-list { margin-top: 20px; }
  .strength-list li { grid-template-columns: 48px minmax(0, 1fr); padding: 22px 0; }
  .strength-num { font-size: 28px; }
  .strength-title { font-size: 19px; }
  .strength-desc { font-size: 15px; }
  .strength-desc br { display: none; }
}

/* =========================================================
   이용 후기
   ========================================================= */
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.review[hidden] { display: none; }
.review-top { display: flex; align-items: center; justify-content: space-between; }
.review-quote { width: 30px; height: 30px; color: var(--red); }
.review-product { margin-top: 18px; font-size: 14px; font-weight: 800; color: var(--ink); }
.review-text { flex: 1; margin-top: 8px; font-size: 17px; color: var(--text-2); line-height: 1.7; }
.review-author { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-3); }
.review-grid:focus-visible { outline-offset: 6px; }

@media (max-width: 1099px) {
  .review-grid { gap: 16px; }
  .review { padding: 22px; }
}
@media (max-width: 767px) {
  .review-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82%, 320px); gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scroll-padding-inline: var(--gutter);
  }
  .review-grid::-webkit-scrollbar { display: none; }
  .review { scroll-snap-align: start; }
  .review-text { font-size: 16px; }
}

/* =========================================================
   바닥글(기관형)
   ========================================================= */
.site-footer { background: var(--ink-deep); color: #a9acb2; font-size: 14px; }
.footer-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 44px 0; border-bottom: 1px solid var(--line-dark);
}
.footer-cta-title { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem); font-weight: 800; letter-spacing: -0.04em; color: var(--white); line-height: 1.35; }
.footer-cta-desc { margin-top: 4px; color: var(--text-on-dark-2); font-size: 15px; }
.footer-cta-actions { display: flex; gap: 10px; flex: none; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 48px 0 40px; }
.footer-tagline { margin-top: 14px; color: #a9acb2; }
.footer-h { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.footer-info div { display: flex; gap: 12px; line-height: 2; }
.footer-info dt { color: #8e9198; min-width: 46px; }
.footer-info dd { color: #d4d6da; }
.footer-info a:hover, .footer-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-links li { line-height: 2.1; }
.footer-links a { color: #c3c6cc; }
.footer-links strong { font-weight: 700; color: var(--white); }
.footer-links-2 { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 24px; }

.footer-bottom { padding: 22px 0 32px; border-top: 1px solid var(--line-dark); }
.copyright { font-size: 13px; color: #8e9198; }
.onda-credit { margin-top: 4px; font-size: 12px; color: #8e9198; white-space: nowrap; }
.onda-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 1099px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .footer-cta { flex-direction: column; align-items: flex-start; padding: 36px 0; }
  .footer-cta-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .footer-cta-actions .btn { padding: 0 10px; font-size: 15px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 28px; }
  .footer-bottom { padding-bottom: 24px; }
}
@media (max-width: 359px) {
  .footer-cta-actions { grid-template-columns: 1fr; }
}

/* =========================================================
   상시 상담 버튼(PC 원형 / 모바일 하단 막대)
   ========================================================= */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; flex-direction: column; gap: 12px; }
.fab-btn {
  position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  box-shadow: 0 10px 24px rgba(17, 18, 20, 0.22); transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.fab-btn .ico { width: 26px; height: 26px; }
.fab-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(17, 18, 20, 0.28); }
.fab-kakao { background: var(--kakao); color: var(--kakao-ink); }
.fab-tg { background: var(--tg); color: var(--white); }
.fab-label {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translate(6px, -50%);
  padding: 6px 10px; border-radius: 6px; background: var(--ink); color: var(--white);
  font-size: 13px; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s var(--ease);
}
.fab-btn:hover .fab-label, .fab-btn:focus-visible .fab-label { opacity: 1; transform: translate(0, -50%); }

/* 768~1399px: 본문 오른쪽 끝(카드 「구매 상담」 단추 · 표 끝 칸)과 겹치는 폭이 넓어지는 구간이라 조금 작게 · 가장자리 쪽으로 */
@media (min-width: 768px) and (max-width: 1399px) {
  .fab { right: 14px; bottom: 16px; gap: 10px; }
  .fab-btn { width: 50px; height: 50px; }
  .fab-btn .ico { width: 23px; height: 23px; }
}

@media (max-width: 767px) {
  body.page-home, body.page-terms { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .fab {
    left: 0; right: 0; bottom: 0; flex-direction: row; gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--ink); border-top: 1px solid var(--line-dark);
  }
  .fab-btn {
    flex: 1 1 0; width: auto; height: 52px; border-radius: var(--radius-sm);
    display: flex; gap: 8px; box-shadow: none;
  }
  .fab-btn .ico { width: 20px; height: 20px; }
  .fab-btn:hover { transform: none; box-shadow: none; }
  .fab-label {
    position: static; transform: none; opacity: 1; padding: 0; background: none; color: inherit;
    font-size: 15px; pointer-events: auto;
  }
  .fab-btn:hover .fab-label, .fab-btn:focus-visible .fab-label { transform: none; }
}

/* =========================================================
   상담 선택 창(dialog) — PC 가운데 / 모바일 아래에서 올라오는 시트
   ========================================================= */
.sheet {
  width: min(440px, calc(100% - 32px)); max-width: 100%; padding: 0; border: 0;
  border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-2);
}
.sheet::backdrop { background: rgba(8, 8, 9, 0.6); }
.sheet[open] { animation: fade-up 0.28s var(--ease); }
.sheet-in { position: relative; padding: 32px 28px 26px; }
.sheet-close { position: absolute; top: 12px; right: 12px; }
.sheet-title { font-size: 24px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.3; padding-right: 36px; }
.sheet-product { margin-top: 12px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--paper); font-size: 15px; font-weight: 700; }
.sheet-actions { display: grid; gap: 10px; margin-top: 22px; }
.sheet-fallback { margin-top: 16px; padding: 16px; border: 1px solid var(--red); border-radius: var(--radius-sm); background: var(--red-tint); }
.sheet-fallback-msg { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.sheet-note { margin-top: 16px; font-size: 14px; color: var(--text-3); }

@media (max-width: 767px) {
  .sheet {
    width: 100%; max-height: 92vh; margin: auto 0 0; border-radius: 16px 16px 0 0;
  }
  .sheet[open] { animation: slide-up 0.3s var(--ease); }
  .sheet-in { padding: 26px 20px calc(22px + env(safe-area-inset-bottom)); }
  .sheet-title { font-size: 21px; }
}
@keyframes slide-up { from { transform: translateY(100%); } to { transform: none; } }

/* =========================================================
   스크롤 진입 — 사용자가 처음 스크롤한 뒤 아래쪽 블록에만 적용(캡처·키보드 사용 시 내용이 숨지 않게)
   ========================================================= */
.reveal-wait { opacity: 0; transform: translateY(18px); }
.reveal-in { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }

/* =========================================================
   약관 페이지
   ========================================================= */
.page-hero {
  color: var(--white); background-color: var(--ink);
  background-image:
    radial-gradient(50% 120% at 100% 0%, rgba(215, 38, 45, 0.22), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  padding: 56px 0 48px;
}
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--text-on-dark-2); margin-bottom: 18px; }
.crumbs a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #6f7279; }
.page-title { font-size: clamp(1.875rem, 1.2rem + 2vw, 2.75rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.2; }
.page-desc { margin-top: 12px; color: var(--text-on-dark-2); font-size: 17px; }

.terms-tabs { position: sticky; top: var(--header-h); z-index: 20; background: var(--white); border-bottom: 1px solid var(--line-strong); }
.terms-tabs ul { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.terms-tabs ul::-webkit-scrollbar { display: none; }
.terms-tabs a {
  position: relative; display: inline-flex; align-items: center; min-height: 56px; padding: 0 22px;
  font-size: 16px; font-weight: 700; color: var(--text-3); white-space: nowrap; transition: color 0.2s;
}
.terms-tabs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--red); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.terms-tabs a:hover, .terms-tabs a[aria-current="true"] { color: var(--ink); }
.terms-tabs a[aria-current="true"]::after { transform: scaleX(1); }

.terms-wrap { padding-block: 56px 88px; }
.terms-layout { display: grid; grid-template-columns: minmax(0, 1fr); }
.terms-main { min-width: 0; }
.terms-side { margin-bottom: 40px; }
.terms-status {
  display: flex; gap: 12px; align-items: flex-start; max-width: 860px;
  padding: 16px 18px; border: 1px solid var(--line-strong); border-left: 4px solid var(--red);
  border-radius: var(--radius-sm); background: var(--paper); font-size: 15px; color: var(--text-2);
}
.terms-status .ico { color: var(--red); margin-top: 2px; }
.terms-help { display: none; }

/* 1100px 이상: 본문 읽기 폭은 그대로 두고, 비어 있던 오른쪽에 안내 · 문의 칸을 고정한다(탭 막대 아래에 머묾) */
@media (min-width: 1100px) {
  .terms-layout { grid-template-columns: minmax(0, 1fr) 300px; column-gap: 64px; align-items: start; }
  .terms-main { grid-column: 1; grid-row: 1; }
  .terms-side {
    grid-column: 2; grid-row: 1; display: grid; gap: 16px; margin-bottom: 0;
    position: sticky; top: calc(var(--header-h) + 80px);
  }
  .terms-status { font-size: 14px; line-height: 1.65; }
  .terms-help {
    display: block; padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--white); box-shadow: var(--shadow-1);
  }
  .terms-help-title { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
  .terms-help-desc { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--text-2); }
  .terms-help-tel {
    display: flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; padding-top: 12px;
    border-top: 1px solid var(--line); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink);
    font-variant-numeric: tabular-nums;
  }
  .terms-help-tel .ico { color: var(--red); }
  .terms-help-tel:hover { color: var(--red-deep); }
}
/* 약관은 머리글 아래 탭 막대(56px)가 한 번 더 붙으므로 그만큼만 더한다 */
.terms-doc { max-width: 860px; scroll-margin-top: 64px; }
.terms-doc + .terms-doc { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line-strong); }
.terms-doc h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; letter-spacing: -0.04em; }
.terms-doc .terms-meta { margin-top: 8px; font-size: 14px; color: var(--text-3); }
.terms-doc h3 { margin-top: 32px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.terms-doc p, .terms-doc li { margin-top: 10px; color: var(--text-2); font-size: 16px; line-height: 1.8; }
.terms-doc ol { padding-left: 1.3em; list-style: decimal; }
.terms-doc ul.dash { padding-left: 1.1em; list-style: disc; }
.terms-doc h4 { margin-top: 20px; font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.ph {
  display: inline; padding: 1px 6px; border-radius: 4px; background: #fff4d6; color: #6b4b00;
  font-size: 0.94em; font-weight: 700;
}
.terms-table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 15px; }
.terms-table th, .terms-table td { border: 1px solid var(--line-strong); padding: 12px 14px; text-align: left; vertical-align: top; }
.terms-table th { background: var(--paper); font-weight: 700; width: 32%; }

@media (max-width: 767px) {
  .page-hero { padding: 40px 0 36px; background-size: auto, 40px 40px, 40px 40px; }
  .page-desc { font-size: 15px; }
  .terms-tabs a { min-height: 50px; padding: 0 14px; font-size: 15px; }
  .terms-wrap { padding-block: 36px 64px; }
  .terms-doc + .terms-doc { margin-top: 48px; padding-top: 40px; }
  .terms-doc p, .terms-doc li { font-size: 15px; }
  .terms-table th { width: 38%; }
  .terms-table th, .terms-table td { padding: 10px; font-size: 14px; }
}

/* =========================================================
   움직임 줄이기
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
  .reveal-wait { opacity: 1; transform: none; }
  .pkg:hover, .pop:hover, .fab-btn:hover, .quick-item:hover .quick-ico { transform: none; }
}

/* =========================================================
   11-11 #916 — 상시 상담 단추는 카카오톡 하나만 크게(고객 11-10 「하나만크게 부탁해요」)
   PC: 오른쪽 아래 글자가 늘 보이는 큰 단추 · 모바일: 하단 고정 막대를 단추 하나가 꽉 채움
   ========================================================= */
.fab-btn {
  width: auto; height: 62px; padding: 0 26px 0 22px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.fab-btn .ico { width: 28px; height: 28px; flex: none; }
.fab-label {
  position: static; transform: none; opacity: 1; padding: 0; background: none; color: inherit;
  font-size: 17px; font-weight: 800; letter-spacing: -0.02em; pointer-events: auto;
}
.fab-btn:hover .fab-label, .fab-btn:focus-visible .fab-label { transform: none; }
@media (min-width: 768px) and (max-width: 1399px) {
  .fab-btn { width: auto; height: 54px; padding: 0 20px 0 17px; border-radius: 12px; }
  .fab-btn .ico { width: 24px; height: 24px; }
  .fab-label { font-size: 16px; }
}
@media (max-width: 767px) {
  .fab-btn { display: flex; flex: 1 1 0; width: auto; height: 52px; padding: 0 16px; border-radius: var(--radius-sm); gap: 8px; }
  .fab-btn .ico { width: 22px; height: 22px; }
  .fab-label { font-size: 16px; }
}

/* 11-11 #916 — 수익화 채널 가격 4칸(고객 11-10 확정): 카드가 4장이면 PC 4열 · 태블릿 2열(모바일은 옆으로 넘기기 그대로) */
@media (min-width: 1100px) {
  .plan-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .plan-grid:has(> :nth-child(4):last-child) .pkg-plan .pkg-head { padding: 24px 22px 0; }
  .plan-grid:has(> :nth-child(4):last-child) .pkg-plan .pkg-body { padding: 16px 22px 24px; }
  .plan-grid:has(> :nth-child(4):last-child) .pkg-plan .pkg-title { font-size: clamp(22px, 1.8vw, 26px); }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .plan-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.pop-unit { white-space: nowrap; }

/* =========================================================
   주문서(dialog) — 11-11 고객 요청 · 크몽 주문 7730682
   상담 창과 같은 틀(PC 가운데 · 휴대폰 아래에서 올라오는 시트). 머리(제목 · 단계)는 고정, 본문만 스크롤.
   01 주문서 → 02 주문 확인 → 03 입금 안내
   ========================================================= */
.sheet-order { width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: hidden; }
.sheet-order[open] { display: flex; flex-direction: column; }
.o-in { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.o-head { position: relative; flex: none; padding: 28px 28px 0; background: var(--white); }
.o-head .sheet-title:focus { outline: none; }
.o-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 22px 28px 28px; }

.o-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.o-steps li {
  display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 3px solid var(--line);
  font-size: 14px; font-weight: 700; color: var(--text-3); white-space: nowrap; min-width: 0;
}
.o-steps li span { font-size: 13px; font-weight: 800; color: var(--text-3); }
.o-steps li.is-done { border-top-color: var(--ink); color: var(--ink); }
.o-steps li.is-done span { color: var(--ink); }
.o-steps li.is-on { border-top-color: var(--red); color: var(--ink); }
.o-steps li.is-on span { color: var(--red); }

.o-form { display: grid; gap: 20px; }
.o-field { display: grid; gap: 8px; min-width: 0; }
.o-field > label, .o-label { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.o-field input[type="text"], .o-field input[type="email"], .o-field input[type="tel"], .o-field select {
  width: 100%; height: 52px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.3;
}
.o-field select {
  -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M6 9l6 6 6-6%22 fill=%22none%22 stroke=%22%23111214%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px 18px;
}
.o-field input::placeholder { color: #9a9da3; }
.o-field input:focus-visible, .o-field select:focus-visible, .o-qty input:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); border-radius: var(--radius-sm);
}
.o-field input[aria-invalid="true"] { border-color: var(--red); background: var(--red-tint); }
.o-hint { font-size: 14px; color: var(--text-3); line-height: 1.5; }
.o-err { font-size: 14px; font-weight: 700; color: var(--red-deep); line-height: 1.5; }

.o-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: end; }
.o-qty {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; height: 52px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; background: var(--white);
}
.o-qty-btn { font-size: 22px; font-weight: 600; line-height: 1; color: var(--ink); background: var(--paper); }
.o-qty-btn:hover { background: var(--line); }
.o-qty-btn:disabled { color: #b3b5ba; cursor: default; background: var(--paper); }
.o-qty-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; border-radius: 0; }
.o-qty input {
  width: 100%; height: 100%; min-width: 0; padding: 0; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  text-align: center; font: inherit; font-size: 17px; font-weight: 700; color: var(--ink); background: var(--white);
  -moz-appearance: textfield; appearance: textfield;
}
.o-qty input::-webkit-outer-spin-button, .o-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.o-total { text-align: right; }
.o-total-num {
  display: flex; align-items: center; justify-content: flex-end; height: 52px;
  font-size: 24px; font-weight: 800; letter-spacing: -0.03em; color: var(--red); white-space: nowrap;
}
.o-total-num.is-ask { font-size: 17px; color: var(--ink); }

.o-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.o-agree { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
.o-agree legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 700; color: var(--ink); }
.o-box {
  padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
  font-size: 14px; line-height: 1.6; color: var(--text-2);
}
.o-box-h { font-weight: 700; color: var(--ink); }
.o-box-h + ul { margin-top: 6px; }
.o-box ul + .o-box-h { margin-top: 12px; }
.o-box ul { display: grid; gap: 4px; }
.o-box li { position: relative; padding-left: 14px; }
.o-box li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); }
.o-box-link { margin-top: 12px; font-size: 14px; }
.o-box-note { margin-top: 10px; }
.o-table { width: 100%; border-collapse: collapse; }
.o-table th, .o-table td { padding: 7px 0; vertical-align: top; text-align: left; border-bottom: 1px solid var(--line); }
.o-table tr:first-child th, .o-table tr:first-child td { padding-top: 0; }
.o-table th { width: 5.6em; padding-right: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.o-check {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white);
  font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--ink);
}
.o-check:hover { border-color: var(--ink); }
.o-check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--red); cursor: pointer; }
.o-check b { font-weight: 700; color: var(--red-deep); white-space: nowrap; }
.o-check:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.o-check:has(input[aria-invalid="true"]) { border-color: var(--red); background: var(--red-tint); }
.o-check:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.o-check input:focus-visible { outline: none; }
.o-submit { display: grid; gap: 10px; margin-top: 4px; }
.o-note { font-size: 14px; color: var(--text-3); text-align: center; line-height: 1.5; }

.o-lead { font-size: 15px; color: var(--text-2); margin-bottom: 14px; }
.o-sum { border-top: 2px solid var(--ink); }
.o-sum > div {
  display: grid; grid-template-columns: 11.6em minmax(0, 1fr); gap: 14px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5;
}
.o-sum dt { color: var(--text-3); font-weight: 600; }
.o-sum dd { color: var(--ink); font-weight: 700; min-width: 0; }
.o-sum .o-strong { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--red); }
.o-sum .o-mail { overflow-wrap: anywhere; }
.o-fail {
  display: grid; gap: 12px; margin-top: 16px; padding: 14px 16px;
  border: 1px solid var(--red); border-radius: var(--radius-sm); background: var(--red-tint);
}
.o-fail[hidden] { display: none; }
.o-fail p { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.o-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px; margin-top: 22px; }
.o-actions .btn[disabled] { opacity: 0.6; cursor: progress; }

.o-done-no { font-size: 15px; color: var(--text-2); margin-bottom: 14px; }
.o-done-no strong { margin-left: 6px; font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: 0.01em; }
.o-guide-h { margin-top: 22px; font-size: 16px; font-weight: 800; color: var(--ink); }
.o-guide {
  margin-top: 10px; padding: 16px 18px; border: 1px solid var(--ink); border-radius: var(--radius-sm); background: var(--white);
  white-space: pre-line; font-size: 16px; font-weight: 600; line-height: 1.7; color: var(--ink); overflow-wrap: anywhere;
}
.o-done-note { margin: 14px 0 20px; font-size: 14px; color: var(--text-3); }

@media (max-width: 767px) {
  .sheet-order { width: 100%; max-height: 94vh; max-height: 94dvh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
  .o-head { padding: 22px 20px 0; }
  .o-body { padding: 18px 20px calc(22px + env(safe-area-inset-bottom)); }
  .o-steps { margin-top: 14px; padding-bottom: 14px; }
  .o-steps li { font-size: 13px; gap: 6px; }
  .o-sum > div { grid-template-columns: 7.6em minmax(0, 1fr); gap: 10px; }
  .o-total-num { font-size: 22px; }
}
@media (max-width: 359px) {
  .o-row { grid-template-columns: minmax(0, 1fr); }
  .o-total { text-align: left; }
  .o-total-num { justify-content: flex-start; height: auto; }
  .o-steps li { font-size: 12px; }
  .o-sum > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

.o-form[hidden], .o-review[hidden], .o-done[hidden] { display: none; }

/* =========================================================
   11-14 고객 수정 1회째
   ========================================================= */

/* 첫 화면 숫자 칸(거래 완료 · 고객 평점 · A/S) — 큰 숫자와 1px 선 */
.hero-stats { display: flex; flex-wrap: wrap; row-gap: 14px; max-width: 34em; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.hero-stats li { display: flex; flex-direction: column; gap: 6px; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line-dark); }
.hero-stats li:last-child { padding-right: 0; margin-right: 0; border-right: 0; }
.hero-stat-num { display: inline-flex; align-items: center; gap: 4px; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--white); font-variant-numeric: tabular-nums; }
.hero-stat-num .ico-star { width: 22px; height: 22px; color: var(--red-on-dark); }
.hero-stat-label { font-size: 14px; font-weight: 600; color: var(--text-on-dark-2); }

/* 신뢰 띠: 환불 보장 칸을 빼서 세 칸 */
.trust-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* DB전용 채널: 카드 묶음(관리자가 다시 그리는 자리)은 격자 칸을 그대로 쓰고, 옆에 「나머지 상담」 칸 */
.plan-region { display: contents; }
.plan-ask {
  display: flex; flex-direction: column; gap: 12px; padding: 26px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
}
.plan-ask-title { margin-top: 2px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.35; color: var(--ink); }
.plan-ask-desc { flex: 1; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.plan-ask .btn { margin-top: 6px; }

/* 이용 후기: 구매 상품 줄이 없을 때 간격 · 다섯 개면 둘째 줄 두 칸을 반씩 */
.review-top + .review-text { margin-top: 16px; }
@media (min-width: 768px) {
  .review-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .review { grid-column: span 2; }
  .review:nth-child(3n + 1):nth-last-child(2),
  .review:nth-child(3n + 1):nth-last-child(2) ~ .review { grid-column: span 3; }
}

/* 주문서: 고른 채널은 바꾸는 목록 없이 이름과 가격만 · A/S 보증 선택 */
.o-field[hidden] { display: none; }
.o-chosen {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--paper);
}
.o-chosen-name { min-width: 0; font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--ink); }
.o-chosen-price { flex: none; font-size: 16px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.o-opt-check strong { font-weight: 700; }
.o-opt-price { margin-left: 2px; }

@media (max-width: 1099px) {
  .plan-ask { padding: 22px 20px; }
}
@media (max-width: 767px) {
  .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; margin-top: 20px; padding-top: 18px; }
  .hero-stats li { padding: 0 12px; margin: 0; }
  .hero-stats li:first-child { padding-left: 0; }
  .hero-stat-num { font-size: 26px; }
  .hero-stat-num .ico-star { width: 18px; height: 18px; }
  .hero-stat-label { font-size: 13px; }

  .trust-list { grid-template-columns: minmax(0, 1fr); }
  .trust-list li { align-items: center; padding: 12px 4px; }
  .trust-list li:nth-child(even) { border-left: 0; }
  .trust-list li + li { border-top: 1px solid var(--line); }
  .trust-list .ico { margin-top: 0; }
  .trust-list li > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }

  .plan-region > * { scroll-snap-align: start; }
  .plan-ask-title { font-size: 20px; }
}
@media (max-width: 359px) {
  .hero-stats li { padding: 0 8px; }
  .hero-stat-num { font-size: 23px; }
  .o-chosen { flex-direction: column; gap: 2px; }
}

/* 첫 화면 체크 줄: 네 개가 된 뒤 넓은 화면(두 단 배치)에서 3+1 로 꺾이지 않게 2줄 2칸 */
@media (min-width: 1100px) {
  .hero-facts { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 32px; }
}

/* AS_GUIDE_1121 */
/* =========================================================
   A/S 보증 안내 — 첫 화면 A/S 칸 · 주문서(체크했을 때만 펼침) · 약관 A/S 정책이 같은 꼴(11-15 고객 요청)
   ========================================================= */
.trust-list li.trust-as { padding: 0; }
.trust-link { display: flex; align-items: center; gap: 14px; width: 100%; padding: 22px 24px; color: inherit; text-decoration: none; }
.trust-link:hover strong, .trust-link:focus-visible strong { text-decoration: underline; text-underline-offset: 3px; }
.trust-list .trust-price, .trust-list .trust-price span { display: inline; font-size: inherit; color: var(--red-deep); white-space: nowrap; }
.trust-list .trust-go { flex: none; width: 16px; height: 16px; margin-left: auto; color: var(--text-3); }

.o-as-guide {
  margin-top: 10px; padding: 16px 18px; border: 1px solid var(--line); border-left: 3px solid var(--red);
  border-radius: var(--radius-sm); background: var(--paper); font-size: 14px; line-height: 1.6; color: var(--text-2);
}
.o-as-guide[hidden] { display: none; }
.as-guide-h { font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.as-list { display: grid; gap: 8px; margin-top: 10px; padding: 0; list-style: none; counter-reset: as; }
.as-list li { counter-increment: as; display: grid; grid-template-columns: 22px 5.4em minmax(0, 1fr); align-items: baseline; gap: 2px 10px; }
.as-list li::before {
  content: counter(as); display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; line-height: 1;
}
.as-k { font-weight: 700; color: var(--ink); white-space: nowrap; }
.as-v b, .as-no b { font-weight: 800; color: var(--ink); }
.as-v a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.as-sub { margin-top: 14px; font-weight: 700; color: var(--ink); }
.as-no { display: grid; gap: 4px; margin-top: 6px; padding: 0; list-style: none; }
.as-no li { position: relative; padding-left: 14px; }
.as-no li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); }

/* 약관 A/S 정책: 맨 위 한 줄 + 주문서와 같은 번호 줄 */
.as-only { margin-top: 20px; padding: 18px 20px; border: 1px solid var(--ink); border-left: 4px solid var(--red); border-radius: var(--radius-sm); background: var(--white); }
.terms-doc .as-only-h { margin-top: 0; font-size: 18px; font-weight: 800; line-height: 1.5; color: var(--ink); letter-spacing: -0.02em; }
.terms-doc .as-only-sub { margin-top: 4px; font-size: 15px; line-height: 1.6; }
.terms-doc .as-list { margin-top: 14px; padding-left: 0; list-style: none; gap: 10px; }
.terms-doc .as-list li { margin-top: 0; }
.terms-doc .as-no { margin-top: 12px; padding-left: 0; list-style: none; gap: 6px; }
.terms-doc .as-no li { margin-top: 0; }

@media (max-width: 1099px) {
  .trust-link { padding: 18px 16px; gap: 10px; }
}
@media (max-width: 767px) {
  .trust-link { padding: 12px 4px; align-items: center; }
  .terms-doc .as-only-h { font-size: 17px; }
}
@media (max-width: 480px) {
  .as-list li { grid-template-columns: 22px minmax(0, 1fr); }
  .as-list .as-v { grid-column: 2; }
}
