/* 잘자 (ZALZA) 홈페이지 공통 스타일
   글꼴: 제목 SUITE Variable, 본문 SUIT (둘 다 고딕)
   색: 바탕은 흰색, 글자는 먹색, 포인트는 보라 한 색(--purple)만 쓴다.
   덮는 그라데이션은 쓰지 않는다. 색은 아래 :root 변수 한곳에서 바꾼다. */

@font-face {
  font-family: "SUITE Variable";
  src: url("../fonts/SUITE-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SUIT";
  src: url("../fonts/SUIT-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SUIT";
  src: url("../fonts/SUIT-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SUIT";
  src: url("../fonts/SUIT-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* 색: 여기서만 바꾼다 */
  --ink: #191813;
  --ink-soft: #313131;
  --ink-low: #4c4840;
  --ink-mute: #77727f;
  --white: #ffffff;
  --purple: #9233ff;        /* 포인트. 흰 글자와 명도 대비 약 5:1 */
  --purple-deep: #7a1fe6;   /* 눌렀을 때, 올렸을 때 */
  --purple-soft: #e5d1ff;   /* 연한 테두리, 초점 번짐 */
  --purple-tint: #f7f3ff;   /* 카드와 사진 자리 바탕 */
  --line: #e9e5f0;
  --danger: #e5484d;        /* 통화 예시 화면의 끊기 단추에만 쓴다 */
  --font-title: "SUITE Variable", "SUIT", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-body: "SUIT", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --header-h: 92px;
  --wrap: 1116px;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.hero.is-video :focus-visible { outline-color: var(--white); }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.m-only { display: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* 남자용, 여자용 화면: html 의 data-gender 로 가른다. 기본은 남자용(m) */
html[data-gender="f"] .g-m, html:not([data-gender="f"]) .g-f { display: none !important; }

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

/* 아이콘: 잘자 디자인 정본(hai-zalza/assets/icons)을 한 벌로 묶어 쓴다 */
.ic { width: 24px; height: 24px; flex-shrink: 0; fill: currentColor; }
.ic-badge {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--purple-tint); color: var(--purple);
}
.card-soft .ic-badge, .faq .ic-badge { background: var(--white); }

/* 헤더 */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  min-height: var(--header-h);
  background: var(--white);
  display: flex; align-items: center;
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; max-width: none; }
.header-brand { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 16px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; margin: 0 auto; }
.nav a, .header-link {
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em; line-height: 1.6;
  color: var(--ink-low); white-space: nowrap; transition: color 0.2s;
}
.nav a:hover { color: var(--purple); }
.header-link { color: var(--purple); }
.header-link:hover { color: var(--purple-deep); }
.header-side { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.menu-toggle {
  display: none; width: 36px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 1.5px; background: var(--ink); content: ""; transition: transform 0.2s, opacity 0.2s;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before { position: absolute; top: -6px; left: 0; }
.menu-toggle span::after { position: absolute; top: 6px; left: 0; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }

/* 남자용, 여자용 전환 단추: 버디 실제 사이트(budi.co.kr)와 같은 모양과 치수.
   틀과 글자 없이 선 아이콘 둘(원 머리와 삼각형 몸통). 고른 쪽은 진하고 선이 굵고, 다른 쪽은 흐리다. */
.gender-toggle { display: inline-flex; align-items: center; gap: 0; margin-left: -6px; }
.gender-btn {
  width: 32px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); opacity: 0.45; transition: opacity 0.2s;
}
.gender-btn:hover { opacity: 0.7; }
.gender-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
html:not([data-gender="f"]) .gender-btn[data-gender-set="m"],
html[data-gender="f"] .gender-btn[data-gender-set="f"] { opacity: 1; }
html:not([data-gender="f"]) .gender-btn[data-gender-set="m"] svg,
html[data-gender="f"] .gender-btn[data-gender-set="f"] svg { stroke-width: 1.9; }

/* 단추 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 32px; border-radius: 9999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 500; letter-spacing: 0.02em; line-height: 1; white-space: nowrap;
  cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}
.btn .ic { width: 20px; height: 20px; }
.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; }
.btn-primary { background: var(--purple); border-color: var(--purple); color: var(--white); }
.btn-primary:hover { background: var(--purple-deep); border-color: var(--purple-deep); }
.btn-outline { background: var(--white); border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--purple-tint); border-color: var(--purple); color: var(--purple); }
.btn[disabled] { opacity: 0.5; cursor: default; }

/* 히어로: 화면을 채우는 영상. 영상이 하나도 없으면 흰 바탕과 검정 글자로 보인다 */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  padding: var(--header-h) 0 0;
  background: var(--white); color: var(--ink);
  display: flex; flex-direction: column;
}
.hero.is-video { background: #17131f; color: var(--white); }
.hero-media { position: absolute; inset: var(--header-h) 0 0 0; display: none; }
.hero.is-video .hero-media { display: block; }
.hero-clip { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; visibility: hidden; }
.hero-clip.is-on { visibility: visible; }
/* 영상 전체를 옅게 고르게 누르고(그라데이션 아님), 글자는 그림자로 읽히게 한다 */
.hero-shade { position: absolute; inset: 0; background: rgba(16, 10, 28, 0.28); }
.hero.is-video h1, .hero.is-video .hero-lead, .hero.is-video .hero-note { text-shadow: 0 1px 2px rgba(10, 6, 20, 0.45), 0 2px 20px rgba(10, 6, 20, 0.45); }
.hero.is-video .roll { text-shadow: none; }
.hero-inner {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 64px var(--gutter) 72px;
}
.hero h1 {
  font-family: var(--font-title); font-weight: 700; font-size: 52px; line-height: 1.24; letter-spacing: -0.02em;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.roll {
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--purple); color: var(--white);
  border-radius: 9999px; padding: 3px 26px 7px; white-space: nowrap;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.roll-word { display: inline-block; transition: opacity 0.25s, transform 0.25s; }
.roll-word.is-out { opacity: 0; transform: translateY(0.35em); }
.hero-lead { margin-top: 28px; max-width: 720px; font-size: 18px; line-height: 1.75; color: var(--ink-low); }
.hero-note { margin-top: 18px; font-size: 15px; letter-spacing: 0.04em; color: var(--ink-mute); }
.hero.is-video .hero-lead { color: rgba(255, 255, 255, 0.94); }
.hero.is-video .hero-note { color: rgba(255, 255, 255, 0.8); }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero.is-video .btn-outline { background: transparent; border-color: rgba(255, 255, 255, 0.85); color: var(--white); }
.hero.is-video .btn-outline:hover { background: rgba(255, 255, 255, 0.14); }

/* 스토어 배지: 검정 둥근 네모에 흰 로고와 두 줄 글자. 주소는 site.js 맨 위 상수에서 넣는다 */
.store-row { display: flex; flex-wrap: wrap; gap: 10px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 16px;
  border-radius: 14px; background: #000000; border: 1px solid #000000; color: var(--white);
  white-space: nowrap; transition: opacity 0.2s;
}
.store-badge:hover { opacity: 0.82; }
.store-badge .ic { width: 28px; height: 28px; }
.store-badge-text { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1; }
.store-badge-text small { font-size: 11px; font-weight: 400; letter-spacing: 0.02em; }
.store-badge-text strong { font-family: var(--font-title); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.store-row-sm { gap: 8px; }
.store-row-sm .store-badge { height: 46px; padding: 0 16px 0 12px; gap: 8px; border-radius: 12px; }
.store-row-sm .store-badge .ic { width: 22px; height: 22px; }
.store-row-sm .store-badge-text small { font-size: 10px; }
.store-row-sm .store-badge-text strong { font-size: 15px; }
.hero-stores { margin-top: 16px; justify-content: center; }
.hero.is-video .store-badge { border-color: rgba(255, 255, 255, 0.5); }
.footer-stores { margin-top: 28px; }
.band .store-row { margin-top: 32px; }
.band-sub { margin-top: 24px !important; font-size: 15px; }
.band-sub a { display: inline-flex; align-items: center; gap: 6px; color: var(--purple); font-weight: 500; }
.band-sub a:hover { color: var(--purple-deep); }
.band-sub .ic { width: 16px; height: 16px; }

/* 흐르는 칩 줄 */
.marquee { overflow: hidden; padding: 36px 0 0; }
.marquee-track { display: flex; gap: 10px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.chip {
  flex-shrink: 0; display: inline-flex; align-items: center;
  padding: 11px 18px; border-radius: 9999px;
  border: 1px solid var(--purple-soft); background: var(--purple-tint);
  font-size: 14px; line-height: 1; letter-spacing: 0.02em; color: var(--ink-low); white-space: nowrap;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 5px)); } }

/* 본문 섹션 */
.section { padding: 120px 0; }
.section-tight { padding: 80px 0 120px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto; }
h2, .h2 { font-family: var(--font-title); font-weight: 700; font-size: 44px; line-height: 1.26; letter-spacing: -0.02em; text-wrap: balance; }
h3, .h3 { font-family: var(--font-title); font-weight: 700; font-size: 22px; line-height: 1.4; letter-spacing: -0.01em; }
.term { display: inline-block; margin-top: 20px; padding: 8px 18px; border-radius: 20px; background: var(--purple-tint); border: 1px solid var(--purple-soft); font-size: 14px; line-height: 1.6; color: var(--ink-low); }
.term + .lead, .term + .hero-lead { margin-top: 16px; }
.lead { margin-top: 20px; font-size: 17px; line-height: 1.75; color: var(--ink-low); }

/* 사진 자리: 사진이 아직 없거나 못 불러와도 연한 바탕만 보인다 */
.photo { position: relative; overflow: hidden; border-radius: 32px; background: var(--purple-tint); aspect-ratio: 4 / 3; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-tall { aspect-ratio: 4 / 5; }
.photo-wide { aspect-ratio: 16 / 9; }
img.is-missing { visibility: hidden; }

/* 글과 사진을 나란히 */
.media-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.media-row + .media-row, .steps + .media-row { margin-top: 120px; }
.media-row h2 { font-size: 40px; }
.media-row .h3-lg { font-size: 30px; line-height: 1.34; }
.media-text > p { margin-top: 8px; color: var(--ink-low); }
.media-text > h2 + p, .media-text > h3 + p { margin-top: 24px; }
.about-line { margin-top: 26px !important; font-family: var(--font-title); font-weight: 600; font-size: 23px; line-height: 1.58; letter-spacing: -0.01em; color: var(--ink) !important; }
.flow-chips { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow-chips li { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid var(--purple-soft); border-radius: 9999px; background: var(--purple-tint); font-size: 14px; color: var(--ink-low); }
.flow-chips .arrow { border: 0; padding: 0; height: auto; background: none; color: var(--purple); }
.flow-chips .arrow .ic { width: 16px; height: 16px; }
.stats { margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stats > div { padding: 22px 12px 0 0; }
.stats dt { font-family: var(--font-title); font-weight: 700; font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; white-space: nowrap; }
.stats dd { margin-top: 6px; font-size: 13px; color: var(--ink-mute); line-height: 1.5; }
.about-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

/* 폰 모양 예시: 음성 통화 중 화면 */
.phone {
  position: relative; width: 100%; max-width: 340px; margin: 0 auto;
  aspect-ratio: 340 / 660; border-radius: 44px; padding: 12px;
  background: var(--ink); border: 1px solid #2c2b25;
}
.phone-screen {
  height: 100%; border-radius: 33px; overflow: hidden; background: #1d1728; color: var(--white);
  display: flex; flex-direction: column; align-items: center; padding: 44px 18px 28px; text-align: center;
}
.call-name { font-family: var(--font-title); font-weight: 800; font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; }
.call-kind { margin-top: 10px; display: inline-flex; align-items: center; height: 24px; padding: 0 11px; border-radius: 9999px; border: 1px solid rgba(255, 255, 255, 0.4); font-size: 11px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.85); }
.call-status { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.call-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--danger); }
.call-photo-wrap { position: relative; margin: auto 0; width: 62%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.call-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--purple); opacity: 0; animation: call-ring 2.8s ease-out infinite; }
.call-ring + .call-ring { animation-delay: 1.4s; }
.call-photo { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #2b2340; border: 3px solid var(--purple); }
.call-photo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes call-ring { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.34); opacity: 0; } }
.call-wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 26px; margin-bottom: 26px; color: var(--purple-soft); }
.call-wave i { display: block; width: 3px; height: 100%; border-radius: 3px; background: currentColor; transform: scaleY(0.3); animation: call-wave 1.1s ease-in-out infinite; }
.call-wave i:nth-child(2) { animation-delay: 0.15s; }
.call-wave i:nth-child(3) { animation-delay: 0.3s; }
.call-wave i:nth-child(4) { animation-delay: 0.45s; }
.call-wave i:nth-child(5) { animation-delay: 0.6s; }
.call-wave i:nth-child(6) { animation-delay: 0.3s; }
.call-wave i:nth-child(7) { animation-delay: 0.1s; }
@keyframes call-wave { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }
.call-controls { display: flex; justify-content: center; gap: 22px; width: 100%; }
.call-ctrl { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, 0.9); }
.call-round { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.16); color: var(--white); }
.call-round.is-on { background: var(--white); color: var(--purple); }
.call-round.is-end { background: var(--danger); }
.call-round.is-end .ic { transform: rotate(135deg); }
.phone-caption { margin-top: 14px; text-align: center; font-size: 13px; color: var(--ink-mute); }

/* 텔러 */
.teller-group-title { display: flex; align-items: baseline; gap: 12px; margin: 72px 0 24px; }
.teller-group-title span { font-size: 14px; color: var(--ink-mute); }
/* 카드: 위는 큰 동그라미 사진과 이름, 성격, 스타일 알약, 대사. 아래는 목소리, 잘하는 대화, 호칭(과 쓰는 언어) 목록.
   PC 는 한 줄 4장(마지막 줄은 가운데), 태블릿 3장, 폰은 옆으로 넘기는 줄 */
.teller-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.teller-card {
  flex: 0 0 calc((100% - 48px) / 4); min-width: 0;
  border: 1px solid var(--line); border-radius: 24px; padding: 30px 22px 24px; background: var(--white);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
/* 다섯 장 묶음: 같은 카드 폭으로 3장, 2장 */
.teller-grid-3 { max-width: calc(75% - 4px); margin-left: auto; margin-right: auto; }
.teller-grid-3 .teller-card { flex-basis: calc((100% - 32px) / 3); }
.avatar { width: 132px; height: 132px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--purple-tint); border: 1px solid var(--purple-soft); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
/* 사진 둘레: 글로벌 텔러 나라 국기(왼쪽 아래)와 목소리 미리 듣기 단추(오른쪽 아래) */
.avatar-wrap { position: relative; width: 132px; height: 132px; flex-shrink: 0; }
.avatar-wrap .avatar { width: 100%; height: 100%; }
.avatar-flag {
  position: absolute; left: 4px; bottom: 6px; width: 30px; height: 30px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--white); background: var(--white); box-shadow: 0 1px 4px rgba(25, 24, 19, 0.18);
}
.avatar-flag img { width: 100%; height: 100%; object-fit: cover; }
.voice-btn {
  position: absolute; right: -2px; bottom: 0; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: var(--purple); color: var(--white); box-shadow: 0 0 0 3px var(--white), 0 2px 8px rgba(146, 51, 255, 0.32);
  transition: background 0.2s;
}
.voice-btn:hover { background: var(--purple-deep); }
.voice-btn svg { position: relative; width: 20px; height: 20px; }
.voice-btn .ic-play { margin-left: 2px; }
.voice-btn .ic-pause { display: none; }
.voice-btn[aria-pressed="true"] .ic-play { display: none; }
.voice-btn[aria-pressed="true"] .ic-pause { display: block; }
/* 재생 중 진행 고리: --p(0~1) 만큼 단추 둘레를 채운다 */
.voice-btn::before {
  position: absolute; inset: -6px; border-radius: 50%; content: ""; opacity: 0; transition: opacity 0.2s;
  background: conic-gradient(var(--purple) calc(var(--p, 0) * 360deg), var(--purple-soft) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
}
.voice-btn[aria-pressed="true"]::before { opacity: 1; }
.voice-tip {
  position: absolute; left: 50%; top: calc(100% + 8px); z-index: 2; transform: translateX(-50%);
  padding: 7px 12px; border-radius: 10px; background: var(--ink); color: var(--white);
  font-size: 12px; line-height: 1.4; white-space: nowrap; pointer-events: none;
  opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s;
}
.voice-tip.is-on { opacity: 1; visibility: visible; }
/* 소통 가능한 언어: 국기와 언어 이름 알약 */
.lang-pills { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 2px; }
.lang-pills li {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 8px; border-radius: 9999px;
  border: 1px solid var(--line); background: var(--white); font-size: 13px; color: var(--ink); white-space: nowrap;
}
.lang-pills .flag { width: 18px; height: 13.5px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(25, 24, 19, 0.1); }
.teller-name { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; }
.teller-name strong { font-family: var(--font-title); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 9999px; border: 1px solid var(--purple-soft); background: var(--purple-tint); font-size: 11px; letter-spacing: 0.02em; color: var(--purple); white-space: nowrap; }
.teller-concept { margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.style-tags { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.style-tags li { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 9999px; border: 1px solid var(--line); background: var(--white); font-size: 12px; letter-spacing: 0.02em; color: var(--ink-low); white-space: nowrap; }
.teller-quote { margin-top: 14px; margin-bottom: 20px; font-size: 14px; line-height: 1.65; color: var(--ink-low); }
.teller-facts { margin-top: auto; width: 100%; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; text-align: left; }
.teller-facts dt { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.4; letter-spacing: 0.02em; color: var(--ink-mute); }
.teller-facts dt .ic { width: 16px; height: 16px; color: var(--purple); }
.teller-facts dd { margin-top: 3px; padding-left: 22px; font-size: 14px; line-height: 1.55; color: var(--ink); }
.notice { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; padding: 22px 28px; border-radius: 24px; background: var(--purple-tint); }
.notice p { font-size: 15px; line-height: 1.7; color: var(--ink-low); }
.notice p:first-child { color: var(--ink); font-weight: 500; }
.notice .ic-badge { background: var(--white); }
.call-row { margin-top: 56px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card-soft { background: var(--purple-tint); border-radius: 24px; padding: 34px 36px; }
.card-soft h3 { margin-top: 20px; }
.card-soft p { margin-top: 10px; font-size: 16px; color: var(--ink-low); }
.card-wide { grid-column: 1 / -1; }
.note { margin-top: 20px; font-size: 14px; color: var(--ink-mute); }

/* 이용방법, 수익 흐름 단계 */
.steps { margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.step { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 28px 26px 32px; }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-no { font-family: var(--font-title); font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: -0.01em; color: var(--purple); }
.step h3 { margin-top: 24px; font-size: 20px; }
.step p { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--ink-low); }
.center-cta { margin-top: 48px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* 안심 장치 */
.safe-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* 자주묻는질문 */
.faq { margin-top: 64px; display: flex; flex-direction: column; gap: 16px; }
.faq details { background: var(--purple-tint); border-radius: 24px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 40px;
  padding: 32px 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-no { width: 64px; flex-shrink: 0; font-family: var(--font-title); font-weight: 600; font-size: 38px; line-height: 1; letter-spacing: -0.02em; color: var(--purple); }
.faq-q { flex: 1; font-family: var(--font-title); font-weight: 700; font-size: 21px; line-height: 1.45; letter-spacing: -0.01em; }
.faq-mark { color: var(--purple); transition: transform 0.2s; }
details[open] .faq-mark { transform: rotate(180deg); }
.faq-a { padding: 0 56px 34px 160px; font-size: 16px; line-height: 1.8; color: var(--ink-low); }

/* 앱 안내 */
.band { text-align: left; }
.band .tag { height: 30px; padding: 0 14px; font-size: 13px; margin-bottom: 24px; gap: 6px; }
.band .tag .ic { width: 16px; height: 16px; }
.band .center-cta { justify-content: flex-start; margin-top: 32px; }

/* 텔러 페이지 */
.page-hero { padding: calc(var(--header-h) + 72px) 0 0; text-align: center; }
.page-hero h1 { font-family: var(--font-title); font-weight: 700; font-size: 52px; line-height: 1.24; letter-spacing: -0.02em; }
.page-hero .hero-lead { margin: 28px auto 0; }
.page-hero .term + .hero-lead { margin-top: 16px; }
.page-hero .photo { margin-top: 64px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.split h2 { font-size: 40px; }
.split .lead + .lead { margin-top: 8px; }
.plain-list { margin-top: 28px; border-top: 1px solid var(--line); }
.plain-list li { display: flex; align-items: flex-start; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink-low); }
.plain-list .ic { width: 20px; height: 20px; margin-top: 4px; color: var(--purple); }

/* 지원 폼 */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 44px 44px 40px; }
.field { margin-top: 24px; }
.field:first-of-type { margin-top: 0; }
.field label, .field .label { display: flex; align-items: baseline; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.field .opt { font-size: 12px; font-weight: 400; color: var(--ink-mute); }
.input, .textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 14px; background: var(--white);
  padding: 0 18px; height: 54px; font-size: 16px; line-height: 1.5; color: var(--ink);
  transition: border-color 0.2s; -webkit-appearance: none; appearance: none;
}
.textarea { height: 112px; padding: 14px 18px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #a9a4b3; }
.input:focus, .textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-soft); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--ink); border-width: 2px; }
.field-error { margin-top: 6px; font-size: 13px; color: var(--ink); min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { margin-top: 28px; background: var(--purple-tint); border-radius: 16px; padding: 22px 24px; }
.consent-title { font-size: 14px; font-weight: 500; }
.consent dl { margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--ink-low); }
.consent dl > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; }
.consent dt { color: var(--ink-mute); }
.consent-note { margin-top: 10px; font-size: 13px; line-height: 1.65; color: var(--ink-mute); }
.check { margin-top: 16px; display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--purple); flex-shrink: 0; }
.form-actions { margin-top: 28px; }
.form-actions .btn { width: 100%; }
.form-status { margin-top: 16px; font-size: 15px; line-height: 1.65; color: var(--ink); text-align: center; }
.form-status:empty { display: none; }

/* 푸터 */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 64px 0 56px; font-size: 13px; line-height: 1.8; color: var(--ink-mute); }
.footer-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .logo img { height: 16px; }
.footer-top p { margin-top: 14px; font-size: 14px; color: var(--ink-low); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--ink-low); }
.footer-links a:hover { color: var(--purple); }
.footer-biz { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-biz span { display: inline-block; margin-right: 16px; }
.footer-copy { margin-top: 12px; letter-spacing: 0.04em; }

/* 나타나기 */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .call-ring, .call-wave i { animation: none; }
  .call-wave i:nth-child(odd) { transform: scaleY(0.5); }
  .call-wave i:nth-child(even) { transform: scaleY(0.9); }
  .roll, .roll-word { transition: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* 태블릿 */
@media (max-width: 1280px) {
  .site-header .wrap { gap: 20px; }
  .header-brand { gap: 16px; }
  .nav { gap: 20px; }
  .header-side { gap: 14px; }
}
@media (max-width: 1180px) {
  .nav, .header-link { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-side { margin-left: auto; gap: 8px; }
  .mobile-menu {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .mobile-menu.is-open { display: block; }
  .mobile-menu-view { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-mute); }
  .mobile-menu a { display: block; padding: 14px 0; font-size: 16px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-menu li:last-child a { border-bottom: 0; }
}
@media (max-width: 1080px) {
  .teller-grid { gap: 12px; }
  .teller-card { flex-basis: calc((100% - 24px) / 3); padding: 26px 18px 22px; }
  .teller-grid-3 { max-width: none; }
  .teller-grid-3 .teller-card { flex-basis: calc((100% - 24px) / 3); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .media-row, .split { gap: 48px; }
}

/* 폰 */
@media (max-width: 760px) {
  :root { --header-h: 56px; --gutter: 20px; }
  body { font-size: 15px; }
  .m-only { display: inline; }
  .d-only { display: none; }
  .header-brand { gap: 10px; }
  .logo img { height: 13px; }
  .site-footer .logo img { height: 13px; }
  .gender-btn svg { width: 18px; height: 18px; }
  .header-side .btn { display: none; }
  .btn { height: 52px; padding: 0 26px; font-size: 15px; }
  .hero-inner { padding: 40px var(--gutter) 56px; }
  .hero h1, .page-hero h1 { font-size: 30px; line-height: 1.3; gap: 6px; }
  .hero-line { gap: 10px; }
  .roll { padding: 2px 16px 4px; }
  .hero-lead { margin-top: 22px; font-size: 15px; }
  .hero-note { font-size: 13px; }
  .hero-cta { margin-top: 28px; }
  .marquee { padding-top: 24px; }
  .chip { padding: 9px 14px; font-size: 13px; }
  .section { padding: 72px 0; }
  .section-tight { padding: 48px 0 72px; }
  h2, .h2, .media-row h2, .split h2 { font-size: 26px; line-height: 1.36; }
  h3, .h3 { font-size: 19px; }
  .media-row .h3-lg { font-size: 22px; }
  .lead { margin-top: 16px; font-size: 15px; }
  .photo { border-radius: 22px; }
  .media-row, .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .media-row + .media-row, .steps + .media-row { margin-top: 72px; }
  .media-row .photo, .media-row > figure { order: -1; }
  .media-row.keep-order .photo, .media-row.keep-order > figure { order: 0; }
  .about-line { font-size: 19px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div { padding: 18px 8px 18px 0; border-bottom: 1px solid var(--line); }
  .stats dt { font-size: 24px; }
  .phone { max-width: 290px; }
  .teller-group-title { margin: 56px 0 20px; flex-direction: column; gap: 4px; }
  /* 폰: 카드를 옆으로 넘겨 본다. 다음 카드가 조금 보이게 폭을 78% 로 */
  .teller-grid, .teller-grid-3 {
    flex-wrap: nowrap; justify-content: flex-start; gap: 10px;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .teller-grid::-webkit-scrollbar { display: none; }
  .teller-card, .teller-grid-3 .teller-card { flex: 0 0 78%; scroll-snap-align: start; padding: 26px 20px 22px; border-radius: 20px; }
  .avatar, .avatar-wrap { width: 120px; height: 120px; }
  .teller-name strong { font-size: 20px; }
  .store-badge { height: 52px; padding: 0 18px 0 14px; }
  .store-badge-text strong { font-size: 17px; }
  .hero-stores { margin-top: 14px; }
  .band .store-row { margin-top: 24px; }
  .notice { align-items: flex-start; gap: 14px; padding: 20px; border-radius: 20px; }
  .notice p { font-size: 14px; }
  .ic-badge { width: 44px; height: 44px; }
  .call-row { margin-top: 40px; }
  .duo, .safe-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .stack { gap: 12px; }
  .card-soft { padding: 24px 24px 26px; border-radius: 20px; }
  .card-soft h3 { margin-top: 16px; }
  .card-soft p { font-size: 15px; }
  .steps, .steps-5 { margin-top: 40px; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .step { padding: 22px 22px 24px; border-radius: 20px; }
  .step h3 { margin-top: 16px; font-size: 18px; }
  .safe-grid, .faq { margin-top: 40px; }
  .faq { gap: 12px; }
  .faq details { border-radius: 20px; }
  .faq summary { padding: 22px 20px; gap: 12px; align-items: flex-start; }
  .faq-no { width: 30px; font-size: 20px; padding-top: 3px; }
  .faq-q { font-size: 17px; }
  .faq-mark { margin-top: 2px; }
  .faq-a { padding: 0 20px 24px 62px; font-size: 15px; }
  .page-hero { padding-top: calc(var(--header-h) + 48px); }
  .page-hero .photo { margin-top: 40px; aspect-ratio: 4 / 3; }
  .form-card { padding: 28px 22px 26px; border-radius: 22px; }
  .consent { padding: 18px 18px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-biz span { display: block; margin-right: 0; }
}

/* 큰 한마디 띠: 칩 줄과 '잘자가 뭐야' 사이 */
.statement { padding: 120px 0 40px; text-align: center; }
.statement-text {
  font-family: var(--font-title, "SUITE Variable", "SUIT", sans-serif);
  font-size: clamp(30px, 4.6vw, 56px); font-weight: 700; line-height: 1.4; letter-spacing: -0.03em; color: var(--ink); margin: 0;
}
@media (max-width: 640px) { .statement { padding: 72px 0 16px; } }
