/* ═════════════════════════════════════════════════════════════
   보험야호 — 판매 홈페이지 공통 모양

   [ 한 가지 얼굴 ]
   보는 사람 기기의 밝게/어둡게 설정을 따라가지 않습니다.
   파는 페이지는 누가 보든 같아야 해서, 어두운 화면용 블록을 두지 않았습니다.

   [ 색 ]
   시안 B 「알림 먼저」 에서 정한 초록 하나가 주인입니다(2026-09-17 사용자).
   커넥트원 전산 · 회사 홈페이지의 남색 · 금색은 쓰지 않습니다 — 다른 브랜드입니다.

   [ 글꼴 ]
   프리텐다드 가변 글꼴 하나 (2026-09-17 사용자 — Gothic A1 이 투박하다고 바꿈).
   파일은 fonts/pretendard/ 의 공식 조각 파일이고, 쪽에 쓰인 글자가 든 조각만 받습니다.
   굵기는 제목 800 · 작은 굵은 글 700 · 단추와 라벨 600 · 본문 400. 900 으로 되돌리면 다시 투박해 보입니다.
   제목 자간은 Gothic A1 때보다 좁힐 필요가 적어 약 0.72 배로 줄였습니다.
   ═════════════════════════════════════════════════════════════ */

:root {
  --green: #0A7A55;
  --green-deep: #075C40;
  --green-wash: #E4F3EC;
  --green-soft: #CFEBDD;
  --ink: #0F1A16;
  --body: #4A5550;
  --line: #E1E6E3;
  --line-2: #D5DBD8;
  --paper: #FFFFFF;
  --paper-2: #F2F5F3;
  --amber-wash: #FBF3E3;
  --amber-ink: #7A4E00;
  --warn: #93560F;
  --r-card: 24px;
  --r-btn: 12px;
  --pad: clamp(20px, 6.7vw, 96px);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
/* 페이지가 옆으로 밀리면 상단바까지 잘려 보입니다. hidden 이 아니라 clip — sticky 를 살립니다. */
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  /* keep-all 과 break-word 는 짝입니다. 하나만 두면 한글이 쪼개지거나 긴 주소가 상자를 밉니다. */
  word-break: keep-all;
  overflow-wrap: break-word;
  font-variant-numeric: tabular-nums;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
/* svg 에는 hidden 속성이 기본으로 안 먹습니다. 멈춤 · 재생 아이콘을 바꿔 끼울 때 씁니다. */
[hidden] { display: none !important; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.wrap { padding-inline: var(--pad); }
.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: #FFFFFF; padding: 10px 14px; border-radius: 8px;
}
.skip:focus { left: 8px; }

/* ── 상단바 ─────────────────────────────────────────── */
.site { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.site-in { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 800; letter-spacing: -0.022em; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 16px; font-weight: 600; }
.nav a { padding-block: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.site-cta { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-panel { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border: 0; border-radius: var(--r-btn);
  font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer;
}
.btn-go { background: var(--green); color: #FFFFFF; }
.btn-go:hover { background: var(--green-deep); }
.btn-soft { background: var(--paper-2); color: var(--ink); }
.btn-soft:hover { background: #E6EBE8; }
.btn-white { background: #FFFFFF; color: var(--ink); }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 19px; }

@media (max-width: 960px) {
  .nav, .site-cta .btn-go { display: none; }
  .menu-btn { display: inline-flex; }
  .site-in { height: 64px; }
  .brand { font-size: 21px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .menu-panel[data-open="true"] { display: grid; padding: 4px var(--pad) 14px; border-top: 1px solid var(--line); }
  .menu-panel a { min-height: 50px; display: flex; align-items: center; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line); }
  .menu-panel a:last-child { border-bottom: 0; }
}

/* ── 공통 구간 ─────────────────────────────────────── */
.sec { padding-block: 96px; }
.sec-soft { background: var(--paper-2); }
.sec-title { font-size: clamp(28px, 3.1vw, 44px); font-weight: 800; line-height: 1.25; letter-spacing: -0.025em; }
.chip { display: inline-block; padding: 7px 12px; border-radius: 8px; background: var(--green-wash); color: var(--green-deep); font-size: 15px; font-weight: 600; line-height: 1.3; }
@media (max-width: 640px) { .sec { padding-block: 44px; } }

/* ── 첫 화면 ───────────────────────────────────────────
   초록 물결(.hero-bg, ShaderGradient) 위에 글 + 3D 카드뉴스(.fan, three.js) — 2026-09-17 사용자 「A + D」.
   둘 다 effects.js 가 부릅니다. 물결이 안 뜨면 .hero-panel 의 CSS 그라데이션이 그대로 바탕입니다.
   3D 를 못 켜면 <html class="no-3d"> — 3D 자리를 접고 아래 글자 카드뉴스(.cards-fallback)를 보여 줍니다. */
.hero { padding-block: 20px 96px; padding-inline: clamp(12px, 2.2vw, 32px); display: grid; gap: 44px; }
.hero-panel {
  position: relative; isolation: isolate; overflow: hidden; border-radius: clamp(24px, 2.8vw, 40px);
  background: radial-gradient(120% 140% at 85% 20%, #2F9E73 0%, #0A7A55 40%, #064E36 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 36, 26, 0.6) 0%, rgba(4, 36, 26, 0.22) 50%, rgba(4, 36, 26, 0) 100%); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); align-items: center; gap: 24px 40px;
  min-height: clamp(560px, 46vw, 680px); padding: clamp(28px, 4.2vw, 64px);
}
.hero-text { display: grid; gap: 22px; justify-items: start; color: #FFFFFF; }
.hero h1 { font-size: clamp(44px, 5.4vw, 84px); font-weight: 800; line-height: 1.14; letter-spacing: -0.032em; text-wrap: balance; }
.hero-sub { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
/* 물결 위의 유리 — CSS 로만 (liquid-glass-js 스킬: 대개 CSS 유리로 충분) */
.chip-glass { background: rgba(255, 255, 255, 0.14); color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-glass { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.22); }
.btn-white:hover { background: var(--green-wash); }

/* 3D 카드뉴스 무대 */
.fan { display: grid; gap: 12px; min-width: 0; }
.fan-stage { position: relative; aspect-ratio: 16 / 13; max-width: 100%; }
.fan-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: pointer; touch-action: pan-y;
  /* 양옆 카드가 무대 끝에서 칼로 자른 듯 끊기지 않게, 가장자리를 점점 흐리게 해 물결 속으로 스며들게 한다 (2026-09-17 사용자).
     캔버스 바탕이 투명이라 흐려진 자리로 뒤의 물결이 비친다. 눌러 넘기기(pointer)는 가림막과 상관없이 된다. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 4%, rgba(0, 0, 0, 0.8) 9%, #000 14%, #000 86%, rgba(0, 0, 0, 0.8) 91%, rgba(0, 0, 0, 0.35) 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 4%, rgba(0, 0, 0, 0.8) 9%, #000 14%, #000 86%, rgba(0, 0, 0, 0.8) 91%, rgba(0, 0, 0, 0.35) 96%, transparent 100%);
}
/* 3D 가 뜨기 전 잠깐 보이는 첫 카드 — 뜨면 사라진다 */
.fan-poster { position: absolute; left: 50%; top: 50%; width: 300px; transform: translate(-50%, -50%) scale(0.86); box-shadow: 0 28px 60px rgba(4, 30, 22, 0.28); pointer-events: none; transition: opacity 0.4s ease; }
.fan-stage.is-live .fan-poster { opacity: 0; }
.fan-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fan-now { font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, 0.9); }
/* .round 가 아래에 있어 같은 무게로는 흰 바탕에 지므로 두 클래스로 적는다 */
/* 물결이 밝은 오른쪽 아래에 놓이므로 어두운 유리 — 흰 아이콘이 밝은 바탕에서도 보이게 */
.round.round-glass { background: rgba(4, 36, 26, 0.34); border-color: rgba(255, 255, 255, 0.42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.round.round-glass:hover { background: rgba(4, 36, 26, 0.5); }
.round.round-light { background: #FFFFFF; border-color: #FFFFFF; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* .cards { display: grid } 가 아래에 있어 같은 무게로는 지므로 두 클래스로 적는다 */
.cards.cards-fallback { display: none; }
.no-3d .fan { display: none; }
.no-3d .cards.cards-fallback { display: grid; }
@media (prefers-reduced-motion: reduce) { .fan-poster { transition: none; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-shade { background: linear-gradient(180deg, rgba(4, 36, 26, 0.55) 0%, rgba(4, 36, 26, 0.3) 45%, rgba(4, 36, 26, 0.12) 100%); }
  .fan-stage { aspect-ratio: 1 / 0.92; }
}
@media (max-width: 640px) {
  .hero { padding-block: 12px 44px; gap: 24px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; min-height: 56px; font-size: 17px; }
  .fan-stage { aspect-ratio: 1 / 1.02; }
  .fan-poster { transform: translate(-50%, -50%) scale(0.72); }
  /* 글자 카드뉴스는 휴대폰에서 이전 · 다음을 감추지만(손으로 민다), 3D 무대에는 단추가 있어야 한다 */
  .fan-ctrl .cards-ctrl .round:not(.pause) { display: grid; }
}

/* ── 카드뉴스 ── 저절로 넘어갑니다(2026-09-17 사용자). 손으로도 넘깁니다. */
.cards { display: grid; gap: 18px; }
.cards-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cards-label { font-size: 16px; font-weight: 600; color: var(--body); }
.cards-ctrl { display: flex; gap: 8px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: #FFFFFF; display: grid; place-items: center; cursor: pointer; }
.round-dark { background: var(--ink); border-color: var(--ink); }
.track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-inline: var(--pad); scroll-padding-inline: var(--pad);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.track::-webkit-scrollbar { display: none; }
.card {
  flex: 0 0 300px; height: 375px; border-radius: var(--r-card); padding: 26px;
  display: flex; flex-direction: column; justify-content: space-between; scroll-snap-align: start;
}
.card-top { display: grid; gap: 14px; }
.card-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; }
.card-title { font-size: 30px; font-weight: 800; line-height: 1.25; letter-spacing: -0.022em; }
.soon { padding: 3px 9px; border-radius: 99px; background: var(--ink); color: #FFFFFF; font-size: 12px; font-weight: 600; white-space: nowrap; }
.c-green { background: var(--green); color: #FFFFFF; }
.c-green .card-label { color: var(--green-soft); }
.c-paper { background: var(--paper-2); }
.c-paper .card-label { color: var(--green); }
.c-ink { background: var(--ink); color: #FFFFFF; }
.c-ink .card-label { color: #9FD8BD; }
.c-wash { background: var(--green-wash); }
.c-wash .card-label { color: var(--green-deep); }
.c-amber { background: var(--amber-wash); }
.c-amber .card-label { color: var(--amber-ink); }
.mini { background: #FFFFFF; color: var(--ink); border-radius: 14px; padding: 12px 14px; display: grid; gap: 3px; }
.mini small { font-size: 12px; font-weight: 600; color: var(--body); }
.mini b { font-size: 15px; font-weight: 700; }
.mini-rows { background: #FFFFFF; border-radius: 14px; padding: 4px 14px; display: grid; }
.mini-rows span { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; font-weight: 600; }
.mini-rows span + span { border-top: 1px solid var(--line); }
.formula { border: 1px solid #3A4A42; border-radius: 14px; padding: 12px 14px; font-size: 15px; font-weight: 600; color: #E1E6E3; }
.dots { display: none; justify-content: center; gap: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 99px; background: #C9D1CD; transition: width .25s, background .25s; }
.dots i[data-on="true"] { width: 20px; background: var(--ink); }
@media (max-width: 640px) {
  .card { flex-basis: 264px; height: 330px; padding: 22px; }
  .card-title { font-size: 27px; }
  .track { gap: 12px; }
  .dots { display: flex; }
  .cards-ctrl .round:not(.pause) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dots i { transition: none; }
}

/* ── 영상 ─────────────────────────────────────────── */
.video { margin-top: 28px; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 28px; background: var(--ink); display: grid; place-items: center; align-content: center; gap: 16px; color: #A9B7B0; font-weight: 600; }
.play { width: 96px; height: 96px; border-radius: 50%; background: #FFFFFF; display: grid; place-items: center; }
@media (max-width: 640px) { .video { border-radius: 18px; margin-top: 18px; } .play { width: 60px; height: 60px; } }

/* ── 시작하는 순서 ─────────────────────────────────── */
.steps { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: grid; gap: 12px; align-content: start; }
.step-no { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #FFFFFF; display: grid; place-items: center; font-size: 18px; font-weight: 800; }
.step b { font-size: 23px; font-weight: 700; }
.step span { font-size: 17px; line-height: 1.65; color: var(--body); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 20px; } .step { padding: 20px; } .step b { font-size: 19px; } .step span { font-size: 15px; } }

/* ── 자주 묻는 질문 ───────────────────────────────── */
.faq { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 64px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative; font-size: 20px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 500; color: var(--body); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; font-size: 17px; line-height: 1.7; color: var(--body); }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); gap: 8px; } .faq summary { font-size: 17px; padding-block: 18px; } .faq summary::after { top: 13px; } .faq details p { font-size: 15px; } }

/* ── 끝 권유 · 꼬리말 ─────────────────────────────── */
.band { margin: 96px var(--pad) 0; border-radius: 24px; padding: 56px 64px; background: var(--green); color: #FFFFFF; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; }
.band h2 { font-size: clamp(25px, 2.8vw, 40px); font-weight: 800; letter-spacing: -0.022em; }
/* 금속 종 — 2026-09-17 사용자 「C 의 입체적인 종을 조금」. effects.js 가 가까워지면 fx/bell.js 를 부르고,
   못 그리면 흰 종 그림이 그대로 남는다. 캔버스는 Paper Shaders 가 z-index:-1 로 넣으므로 isolation 이 필요하다. */
.band-main { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); min-width: 0; }
.nobr { white-space: nowrap; }
.band-bell { position: relative; isolation: isolate; flex-shrink: 0; width: clamp(64px, 7vw, 104px); aspect-ratio: 1 / 1; }
.band-bell img { display: block; width: 100%; height: auto; transition: opacity 0.6s ease; }
.band-bell.is-live img { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .band-bell img { transition: none; } }
.band-dark { background: var(--ink); }
.band-dark p { color: #C9D1CD; font-size: 18px; margin-top: 10px; }
@media (max-width: 640px) { .band { margin-top: 40px; padding: 28px 22px; border-radius: 20px; } .band .btn { flex: 1 1 100%; min-height: 56px; } }

.foot { margin-top: 96px; padding-block: 48px 56px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; font-weight: 600; }
.foot-links a:hover { color: var(--green); }
.foot p { font-size: 14px; line-height: 1.85; color: var(--body); }
@media (max-width: 640px) { .foot { margin-top: 40px; padding-block: 32px 40px; } .foot p { font-size: 13px; } }

/* ── 요금제 쪽 ─────────────────────────────────────── */
.page-head { padding-block: 80px 40px; display: grid; gap: 14px; }
.page-head h1 { font-size: clamp(38px, 4.2vw, 60px); font-weight: 800; letter-spacing: -0.029em; line-height: 1.15; }
.page-head p { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.65; color: var(--body); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 24px; padding: 34px; display: flex; flex-direction: column; gap: 22px; }
.plan-hot { border: 2px solid var(--green); padding: 33px; }
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 24px; font-weight: 700; }
.plan-badge { padding: 5px 10px; border-radius: 8px; background: var(--green); color: #FFFFFF; font-size: 13px; font-weight: 700; }
.price { display: grid; gap: 6px; }
.price-was { display: flex; align-items: center; gap: 10px; font-size: 17px; color: #6E7872; }
.price-was s { text-decoration-thickness: 1.5px; }
.price-off { padding: 2px 8px; border-radius: 6px; background: var(--green-wash); color: var(--green-deep); font-size: 14px; font-weight: 700; }
.price-now { font-size: clamp(34px, 3vw, 44px); font-weight: 800; letter-spacing: -0.022em; line-height: 1.2; }
.price-now small { font-size: 22px; font-weight: 600; }
/* 6개월 · 연간은 한 번에 내는 총액을 굵게 — 월 환산 가격만 크게 쓰고 총액을 숨기면 안 됩니다 */
.price-bill { font-size: 15px; line-height: 1.5; color: var(--body); }
.price-bill b { font-weight: 700; color: var(--ink); }
/* 결제 기간 단추 — 요즘 AI 서비스 요금 쪽처럼 (2026-09-17 사용자) */
.period { display: inline-flex; gap: 4px; margin-bottom: 24px; padding: 4px; border-radius: 14px; background: var(--paper-2); }
.period-btn { min-height: 46px; padding: 0 18px; border: 0; border-radius: 10px; background: transparent; color: var(--body); font-size: 15px; font-weight: 600; line-height: 1.25; cursor: pointer; }
.period-btn em { margin-left: 6px; font-style: normal; color: var(--green); }
.period-btn[aria-pressed="true"] { background: #FFFFFF; color: var(--ink); box-shadow: 0 1px 2px rgba(15, 26, 22, 0.08), 0 6px 16px rgba(15, 26, 22, 0.06); }
@media (max-width: 640px) {
  .period { display: flex; margin-bottom: 16px; }
  .period-btn { flex: 1 1 0; min-width: 0; min-height: 54px; padding: 0 6px; font-size: 15px; }
  .period-btn em { display: block; margin: 2px 0 0; font-size: 12px; }
}
.plan-rows { display: grid; }
.plan-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; font-size: 16px; color: #2E3833; border-bottom: 1px solid #EEF1EF; }
.plan-rows li:last-child { border-bottom: 0; }
.plan-rows b { font-weight: 700; color: var(--ink); text-align: right; }
.plan .btn { margin-top: auto; min-height: 56px; font-size: 17px; }
.plans-note { margin-top: 16px; font-size: 15px; color: var(--body); }
.facts { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fact { border-radius: 20px; background: var(--paper-2); padding: 28px; display: grid; gap: 10px; align-content: start; }
.fact span { font-size: 15px; font-weight: 600; color: var(--green); }
.fact b { font-size: 22px; font-weight: 700; }
.fact p { font-size: 16px; line-height: 1.65; color: var(--body); }
/* 요금제 쪽 맨 아래 결제 · 환불 안내 — 작은 글씨 목록.
   한 줄이 너무 길면 안 읽혀서 글 폭을 760px 로 묶습니다. 계산 전문은 환불 규정. */
.pay-info { margin-top: 48px; max-width: calc(760px + var(--pad) * 2); display: grid; gap: 10px; font-size: 14px; line-height: 1.75; color: var(--body); }
.pay-info h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--ink); }
.pay-info h2 svg { flex-shrink: 0; }
.pay-info ul { display: grid; gap: 4px; }
.pay-info li { position: relative; padding-left: 14px; }
.pay-info li::before { content: ""; position: absolute; left: 2px; top: 0.78em; width: 4px; height: 4px; border-radius: 50%; background: #8A948F; }
.pay-info p { margin-top: 2px; }
.pay-info a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pay-info a:hover { color: var(--green); }
/* 팀 요금제 — 5~19명은 가격을 공개하고, 20명부터는 아래 띠로 문의.
   비교 상자는 정가가 아니라 개인 월 결제 요금과 견줍니다. */
.team-sec { padding-bottom: 0; }
.team-head { display: grid; gap: 12px; margin-bottom: 28px; }
.team-head p { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; color: var(--body); }
.team-compare { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin-bottom: 24px; padding: 28px 32px; border-radius: 20px; background: var(--paper-2); }
.team-compare p { display: grid; gap: 2px; text-align: center; }
.team-compare p span { font-size: 15px; color: var(--body); }
.team-compare s { font-size: 24px; font-weight: 700; color: #6E7872; text-decoration-thickness: 2px; }
.team-compare b { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.team-compare-arrow { flex-shrink: 0; }
/* 「인당 월」 은 가격 위 작은 머리글 — 한 줄에 붙이면 3단이 되는 961~1100px 에서 가격이 두 줄로 갈립니다 */
.price-per { display: block; font-size: 15px; font-weight: 600; line-height: 1.5; letter-spacing: 0; color: var(--body); }
.plan-rows b small { display: block; font-size: 13px; font-weight: 500; color: var(--body); }
.scale { margin-top: 48px; display: grid; gap: 14px; }
.scale h3 { font-size: 22px; font-weight: 700; }
.scale h3 span { margin-left: 8px; font-size: 14px; font-weight: 500; color: var(--body); }
.scale-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.scale table { width: 100%; border-collapse: collapse; font-size: 16px; text-align: right; }
.scale th, .scale td { padding: 14px 20px; border-bottom: 1px solid #EEF1EF; white-space: nowrap; }
.scale thead th { background: var(--paper-2); font-size: 15px; font-weight: 600; color: var(--body); }
.scale tbody tr:last-child th, .scale tbody tr:last-child td { border-bottom: 0; }
.scale th:first-child { text-align: left; }
.scale tbody th { font-weight: 600; }
@media (max-width: 960px) {
  .plans, .facts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .page-head { padding-block: 36px 24px; }
  .plan, .plan-hot { padding: 24px; }
  .facts { margin-top: 32px; gap: 12px; }
  .fact { padding: 20px; }
  .pay-info { margin-top: 32px; font-size: 13.5px; }
  .team-head { margin-bottom: 18px; }
  /* 좁은 폭에서 flex 로 두면 화살표만 윗줄 끝에 남습니다 — 격자로 [개인 → 팀] 한 줄, 할인 표시는 아랫줄 */
  .team-compare { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px 8px; padding: 20px 14px; }
  .team-compare .price-off { grid-column: 1 / -1; justify-self: center; }
  .team-compare s, .team-compare b { white-space: nowrap; }
  .team-compare s { font-size: 17px; }
  .team-compare b { font-size: 19px; }
  .team-compare-arrow { width: 20px; height: 20px; }
  .scale { margin-top: 32px; }
  .scale h3 { font-size: 19px; }
  .scale h3 span { display: block; margin: 4px 0 0; font-size: 13px; }
  .scale table { font-size: 14px; }
  .scale th, .scale td { padding: 12px 8px; }
  .scale thead th { font-size: 13px; }
}

/* ── 글만 있는 쪽(약관 · 고객센터) ─────────────────── */
.doc { max-width: 760px; padding-block: 24px 40px; display: grid; gap: 28px; }
.doc h2 { font-size: 22px; font-weight: 700; }
.doc p, .doc li { font-size: 16px; line-height: 1.8; color: #2E3833; }
.doc ol { list-style: decimal; padding-left: 1.3em; display: grid; gap: 6px; }
.doc .todo { padding: 18px 20px; border-radius: 14px; background: var(--amber-wash); color: var(--amber-ink); font-weight: 600; }
/* 약관 · 처리방침 초안 — 조항 한 덩어리, 목차, 표, 정해야 할 값 표시 */
.doc section { display: grid; gap: 10px; scroll-margin-top: 90px; }
.doc ul.dot { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; }
.doc .note { font-size: 14px; color: var(--body); }
.doc .toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; padding: 18px 20px; border-radius: 14px; background: var(--paper-2); font-size: 15px; }
.doc .toc a:hover { color: var(--green); }
.doc .table-wrap { overflow-x: auto; }
.doc table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; line-height: 1.6; }
.doc th { background: var(--paper-2); font-weight: 600; }
/* 두 칸짜리 표는 휴대폰에서 옆으로 밀지 않고 줄을 바꿉니다 — 520px 를 지키면 오른쪽 칸이 잘려 보입니다. 세 칸 이상은 그대로 상자 안에서 밉니다 */
@media (max-width: 640px) { .doc table:not(:has(th:nth-child(3))) { min-width: 0; } }
/* 오픈 전에 정할 값. 정하면 이 표시를 벗기고 값만 남깁니다. */
.decide { background: #FFF1B8; color: #5C4300; padding: 0 4px; border-radius: 4px; font-weight: 600; }
@media (max-width: 640px) { .doc .toc { grid-template-columns: minmax(0, 1fr); } }
/* 넓은 화면 — 목차는 왼쪽 칸에 붙박이, 본문은 오른쪽 칸에 넓게 (약관 · 처리방침 · 환불 규정). 본문 칸은 1040px 에서 멈춥니다 —
   한 줄이 그보다 길면 읽기 어렵습니다. 초안 상자는 두 칸에 걸칩니다. 1100px 아래는 지금처럼 한 줄(목차가 위) */
.doc-body { display: grid; gap: 28px; min-width: 0; }
@media (min-width: 1100px) {
  .doc.doc-split { max-width: none; grid-template-columns: 260px minmax(0, 1040px); column-gap: 64px; align-items: start; }
  .doc-split > * { grid-column: 1 / -1; }
  .doc-split > .doc-body { grid-column: 2; }
  .doc-split > .toc { grid-column: 1; grid-template-columns: minmax(0, 1fr); position: sticky; top: 96px; max-height: calc(100dvh - 120px); overflow-y: auto; }
}
/* 환불 규정 — 짧은 번호 목록. 내용은 소비자분쟁해결기준 그대로.
   ① · ※ 뒤로 줄이 넘어가도 글머리에 맞춰 들여 씁니다. .doc 규칙보다 뒤에 두어야 이깁니다. */
.refund-simple, .refund-simple .doc-body { gap: 36px; }
.refund-simple h2 { font-size: 19px; font-weight: 600; line-height: 1.5; color: var(--green); text-wrap: balance; }
.refund-simple ul { display: grid; gap: 4px; padding-left: 16px; }
.refund-simple li { padding-left: 1.4em; text-indent: -1.4em; font-size: 16px; line-height: 1.8; }
.refund-simple li.note { font-size: 15px; color: var(--body); }
/* 줄 끝에 한 어절만 남지 않게 — 크롬 · 삼성 인터넷 · 엣지는 브라우저가 줄을 다시 고릅니다(모르는 브라우저는 그냥 넘어감) */
.refund-simple li, .refund-simple h2, .pay-info li, .pay-info p { text-wrap: pretty; }
@media (max-width: 640px) {
  .refund-simple, .refund-simple .doc-body { gap: 28px; }
  .refund-simple h2 { font-size: 17px; }
  .refund-simple ul { padding-left: 0; }
  .refund-simple li { font-size: 15px; }
  .refund-simple li.note { font-size: 14px; }
}
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact div { border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 6px; }
.contact span { font-size: 14px; font-weight: 600; color: var(--green); }
.contact b { font-size: 18px; font-weight: 700; }
/* 창구가 넷이면 2 × 2 — 셋씩 놓으면 넷째가 혼자 남고, 넷씩 놓으면 띄어쓰기 없는 이메일 주소가 칸 안에서 꺾입니다. 휴대폰 규칙(아래)이 이기게 그 앞에 둡니다 */
.contact-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .contact { grid-template-columns: minmax(0, 1fr); } }
