/* =====================================================================
   RemainSoft 홈페이지 스타일
   - 색/타이포/간격 값은 tokens/*.css 의 변수를 쓴다.
   - site.css 와 클래스 이름(rs-*)이 겹치므로 같이 로드하지 말 것.
   ===================================================================== */

/* ============================ 아이콘 ============================
   아이콘을 CSS 마스크로 찍어 currentColor 를 따라가게 한다.
   ================================================================ */
.rs-icon{
    display:inline-block;
    width:var(--icon-size,20px);
    height:var(--icon-size,20px);
    flex:0 0 auto;
    background-color:currentColor;
    -webkit-mask-image:var(--icon);mask-image:var(--icon);
    -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
    -webkit-mask-size:contain;mask-size:contain;
    -webkit-mask-position:center;mask-position:center;
}

/* ============================ 버튼 ============================ */
.rs-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:var(--space-2);
    height:44px;
    padding:0 var(--space-5);
    font:var(--text-label);
    letter-spacing:-.01em;
    white-space:nowrap;
    border-radius:var(--radius-md);
    cursor:pointer;
    text-decoration:none;
    transition:var(--transition-control),transform var(--dur-fast) var(--ease-out);
}
.rs-btn:hover{text-decoration:none}
.rs-btn:active{transform:scale(var(--press-scale))}

.rs-btn--sm{height:36px;padding:0 14px;font:var(--text-body-sm);gap:6px}
.rs-btn--lg{height:52px;padding:0 28px;font:var(--fw-semibold) var(--fs-body-lg)/1.2 var(--font-sans);gap:10px}

.rs-btn--dark{
    background:var(--ink-900);
    border:1px solid var(--ink-900);
    color:var(--ink-0);
    box-shadow:0 8px 20px -10px rgba(0,0,0,.45);
}
.rs-btn--dark:hover{
    background:var(--brand);
    border-color:var(--brand);
    color:var(--ink-0);
    box-shadow:0 8px 20px -10px rgba(27,150,214,.55);
}

.rs-btn--primary{
    background:var(--surface-brand);
    border:1px solid var(--surface-brand);
    color:var(--text-on-brand);
    box-shadow:var(--shadow-brand);
}
.rs-btn--primary:hover{background:var(--brand-hover);border-color:var(--brand-hover);color:var(--text-on-brand)}

.rs-btn--secondary{
    background:var(--surface-card);
    border:1px solid var(--border-default);
    color:var(--text-heading);
    box-shadow:var(--shadow-xs);
}
.rs-btn--secondary:hover{background:var(--surface-alt);border-color:var(--border-strong);color:var(--text-heading)}

.rs-btn--inverse{
    background:var(--ink-0);
    border:1px solid var(--ink-0);
    color:var(--ink-900);
}
.rs-btn--inverse:hover{background:var(--ink-50);color:var(--ink-900)}

/* 문의 폼(.rs-form)의 전송 버튼이 전송 중일 때. site.v2.js 가 disabled 를 걸면 흐린 회색이 된다.
   .rs-form 으로 범위를 좁힌 이유: 관리자 화면도 이 파일을 쓰는데 그쪽 비활성 버튼은 admin.css 가 따로 꾸민다.
   클릭·Enter·포커스는 disabled 가 이미 막으므로 pointer-events 는 끄지 않는다. 그래야 커서로
   "지금은 못 누른다"가 보인다. 셀렉터 깊이가 .rs-btn--dark:hover 보다 높아 호버색도 이긴다. */
.rs-form .rs-btn:disabled{
    background:var(--ink-100);
    border-color:var(--ink-100);
    color:var(--text-faint);
    box-shadow:none;
    cursor:not-allowed;
}

/* ============================ 배지 / 태그 ============================ */
.rs-badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:4px 10px;
    border-radius:var(--radius-pill);
    font:var(--fw-semibold) var(--fs-caption)/1.3 var(--font-sans);
    letter-spacing:.01em;
}
.rs-badge--brand{background:var(--surface-brand-subtle);color:var(--blue-700);border:1px solid var(--brand-border)}
.rs-badge--neutral{background:var(--surface-sunken);color:var(--text-body);border:1px solid var(--border-subtle)}

.rs-tag{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:6px 12px;
    border-radius:var(--radius-sm);
    font:var(--text-body-sm);
    background:var(--surface-card);
    color:var(--text-body);
    border:1px solid var(--border-default);
}
/* 누르면 이동하는 태그. 모양은 그대로 두고 호버 때만 브랜드 색으로 바꾼다 */
.rs-tag--link{text-decoration:none;cursor:pointer;transition:var(--transition-control)}
.rs-tag--link:hover{
    color:var(--blue-700);
    background:var(--surface-brand-subtle);
    border-color:var(--brand-border);
    text-decoration:none;
}

/* ============================ 카드 ============================ */
.rs-card{
    background:var(--surface-card);
    border:1px solid var(--border-subtle);
    border-radius:var(--radius-lg);
    padding:var(--space-8);
    box-shadow:var(--shadow-xs);
}

/* 대문자 변환 없이 그대로 쓰는 오버라인 */
.rs-kicker{
    font:var(--text-overline);
    letter-spacing:var(--ls-overline);
    color:var(--text-brand);
}

/* ============================ 섹션 헤딩 ============================ */
.rs-section-heading{
    display:flex;
    flex-direction:column;
    gap:var(--space-4);
    align-items:flex-start;
    max-width:640px;
}
.rs-section-heading h2{font:var(--text-h2);letter-spacing:var(--ls-heading);color:var(--text-heading)}
.rs-section-heading p{font:var(--text-body-lg);color:var(--text-muted)}

/* 오버라인 + 제목을 세로로 쌓는 묶음 (섹션 머리말 좌측 블록) */
.rs-heading-stack{display:flex;flex-direction:column;gap:var(--space-3);align-items:flex-start}

/* 브랜드 컬러 짧은 밑줄 */
.rs-rule{width:56px;height:var(--rule-accent);background:var(--brand)}
.rs-rule--sm{width:48px}

/* 페이지 안쪽 폭을 잡는 래퍼 */
.rs-inner{max-width:var(--container-max);margin:0 auto;padding:0 var(--gutter)}

/* ============================ 헤더 ============================ */
.rs-header{
    position:sticky;
    top:0;
    z-index:40;
    background:rgba(255,255,255,.86);
    backdrop-filter:saturate(160%) blur(12px);
    -webkit-backdrop-filter:saturate(160%) blur(12px);
    border-bottom:1px solid var(--border-subtle);
}
.rs-header__inner{
    max-width:var(--container-max);
    margin:0 auto;
    padding:0 var(--gutter);
    height:56px;
    display:flex;
    align-items:center;
    gap:var(--gutter);
}
.rs-header__logo{display:flex;align-items:center;flex-shrink:0}
.rs-header__logo img{height:32px;width:auto;display:block}
.rs-header__logo:hover{text-decoration:none}

.rs-nav{margin-left:auto;display:flex;align-items:center;gap:28px}
.rs-nav a{
    font-family:var(--font-sans);
    font-size:17px;
    font-weight:var(--fw-regular);
    letter-spacing:-.01em;
    white-space:nowrap;
    color:var(--text-heading);
    padding-bottom:2px;
    border-bottom:var(--border-width-thick) solid transparent;
    transition:var(--transition-control);
}
.rs-nav a:hover{color:var(--brand);text-decoration:none}
.rs-nav a.is-active{color:var(--brand);border-bottom-color:var(--brand)}

.rs-burger{
    margin-left:auto;
    display:none;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    background:transparent;
    border:1px solid var(--border-subtle);
    border-radius:var(--radius-md);
    color:var(--text-heading);
    cursor:pointer;
}

.rs-nav-mobile{display:none;border-top:1px solid var(--surface-sunken);background:var(--surface-page)}
.rs-nav-mobile.is-open{display:block}
.rs-nav-mobile__inner{
    max-width:var(--container-max);
    margin:0 auto;
    padding:var(--space-2) var(--gutter) var(--space-4);
    display:flex;
    flex-direction:column;
}
.rs-nav-mobile a{
    font-size:var(--fs-body);
    font-weight:var(--fw-regular);
    color:var(--text-heading);
    padding:14px 0;
    border-bottom:1px solid #F2F5F8;
    transition:var(--transition-control);
}
.rs-nav-mobile a:hover{color:var(--brand);text-decoration:none}
.rs-nav-mobile a.is-active{color:var(--brand)}

/* 1080px 에서 데스크톱 메뉴 <-> 햄버거 전환 */
@media (max-width:1079px){
    .rs-nav{display:none}
    .rs-burger{display:flex}
}
@media (min-width:1080px){
    .rs-nav-mobile{display:none !important}
}

/* ============================ 홈 : 히어로 ============================ */
/* 배경 사진 위에 밝은 막을 깔되, 글이 놓이는 왼쪽을 진하게 해 글자 대비를 확보한다 */
.rs-hero{
    background-color:var(--surface-page);
    background-image:
        linear-gradient(90deg,
            color-mix(in srgb,var(--surface-page) 70%,transparent) 0%,
            color-mix(in srgb,var(--surface-page) 100%,transparent) 18%,
            color-mix(in srgb,var(--surface-page) 100%,transparent) 30%,
            color-mix(in srgb,var(--surface-page) 40%,transparent) 90%),
        url('../img/home_bg_final.png');
    background-size:cover;
    background-position:right center;
    background-repeat:no-repeat;
}
.rs-hero__inner{
    max-width:var(--container-max);
    margin:0 auto;
    padding:clamp(72px,10vw,132px) var(--gutter) clamp(64px,8vw,104px);
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:var(--space-6);
    animation:rs-rise var(--dur-reveal) var(--ease-out) both;
}
.rs-hero h1{
    font-family:var(--font-display);
    font-weight:var(--fw-bold);
    font-size:clamp(34px,4.2vw,50px);
    line-height:1.12;
    letter-spacing:-.025em;
    color:var(--text-heading);
    text-wrap:balance;
}
/* 배경 사진 위라 기본 muted(ink-500) 로는 흐려서 본문색(ink-700)으로 한 단계 진하게 */
.rs-hero__lead{font-size:17px;line-height:1.72;color:var(--text-body);max-width:620px}
/* 버튼 줄과 태그 줄을 한 묶음으로 두고, 더 넓은 줄의 너비에 두 줄을 맞춘다 */
.rs-hero__cta{
    width:fit-content;
    max-width:100%;
    display:flex;
    flex-direction:column;
    gap:calc(var(--space-6) + var(--space-4));
    margin-top:var(--space-2);
}
/* 버튼 두 개는 글자 길이와 상관없이 같은 너비로 맞춘다 */
.rs-hero__actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:var(--space-3);
}
.rs-hero__tags{display:flex;flex-wrap:wrap;gap:10px}
/* 남는 폭을 항목들이 나눠 가져 줄 전체 너비를 묶음 너비에 맞춘다 */
.rs-hero__tags > .rs-tag{flex:1 1 auto;justify-content:center}

.rs-btn--hairline,
.rs-btn--hairline:hover{border-color:var(--border-default)}

/* ============================ 홈 : 회사 소개 ============================ */
.rs-about{background:var(--surface-page);border-top:1px solid var(--surface-sunken)}
.rs-about__inner{
    max-width:var(--container-max);
    margin:0 auto;
    padding:clamp(64px,7vw,96px) var(--gutter);
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:var(--space-12);
    align-items:start;
}
.rs-about__head{display:flex;flex-direction:column;gap:var(--space-5);align-items:flex-start}
.rs-about__head h2{
    font-family:var(--font-display);
    font-weight:var(--fw-bold);
    font-size:clamp(24px,2.6vw,32px);
    line-height:1.22;
    letter-spacing:-.02em;
    color:var(--text-heading);
}
.rs-about__body{display:flex;flex-direction:column;gap:var(--space-5);max-width:640px;justify-self:end}
.rs-about__body p{font-family:var(--font-reading);font-size:var(--fs-body);line-height:1.85;color:var(--text-body)}
.rs-about__body p+p{color:var(--text-muted)}

/* ============================ 홈 : 핵심 지표 ============================ */
.rs-stats{background:var(--surface-alt);border-top:1px solid var(--surface-sunken);border-bottom:1px solid var(--surface-sunken)}
.rs-stats__inner{
    max-width:var(--container-max);
    margin:0 auto;
    padding:clamp(48px,5vw,64px) var(--gutter);
    display:grid;
    /* 카드가 2+1 로 떨어지지 않도록 880px 기준으로 3열 아니면 1열로만 바뀐다 */
    grid-template-columns:repeat(auto-fit,minmax(
        max(calc((100% - 2 * var(--gutter)) / 3),
            min(100%, (880px - 100%) * 999)),
        1fr));
    gap:var(--gutter);
    text-align:center;
}
.rs-stat{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:var(--space-3);
    padding:var(--space-8) var(--space-3);
    background:var(--surface-card);
    border:1px solid var(--border-subtle);
    border-top:var(--rule-accent) solid var(--brand);
    border-radius:var(--radius-xl);
    box-shadow:var(--shadow-md);
}
.rs-stat__value{
    font:var(--fw-bold) var(--fs-h1)/1.05 var(--font-display);
    letter-spacing:var(--ls-display);
    color:var(--text-heading);
}
.rs-stat__value span{color:var(--brand)}
.rs-stat__label{font:var(--text-body-sm);color:var(--text-muted)}

/* ============================ 홈 : 제품 소개 ============================ */
.rs-products{background:var(--surface-page)}
.rs-products__inner{max-width:var(--container-max);margin:0 auto;padding:clamp(72px,8vw,112px) var(--gutter)}
.rs-products__head{
    display:flex;
    flex-wrap:wrap;
    align-items:flex-end;
    justify-content:space-between;
    gap:var(--space-5);
    padding-bottom:var(--space-5);
    border-bottom:1px solid var(--border-subtle);
}
.rs-products__head h2{
    font-family:var(--font-display);
    font-weight:var(--fw-bold);
    font-size:clamp(24px,2.8vw,34px);
    line-height:1.2;
    letter-spacing:-.02em;
    color:var(--text-heading);
}
.rs-products__head p{font-size:var(--fs-body);line-height:1.7;color:var(--text-muted);max-width:420px}
.rs-products__list{display:flex;flex-direction:column;gap:var(--gutter);margin-top:var(--space-12)}

.rs-product{
    border:1px solid var(--border-subtle);
    border-radius:var(--radius-lg);
    background:var(--surface-card);
    box-shadow:var(--shadow-xs);
    overflow:hidden;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
}
.rs-product__main{
    padding:clamp(28px,3.4vw,44px);
    display:flex;
    flex-direction:column;
    gap:var(--space-4);
    align-items:flex-start;
    border-top:var(--rule-accent) solid var(--brand);
}
.rs-product__main h3{
    font-family:var(--font-display);
    font-weight:var(--fw-bold);
    font-size:26px;
    letter-spacing:-.02em;
    color:var(--text-heading);
}
.rs-product__summary{font-size:var(--fs-body);line-height:1.7;color:var(--text-muted)}
.rs-product__main > .rs-btn{margin-top:var(--space-2)}
.rs-product__side{
    background:var(--surface-alt);
    border-left:1px solid var(--surface-sunken);
    padding:clamp(28px,3.4vw,44px);
    display:flex;
    flex-direction:column;
    gap:14px;
}
.rs-product__feature{display:flex;gap:10px;align-items:flex-start}
.rs-product__feature .rs-icon{color:var(--brand);margin-top:3px}
.rs-product__feature span:last-child{font-size:15px;line-height:1.6;color:var(--text-body)}

/* ============================ 홈 : 고객사 마퀴 ============================
   목록을 두 번 이어 붙이고 -50% 까지 움직여 이음매 없이 순환시킨다.
   ============================================================================ */
.rs-clients{background:var(--surface-alt);border-top:1px solid var(--surface-sunken);overflow:hidden}
.rs-clients__head{
    max-width:var(--container-max);
    margin:0 auto;
    padding:clamp(56px,6vw,88px) var(--gutter) clamp(24px,3vw,36px);
    display:flex;
    flex-wrap:wrap;
    align-items:flex-end;
    justify-content:space-between;
    gap:var(--space-5);
}
.rs-clients__head h2{
    font-family:var(--font-display);
    font-weight:var(--fw-bold);
    font-size:clamp(24px,2.8vw,34px);
    line-height:1.2;
    letter-spacing:-.02em;
    color:var(--text-heading);
}
.rs-clients__head p{font-size:var(--fs-body);line-height:1.7;color:var(--text-muted)}
.rs-clients__rows{
    /* 셀 그림자가 mask 경계에서 잘리지 않도록 위에도 여백을 두고, 그만큼 끌어올려 위치는 그대로 둔다 */
    padding-top:var(--space-3);
    margin-top:calc(-1 * var(--space-3));
    padding-bottom:var(--space-4);
    mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
}
/* 시간을 셀 수(--marquee-count)에 비례시켜 두 줄 속도를 같게 맞춘다. 셀 폭을 바꾸면 초당 이동량도 다시 맞출 것 */
.rs-marquee{
    display:flex;
    width:max-content;
    gap:var(--space-4);
    padding:0 var(--space-2);
    animation:rs-roll-left calc(var(--marquee-count, 26) * 1.92s) linear infinite;
}
.rs-marquee--a{padding-bottom:var(--space-4)}
.rs-marquee--b{animation-name:rs-roll-right}
.rs-marquee-cell{
    flex:none;
    width:230px;
    height:90px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 var(--space-5);
    background:var(--surface-card);
    border:1px solid var(--border-subtle);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-md);
    font-size:15px;
    font-weight:var(--fw-semibold);
    line-height:1.4;
    letter-spacing:-.01em;
    color:var(--text-body);
    text-align:center;
}
.rs-marquee-cell img{max-width:100%;max-height:54px;width:auto;height:auto;object-fit:contain;display:block}
.rs-clients__tail{height:clamp(48px,6vw,80px)}

/* ============================ 홈 : 영업문의 배너 ============================ */
.rs-cta{background:var(--surface-page)}
.rs-cta__inner{max-width:var(--container-max);margin:0 auto;padding:clamp(56px,6vw,88px) var(--gutter)}
.rs-cta__panel{
    border-radius:var(--radius-2xl);
    overflow:hidden;
    background-color:var(--ink-900);
    /* 글이 놓이는 왼쪽에 어두운 막을 깔아 흰 글씨 대비를 확보한다 */
    background-image:
        linear-gradient(90deg,
            color-mix(in srgb,var(--ink-900) 85%,transparent) 0%,
            color-mix(in srgb,var(--ink-900) 65%,transparent) 50%,
            color-mix(in srgb,var(--ink-900) 40%,transparent) 100%),
        url('../img/home_box.png');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    box-shadow:0 12px 28px -10px rgba(0,0,0,.4);
    padding:clamp(36px,5vw,64px);
    display:flex;
    flex-wrap:wrap;
    align-items:flex-end;
    justify-content:space-between;
    gap:var(--space-8);
}
.rs-cta__copy{flex:1 1 420px;display:flex;flex-direction:column;gap:14px}
.rs-cta__copy .rs-kicker{color:rgba(255,255,255,.8);text-transform:uppercase}
.rs-cta__copy h2{
    font-family:var(--font-display);
    font-weight:var(--fw-bold);
    font-size:clamp(26px,3.4vw,40px);
    line-height:1.18;
    letter-spacing:-.015em;
    color:var(--ink-0);
}
.rs-cta__copy p{font-size:17px;line-height:var(--lh-body);color:var(--ink-0);max-width:520px}
.rs-cta__action{display:flex;align-items:center}

/* ============================ 서브 비주얼 ============================ */
.rs-subvisual{
    background:var(--surface-alt);
    background-image:radial-gradient(120% 160% at 82% 0%, var(--brand-subtle) 0%,transparent 62%);
    border-bottom:1px solid var(--border-subtle);
}
.rs-subvisual__inner{
    max-width:var(--container-max);
    margin:0 auto;
    padding:clamp(56px,7vw,96px) var(--gutter) clamp(40px,5vw,64px);
    display:flex;
    flex-direction:column;
    gap:18px;
}
.rs-subvisual h1{
    font-family:var(--font-display);
    font-weight:var(--fw-bold);
    font-size:clamp(30px,4.6vw,52px);
    line-height:1.1;
    letter-spacing:-.025em;
    color:var(--text-heading);
}
.rs-breadcrumb{display:flex;align-items:center;gap:var(--space-2);font-size:var(--fs-body-sm);color:var(--text-muted)}
.rs-breadcrumb a{color:var(--text-muted)}
.rs-breadcrumb .rs-icon{color:var(--border-strong)}
.rs-breadcrumb__current{color:var(--text-brand);font-weight:var(--fw-semibold)}

/* ============================ 서브 페이지 공통 2단 레이아웃 ============================ */
.rs-split{
    max-width:var(--container-max);
    margin:0 auto;
    padding:clamp(64px,8vw,112px) var(--gutter);
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:56px;
    align-items:start;
}
.rs-split__aside{display:flex;flex-direction:column;gap:var(--space-5);align-items:flex-start}
.rs-split__aside h2{
    font-family:var(--font-display);
    font-weight:var(--fw-bold);
    font-size:clamp(26px,3.2vw,38px);
    line-height:1.2;
    letter-spacing:-.02em;
    color:var(--text-heading);
}
.rs-split__aside p{font-family:var(--font-reading);font-size:var(--fs-body);line-height:1.8;color:var(--text-muted);max-width:360px}
.rs-split__main{max-width:var(--container-narrow);display:flex;flex-direction:column;gap:28px}

/* ============================ 인사말 ============================ */
.rs-greeting{background:var(--surface-page)}
/* 본문과 푸터 사이 여백을 .rs-split 기본 하단 패딩의 2배로 */
.rs-greeting .rs-split{padding-bottom:calc(2 * clamp(64px,8vw,112px))}
/* 한글이 글자 중간에서 끊기지 않도록 단어(띄어쓰기) 단위로만 줄바꿈 */
.rs-greeting p{font-family:var(--font-reading);font-size:17px;line-height:1.9;color:var(--text-body);word-break:keep-all}
.rs-signature{
    margin-top:var(--space-2);
    padding-top:var(--gutter);
    border-top:1px solid var(--surface-sunken);
    display:flex;
    align-items:baseline;
    gap:var(--space-3);
}
.rs-signature__role{font-size:15px;color:var(--text-muted)}
.rs-signature__name{font-size:22px;font-weight:var(--fw-bold);letter-spacing:-.01em;color:var(--text-heading)}

/* ============================ 경영이념 ============================ */
.rs-philosophy{background:var(--surface-alt);border-top:1px solid var(--surface-sunken)}
.rs-philosophy__inner{max-width:var(--container-max);margin:0 auto;padding:clamp(64px,7vw,96px) var(--gutter)}
.rs-philosophy__grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:var(--gutter);
    margin-top:44px;
}
.rs-feature-card__icon{
    width:48px;
    height:48px;
    border-radius:var(--radius-md);
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--surface-brand-subtle);
    color:var(--brand);
    margin-bottom:var(--space-5);
}
.rs-feature-card h4{font:var(--text-h4);color:var(--text-heading);margin-bottom:var(--space-2)}
.rs-feature-card p{font:var(--text-body-md);color:var(--text-muted)}

/* ============================ 연혁 타임라인 ============================ */
.rs-history{background:var(--surface-page)}
.rs-history__groups{max-width:var(--container-narrow);display:flex;flex-direction:column;gap:44px}
.rs-history__group{display:flex;flex-direction:column;gap:var(--space-4)}
.rs-history__year{
    font-family:var(--font-display);
    font-weight:var(--fw-bold);
    font-size:clamp(30px,3.4vw,40px);
    line-height:1.1;
    letter-spacing:-.025em;
    color:var(--text-heading);
}
.rs-timeline{
    border-left:1px solid var(--border-subtle);
    padding-left:clamp(20px,2.6vw,32px);
    display:flex;
    flex-direction:column;
}
.rs-timeline__row{
    position:relative;
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    gap:4px var(--space-4);
    padding:13px 0;
    border-bottom:1px solid var(--surface-sunken);
}
.rs-timeline__row::before{
    content:"";
    position:absolute;
    left:calc(clamp(20px,2.6vw,32px) * -1 - 5px);
    top:21px;
    width:9px;
    height:9px;
    border-radius:var(--radius-pill);
    background:var(--surface-page);
    border:var(--border-width-thick) solid var(--brand);
}
.rs-timeline__month{
    flex:none;
    min-width:42px;
    font-family:var(--font-tech);
    font-size:13px;
    font-weight:var(--fw-semibold);
    letter-spacing:.06em;
    color:var(--brand);
}
.rs-timeline__text{
    flex:1 1 240px;
    font-family:var(--font-reading);
    font-size:17px;
    line-height:1.7;
    color:var(--text-body);
    /* 긴 영문이 가로 스크롤을 만들지 않도록. break-word 는 최소 폭 계산에 반영되지 않아 효과가 없다 */
    overflow-wrap:anywhere;
}
.rs-empty{
    padding:44px var(--space-6);
    border:1px dashed var(--border-default);
    border-radius:var(--radius-lg);
    background:var(--surface-alt);
    font-size:15px;
    line-height:1.8;
    color:var(--text-muted);
    text-align:center;
}

/* ============================ 고객사 목록 ============================ */
.rs-clientpage{background:var(--surface-page)}
.rs-clientpage__inner{
    max-width:var(--container-max);
    margin:0 auto;
    padding:clamp(64px,8vw,112px) var(--gutter);
    display:flex;
    flex-direction:column;
    gap:clamp(48px,6vw,80px);
}
.rs-clientpage__head{display:flex;flex-direction:column;gap:var(--space-5);align-items:flex-start}
.rs-clientpage__head h2{
    font-family:var(--font-display);
    font-weight:var(--fw-bold);
    font-size:clamp(26px,3.2vw,38px);
    line-height:1.2;
    letter-spacing:-.02em;
    color:var(--text-heading);
}
.rs-clientgroup{display:flex;flex-direction:column;gap:var(--gutter)}
.rs-clientgroup__head{
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    gap:var(--space-3);
    padding-bottom:var(--space-4);
    border-bottom:1px solid var(--border-subtle);
}
.rs-clientgroup__head h3{font-size:22px;font-weight:var(--fw-bold);letter-spacing:-.01em;color:var(--text-heading)}
.rs-clientgroup__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:var(--space-4)}

.rs-clientcard{
    /* 로고 유무와 상관없이 같은 높이 (패딩 + 로고 칸 56px + 간격 + 회사명 한 줄 + 테두리) */
    min-height:calc(2 * var(--space-5) + 56px + var(--space-2) + 1.5em + 2px);
    border:1px solid var(--border-subtle);
    border-radius:var(--radius-lg);
    background:var(--surface-alt);
    box-shadow:var(--shadow-xs);
    overflow:hidden;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:var(--space-2);
    padding:var(--space-5) var(--space-4);
    font-size:15px;
    font-weight:var(--fw-semibold);
    line-height:1.5;
    letter-spacing:-.01em;
    color:var(--text-body);
    text-align:center;
}
/* multiply 로 로고의 흰 배경을 카드 배경색에 녹인다. 카드 배경이 연한 색일 때만 쓸 것 */
.rs-clientcard img{width:100%;height:56px;object-fit:contain;display:block;mix-blend-mode:multiply}

/* ============================ 오시는 길 ============================ */
.rs-location{background:var(--surface-page)}
.rs-location__inner{
    max-width:var(--container-max);
    margin:0 auto;
    padding:clamp(64px,8vw,112px) var(--gutter);
    padding-bottom:calc(2 * clamp(64px,8vw,112px));
    display:flex;
    flex-direction:column;
    gap:clamp(40px,5vw,64px);
}
.rs-location__head{display:flex;flex-direction:column;gap:var(--space-5);align-items:flex-start}
.rs-map{
    border:1px solid var(--border-subtle);
    border-radius:var(--radius-lg);
    overflow:hidden;
    background:var(--surface-alt);
    box-shadow:var(--shadow-xs);
}
.rs-map__canvas{display:block;width:100%;height:clamp(280px,38vw,460px)}
.rs-location__cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:var(--gutter)}
.rs-infocard{
    border:1px solid var(--border-subtle);
    border-radius:var(--radius-lg);
    background:var(--surface-card);
    box-shadow:var(--shadow-xs);
    padding:clamp(24px,3vw,32px);
    display:flex;
    flex-direction:column;
    gap:14px;
}
.rs-infocard__icon{
    width:48px;
    height:48px;
    border-radius:var(--radius-md);
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--surface-brand-subtle);
    color:var(--brand);
}
.rs-infocard__addr{
    font-family:var(--font-reading);
    font-size:17px;
    font-weight:var(--fw-semibold);
    line-height:1.7;
    color:var(--text-body);
}
.rs-infocard__addr-en{font-size:15px;line-height:1.7;color:var(--text-muted)}
.rs-infocard__list{display:flex;flex-direction:column;gap:10px}
.rs-infocard__item{display:flex;gap:10px;align-items:flex-start}
.rs-infocard__item::before{
    content:"";
    flex:none;
    margin-top:6px;
    width:7px;
    height:7px;
    border-radius:var(--radius-pill);
    background:var(--brand);
}
.rs-infocard__item span{font-size:var(--fs-body);line-height:1.7;color:var(--text-body)}
.rs-infocard__contact{display:flex;flex-direction:column;gap:var(--space-2)}
.rs-infocard__tel{font-size:17px;font-weight:var(--fw-semibold);line-height:1.7;color:var(--text-body)}
.rs-infocard__mail{font-size:var(--fs-body);line-height:1.7;color:var(--text-brand)}

/* ============================ 문의 / 파트너쉽 폼 ============================ */
.rs-form{background:var(--surface-page)}
.rs-form .rs-split{padding-bottom:calc(2 * clamp(64px,8vw,112px))}
.rs-form .rs-split__main{gap:var(--gutter)}
.rs-form__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--space-5)}

.rs-field{display:flex;flex-direction:column;gap:var(--space-2)}
.rs-field__label{font:var(--text-label);color:var(--text-heading)}
.rs-field__req{color:var(--status-danger);margin-left:4px}
.rs-field__hint{font:var(--text-caption);color:var(--text-faint)}
/* 허니팟 칸. display:none 은 봇이 건너뛰므로 화면 밖으로 밀어내는 방식으로 숨긴다.
   flex 부모(.rs-split__main) 안에서 absolute 라 자리를 차지하지 않는다. */
.rs-field--trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}

.rs-input,
.rs-textarea{
    width:100%;
    font:var(--text-body-md);
    font-family:var(--font-sans);
    color:var(--text-heading);
    background:var(--surface-card);
    border:1px solid var(--border-default);
    border-radius:var(--radius-md);
    outline:none;
    transition:var(--transition-control);
}
.rs-input{height:48px;padding:0 14px}
.rs-textarea{padding:12px 14px;resize:vertical}
.rs-input:focus,
.rs-textarea:focus{border-color:var(--border-focus);box-shadow:var(--ring-focus)}
.rs-input.is-invalid,
.rs-textarea.is-invalid{border-color:var(--status-danger)}
.rs-input.is-invalid:focus,
.rs-textarea.is-invalid:focus{box-shadow:var(--ring-danger)}
.rs-input::placeholder,
.rs-textarea::placeholder{color:var(--text-faint)}

.rs-agree{
    padding:18px var(--space-5);
    background:var(--surface-alt);
    border:1px solid var(--border-subtle);
    border-radius:var(--radius-md);
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:var(--space-3);
}
.rs-checkbox{display:inline-flex;align-items:flex-start;gap:var(--space-3);cursor:pointer}
.rs-checkbox input{position:absolute;opacity:0;width:0;height:0}
.rs-checkbox__box{
    width:20px;
    height:20px;
    flex:0 0 auto;
    border-radius:var(--radius-xs);
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--surface-card);
    border:1px solid var(--border-strong);
    color:var(--text-on-brand);
    transition:var(--transition-control);
}
.rs-checkbox__box .rs-icon{opacity:0}
.rs-checkbox input:checked + .rs-checkbox__box{background:var(--surface-brand);border-color:var(--surface-brand)}
.rs-checkbox input:checked + .rs-checkbox__box .rs-icon{opacity:1}
.rs-checkbox input:focus-visible + .rs-checkbox__box{box-shadow:var(--ring-focus)}
.rs-checkbox__label{font:var(--text-body-sm);color:var(--text-body)}
.rs-agree__link{font-size:var(--fs-body-sm);font-weight:var(--fw-semibold);color:var(--text-brand);border-bottom:1px solid #B9DFF4}
.rs-agree__link:hover{text-decoration:none}

.rs-notice{
    display:none;
    /* 자동 스크롤 시 배너가 화면 바닥에 딱 붙지 않도록 띄운다 */
    scroll-margin-block-end:var(--space-10);
    align-items:flex-start;
    gap:10px;
    padding:14px 18px;
    border-radius:var(--radius-md);
    font-size:15px;
    line-height:1.6;
    background:#FDECEC;
    border:1px solid #F2C9C9;
    color:#A32A2A;
    transition:opacity var(--dur-base) var(--ease-in-out);
}
.rs-notice.is-shown{display:flex}
.rs-notice.is-sent{background:var(--surface-brand-subtle);border-color:#B9DFF4;color:var(--blue-700)}
.rs-notice .rs-icon{margin-top:2px}
/* display 는 전환이 안 되므로 먼저 흐려진 뒤 is-shown 을 뗀다 */
.rs-notice.is-fading{opacity:0}

.rs-form__submit{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:var(--space-4);
    padding-top:var(--space-2);
    border-top:1px solid var(--surface-sunken);
}
.rs-form__submit .rs-btn{margin-top:var(--space-4)}

/* 개인정보 동의 전문 모달 */
.rs-modal{
    display:none;
    position:fixed;
    inset:0;
    z-index:60;
    align-items:center;
    justify-content:center;
    padding:var(--gutter);
    background:var(--overlay-scrim);
    backdrop-filter:blur(4px);
    -webkit-backdrop-filter:blur(4px);
}
.rs-modal.is-open{display:flex}
.rs-modal__panel{
    width:100%;
    max-width:640px;
    max-height:80vh;
    display:flex;
    flex-direction:column;
    background:var(--surface-page);
    border-radius:var(--radius-xl);
    box-shadow:var(--shadow-lg);
    overflow:hidden;
}
.rs-modal__panel--wide{max-width:760px;max-height:86vh}
.rs-modal__head{
    padding:var(--gutter) 28px;
    border-bottom:1px solid var(--surface-sunken);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:var(--space-4);
}
.rs-modal__head h3{font-size:var(--fs-h4);font-weight:var(--fw-bold);letter-spacing:-.01em;color:var(--text-heading)}
.rs-modal__close{
    flex:none;
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:transparent;
    border:1px solid var(--border-subtle);
    border-radius:var(--radius-md);
    color:var(--ink-600);
    cursor:pointer;
}
/* 조(블록) 사이와 문단 사이를 넉넉히 띄워 긴 약관도 눈으로 끊어 읽히게 한다 */
.rs-modal__body{padding:var(--gutter) 28px;overflow-y:auto;display:flex;flex-direction:column;gap:var(--space-8)}
.rs-modal__block{display:flex;flex-direction:column;gap:var(--space-3)}
.rs-modal__block p{font-family:var(--font-reading);font-size:15px;line-height:1.8;color:var(--text-body)}
.rs-modal__block p a{color:var(--text-brand)}
.rs-modal__note{
    padding:var(--space-4) 18px;
    background:var(--surface-alt);
    border:1px solid var(--border-subtle);
    border-radius:var(--radius-md);
    font-family:var(--font-reading);
    font-size:var(--fs-body-sm);
    line-height:1.8;
    color:var(--text-muted);
}
.rs-modal__foot{padding:var(--space-5) 28px;border-top:1px solid var(--surface-sunken);display:flex;justify-content:flex-end}

/* ============================ 하단 안내 박스 ============================ */
.rs-endbox{background:var(--surface-page)}
.rs-endbox__inner{max-width:var(--container-max);margin:0 auto;padding:clamp(56px,6vw,88px) var(--gutter)}
.rs-endbox__inner--tight{padding-top:0}
.rs-endbox__panel{
    border:1px solid var(--border-subtle);
    border-radius:var(--radius-xl);
    padding:clamp(28px,4vw,48px);
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:var(--gutter);
}
.rs-endbox__copy{min-width:260px}
.rs-endbox__copy h3{font-size:var(--fs-h3);font-weight:var(--fw-bold);letter-spacing:-.01em;color:var(--text-heading)}
.rs-endbox__copy p{margin-top:var(--space-2);font-size:var(--fs-body);line-height:var(--lh-body);color:var(--text-muted)}
.rs-endbox__actions{display:flex;flex-wrap:wrap;gap:var(--space-3)}

/* ============================ 푸터 ============================ */
.rs-footer{background:var(--surface-alt);border-top:1px solid var(--border-subtle);color:var(--ink-600)}
/* 1079px 이하(헤더가 모바일 메뉴로 바뀌는 구간)는 브랜드 블록 아래에 메뉴 묶음(.rs-footer__nav)이
   한 줄 전체를 차지하며 내려온다. 1080px 이상은 아래 @media 에서 예전 네 칸 그리드로 바꾼다.
   (예전 auto-fit 그리드는 칸 수가 줄 때마다 메뉴가 엉뚱한 칸의 오른쪽 벽에 붙었다) */
.rs-footer__grid{
    max-width:var(--container-max);
    margin:0 auto;
    padding:clamp(48px,6vw,72px) var(--gutter) var(--space-8);
    display:flex;
    flex-direction:column;
    gap:var(--space-10);
}
/* align-items 를 두지 않으면 세로 flex 의 기본값(stretch)이 로고 이미지를 가로로 늘린다 */
.rs-footer__brand{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.rs-footer__brand img{height:45px;width:auto;display:block}
.rs-footer__info{font-size:var(--fs-body-sm);line-height:var(--lh-loose);color:var(--ink-600)}
.rs-footer__info a{color:var(--text-brand)}
.rs-footer__info .rs-footer__policy{
    font-size:var(--fs-body-sm);
    font-weight:var(--fw-bold);
    color:var(--text-body);
}
.rs-footer__info .rs-footer__policy:hover{color:var(--brand)}
/* COMPANY / PRODUCT / CONTACT 세 칸. 모바일에서는 한 줄을 같은 너비로 셋이 나눠 갖고 글자는 가운데 맞춘다. */
.rs-footer__nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-6)}
.rs-footer__col{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}
/* 데스크톱(헤더 GNB 가 펼쳐지는 1080px 과 같은 지점)에서는 예전처럼 브랜드+메뉴 네 칸을 같은 너비로 펼치고
   메뉴 글자는 각자 칸의 오른쪽 끝에 붙인다. nav 묶음은 display:contents 로 투명하게 만들어
   세 칸이 그리드 칸으로 직접 들어가게 한다. */
@media (min-width:1080px){
    .rs-footer__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
    .rs-footer__nav{display:contents}
    .rs-footer__col{align-items:flex-end;text-align:right}
}
.rs-footer__col a{font-size:var(--fs-body-sm);color:var(--text-body)}
.rs-footer__col a:hover{color:var(--brand)}
.rs-footer__bottom{max-width:var(--container-max);margin:0 auto;padding:0 var(--gutter) var(--space-10)}
.rs-footer__bottom div{
    border-top:1px solid var(--border-subtle);
    padding-top:var(--gutter);
    font-size:13px;
    color:var(--text-faint);
}

/* ============================ 모션 ============================ */
@keyframes rs-roll-left{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes rs-roll-right{from{transform:translateX(-50%)}to{transform:translateX(0)}}
@keyframes rs-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){*{animation-duration:1ms !important}}

/* ============================ 제품소개 : 탭 ============================ */
/* 폴더 탭. 선택된 탭은 밑줄을 가려 아래 패널과 이어져 보인다 */
.rs-tabs{background:var(--surface-page);border-bottom:1px solid var(--border-subtle)}
.rs-tabs__inner{
    max-width:var(--container-max);
    margin:0 auto;
    padding:clamp(32px,4vw,48px) var(--gutter) 0;
    display:flex;
    flex-wrap:wrap;
    align-items:flex-end;
    gap:var(--space-2);
}
.rs-tab{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    /* 가장 긴 탭 이름(한글 5자)이 들어가는 폭을 모든 탭의 최소 폭으로 둔다 */
    min-width:calc(5em + 2 * var(--space-6));
    height:44px;
    padding:0 var(--space-6);
    /* 밑줄 위에 1px 겹쳐 앉힌다. 선택된 탭은 이 겹친 자리를 패널 색으로 덮는다 */
    margin-bottom:-1px;
    border:1px solid var(--border-subtle);
    border-radius:var(--radius-lg) var(--radius-lg) 0 0;
    font:var(--fw-semibold) var(--fs-body)/1.2 var(--font-sans);
    letter-spacing:-.01em;
    white-space:nowrap;
    cursor:pointer;
    background:var(--surface-alt);
    color:var(--text-muted);
    transition:var(--transition-control);
}
.rs-tab:hover{background:var(--surface-sunken);color:var(--text-heading)}
.rs-tab.is-active{
    height:52px;
    background:var(--surface-page);
    border-bottom-color:var(--surface-page);
    border-top:var(--rule-accent) solid var(--brand);
    color:var(--text-brand);
}
.rs-tab.is-active:hover{background:var(--surface-page)}

.rs-tabpanel{display:none}
.rs-tabpanel.is-active{display:block}

/* ============================ 제품소개 : 개요 ============================ */
.rs-prodintro{background:var(--surface-page)}
.rs-prodintro .rs-split{padding:clamp(56px,7vw,88px) var(--gutter)}
.rs-prodintro__tags{display:flex;flex-wrap:wrap;gap:10px}
.rs-prodintro__lead{font-family:var(--font-reading);font-size:17px;line-height:1.9;color:var(--text-body)}
.rs-prodintro__sub{font-family:var(--font-reading);font-size:var(--fs-body);line-height:1.9;color:var(--text-muted)}

/* 도입 효과 지표 */
.rs-effects{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
    gap:var(--space-5);
    padding-top:var(--space-5);
    border-top:1px solid var(--surface-sunken);
}
.rs-effect{display:flex;flex-direction:column;gap:6px}
.rs-effect__value{
    font-family:var(--font-display);
    font-weight:var(--fw-bold);
    font-size:34px;
    letter-spacing:-.03em;
    color:var(--brand);
}
.rs-effect__unit{font-size:var(--fs-body-lg);color:var(--text-heading);margin-left:2px}
.rs-effect__label{font-size:var(--fs-body-sm);line-height:1.6;color:var(--text-muted)}

/* ============================ 제품소개 : 상세 섹션 공통 ============================ */
.rs-prodsection{background:var(--surface-page)}
.rs-prodsection--alt{background:var(--surface-alt);border-top:1px solid var(--border-subtle)}
.rs-prodsection__inner{
    max-width:var(--container-max);
    margin:0 auto;
    padding:clamp(56px,6vw,88px) var(--gutter);
    display:flex;
    flex-direction:column;
    gap:clamp(28px,4vw,44px);
}
.rs-prodsection__head{
    display:flex;
    flex-wrap:wrap;
    align-items:flex-end;
    justify-content:space-between;
    gap:var(--space-5);
    padding-bottom:var(--space-5);
    border-bottom:1px solid var(--border-subtle);
}
.rs-prodsection__head h3{
    font-family:var(--font-display);
    font-weight:var(--fw-bold);
    font-size:clamp(22px,2.6vw,32px);
    line-height:1.2;
    letter-spacing:-.02em;
    color:var(--text-heading);
}
.rs-prodsection__head p{font-size:var(--fs-body);line-height:1.7;color:var(--text-muted);max-width:440px}

/* 카드 그리드. 한 줄에 몇 장이 오느냐만 다르고 나머지는 같다. */
.rs-cardgrid{display:grid;gap:var(--space-5)}
.rs-cardgrid--wide{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.rs-cardgrid--mid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.rs-cardgrid--narrow{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.rs-cardgrid--etc{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:var(--space-4)}

/* ---- PROBLEM : 현업에서 겪는 문제 ---- */
.rs-problem{
    background:var(--surface-card);
    border:1px solid var(--border-subtle);
    border-top:var(--rule-accent) solid var(--brand);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-xs);
    padding:26px;
    display:flex;
    flex-direction:column;
    gap:var(--space-3);
}
.rs-problem__n{font-family:var(--font-mono);font-size:13px;font-weight:var(--fw-semibold);color:var(--brand)}
.rs-problem__title{font-size:var(--fs-h4);font-weight:var(--fw-bold);letter-spacing:-.01em;color:var(--text-heading)}
.rs-problem__body{font-size:15px;line-height:1.7;color:var(--text-body)}
.rs-problem__impact{
    margin-top:6px;
    padding-top:14px;
    border-top:1px solid var(--surface-sunken);
    font-size:var(--fs-body-sm);
    line-height:1.6;
    color:var(--text-muted);
}

/* ---- DIFFERENCE : 핵심 차별화 ---- */
.rs-diff{
    border:1px solid var(--border-subtle);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-xs);
    padding:26px;
    display:flex;
    flex-direction:column;
    gap:var(--space-3);
    align-items:flex-start;
}
.rs-diff__n{font-family:var(--font-mono);font-size:13px;font-weight:var(--fw-semibold);color:var(--text-faint)}
.rs-diff__title{font-size:19px;font-weight:var(--fw-bold);letter-spacing:-.01em;color:var(--text-heading)}
.rs-diff__body{font-size:15px;line-height:1.7;color:var(--text-muted)}

/* ---- FEATURES : 주요 기능 ---- */
.rs-prodfeature{
    background:var(--surface-card);
    border:1px solid var(--border-subtle);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-xs);
    padding:26px;
    display:flex;
    flex-direction:column;
    gap:14px;
    align-items:flex-start;
}
/* 경영이념 카드의 아이콘 배지를 그대로 재사용하되 아래 여백만 없앤다 */
.rs-prodfeature .rs-feature-card__icon{margin-bottom:0}
.rs-prodfeature__title{font-size:19px;font-weight:var(--fw-bold);letter-spacing:-.01em;color:var(--text-heading)}
.rs-prodfeature__body{font-size:15px;line-height:1.7;color:var(--text-muted)}

/* ---- LIFE CYCLE / 화면 소개 : 설명 + 스크린샷 2단 카드 ---- */
.rs-shots{display:flex;flex-direction:column;gap:var(--space-5)}
.rs-shot{
    background:var(--surface-card);
    border:1px solid var(--border-subtle);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-xs);
    overflow:hidden;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
}
.rs-shot__copy{
    padding:clamp(26px,3.2vw,40px);
    display:flex;
    flex-direction:column;
    gap:14px;
    align-items:flex-start;
    justify-content:center;
}
.rs-shot__copy h4{
    font-family:var(--font-display);
    font-weight:var(--fw-bold);
    font-size:clamp(20px,2.2vw,26px);
    line-height:1.25;
    letter-spacing:-.02em;
    color:var(--text-heading);
}
.rs-shot__body{font-size:var(--fs-body);line-height:1.75;color:var(--text-muted)}
.rs-shot__figure{
    min-width:0;
    margin:0;
    background:var(--surface-sunken);
    border-left:1px solid var(--border-subtle);
    padding:var(--space-4);
    display:flex;
    flex-direction:column;
    gap:10px;
}
.rs-shot__figure img{
    width:100%;
    height:auto;
    display:block;
    border-radius:var(--radius-md);
    border:1px solid var(--border-default);
}
.rs-shot__caption{font-size:var(--fs-caption);line-height:1.6;color:var(--text-muted)}

/* ---- DevOSS : 세 가지 약속 ---- */
.rs-promises{
    display:flex;
    flex-direction:column;
    gap:14px;
    padding-top:var(--space-5);
    border-top:1px solid var(--surface-sunken);
}
.rs-promise{display:flex;flex-wrap:wrap;gap:6px var(--space-4);align-items:baseline}
.rs-promise__n{flex:none;font-family:var(--font-mono);font-size:13px;font-weight:var(--fw-semibold);color:var(--brand)}
.rs-promise__title{
    flex:none;
    font-family:var(--font-display);
    font-size:17px;
    font-weight:var(--fw-bold);
    letter-spacing:-.01em;
    color:var(--text-heading);
}
.rs-promise__body{flex:1 1 240px;font-size:15px;line-height:1.7;color:var(--text-muted)}

/* ---- SPECIFICATION : 지원 환경 표 ---- */
.rs-spec{
    max-width:var(--container-narrow);
    border:1px solid var(--border-subtle);
    border-radius:var(--radius-lg);
    overflow:hidden;
}
.rs-spec__row{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:var(--space-2) var(--space-5);
    padding:var(--space-4) var(--space-5);
    border-bottom:1px solid var(--surface-sunken);
}
.rs-spec__row:last-child{border-bottom:0}
.rs-spec__label{
    font-family:var(--font-tech);
    font-size:13px;
    font-weight:var(--fw-semibold);
    letter-spacing:.06em;
    color:var(--ink-600);
}
.rs-spec__value{font-size:15px;line-height:1.6;color:var(--text-body)}

/* ---- 기타 제품 카드 ---- */
.rs-etc{
    background:var(--surface-card);
    border:1px solid var(--border-subtle);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-xs);
    padding:clamp(24px,3vw,32px);
    display:flex;
    flex-direction:column;
    gap:14px;
    align-items:flex-start;
}
.rs-etc .rs-feature-card__icon{margin-bottom:0}
.rs-etc__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px}
.rs-etc__head h3{
    font-family:var(--font-display);
    font-weight:var(--fw-bold);
    font-size:22px;
    letter-spacing:-.02em;
    color:var(--text-heading);
}
.rs-etc__body{font-size:15px;line-height:1.75;color:var(--text-muted)}
.rs-etc__points{
    width:100%;
    display:flex;
    flex-direction:column;
    gap:10px;
    padding-top:var(--space-4);
    border-top:1px solid var(--surface-sunken);
}
.rs-etc__point{display:flex;gap:10px;align-items:flex-start}
.rs-etc__point .rs-icon{color:var(--brand);margin-top:3px}
.rs-etc__point span{font-size:15px;line-height:1.6;color:var(--text-body)}

/* ============================ 오류 화면 ============================ */
.rs-error{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:clamp(420px,58vh,620px);
    padding:var(--space-20) 0;
    background:var(--surface-page);
}
.rs-error__inner{
    width:100%;
    max-width:var(--container-narrow);
    margin:0 auto;
    padding:0 var(--gutter);
    text-align:center;
}
.rs-error__badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:64px;
    height:64px;
    border-radius:var(--radius-pill);
    background:var(--surface-brand-subtle);
    color:var(--brand);
}
.rs-error__code{
    display:block;
    margin-top:var(--space-6);
    font:var(--text-display-1);
    font-size:clamp(56px,11vw,var(--fs-display-1));
    letter-spacing:var(--ls-display);
    line-height:1;
    color:var(--brand);
}
.rs-error__title{
    margin-top:var(--space-5);
    font:var(--text-h2);
    font-size:clamp(24px,4vw,var(--fs-h2));
    letter-spacing:var(--ls-heading);
    color:var(--text-heading);
}
.rs-error__desc{
    margin-top:var(--space-4);
    font:var(--text-body-lg);
    color:var(--text-muted);
}
.rs-error__path{
    display:inline-flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:var(--space-2);
    margin-top:var(--space-8);
    padding:10px 16px;
    border:1px solid var(--border-subtle);
    border-radius:var(--radius-md);
    background:var(--surface-alt);
    max-width:100%;
}
.rs-error__path-label{
    font:var(--text-label);
    color:var(--text-faint);
}
.rs-error__path code{
    font:var(--text-code);
    color:var(--text-body);
    word-break:break-all;
}
.rs-error__actions{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:var(--space-3);
    margin-top:var(--space-10);
}

/* ============================ 홈 : 문장 줄바꿈 ============================
   한글이 글자 중간에서 끊기지 않도록 단어 단위로만 줄바꿈. .rs-line 하나가 한 줄이다.
   ========================================================================= */
.rs-hero__lead,
.rs-about__body p,
.rs-products__head p,
.rs-product__summary,
.rs-clients__head p,
.rs-cta__copy p{word-break:keep-all}
.rs-line{display:block;text-wrap:balance}

/* ============================ 스크롤 등장 효과 ============================
   .rs-js 가 붙어 있을 때만 숨기므로 JS 가 꺼져 있어도 내용이 숨은 채로 남지 않는다.
   ========================================================================= */
.rs-js [data-reveal]{
    opacity:0;
    transform:translateY(32px);
    transition:opacity calc(var(--dur-reveal) * 1.2) var(--ease-out),
               transform calc(var(--dur-reveal) * 1.2) var(--ease-out);
    will-change:opacity,transform;
}
.rs-js [data-reveal].is-revealed{opacity:1;transform:none}

/* 옆에서 들어오는 변형 */
.rs-js [data-reveal].rs-reveal--left{transform:translateX(-44px)}
.rs-js [data-reveal].rs-reveal--right{transform:translateX(44px)}
/* 옆에서 들어오는 동안 화면 밖으로 삐져나와 가로 스크롤이 생기지 않게 막는다 */
.rs-greeting,
.rs-history,
.rs-form{overflow-x:clip}
/* 변형 규칙보다 뒤에 둬야 등장 후 제자리로 돌아온다 */
.rs-js [data-reveal].rs-reveal--left.is-revealed,
.rs-js [data-reveal].rs-reveal--right.is-revealed{transform:none}

/* ============================ 개인정보처리방침 모달 : 목록과 표 ============================ */
.rs-modal__list{
    margin:0;
    padding-left:18px;
    font-family:var(--font-reading);
    font-size:15px;
    line-height:1.8;
    color:var(--text-body);
}
.rs-modal__list a{color:var(--text-brand)}

.rs-modal__table{
    display:block;
    overflow-x:auto;
    border-collapse:collapse;
    width:100%;
    font-family:var(--font-reading);
    font-size:14px;
    line-height:1.7;
    color:var(--text-body);
}
.rs-modal__table th,
.rs-modal__table td{
    border:1px solid var(--border-subtle);
    padding:10px 12px;
    text-align:left;
    vertical-align:top;
    word-break:keep-all;
}
.rs-modal__table th{background:var(--surface-alt);font-weight:var(--fw-semibold);color:var(--text-heading);white-space:nowrap}

/* ============================ 전략제품 : 제품 상세 ============================ */
.rs-proddetail{background:var(--surface-page);overflow-x:clip}
/* 하단 패딩 + .rs-endbox__inner 윗 패딩을 합친 간격을 줄인다 */
.rs-proddetail .rs-split{padding-bottom:calc(.75 * clamp(64px,8vw,112px) - .5 * clamp(56px,6vw,88px))}
.rs-proddetail__icon{width:56px;height:56px;margin-bottom:0}.rs-proddetail__lead{
    font-family:var(--font-reading);
    font-size:var(--fs-body-lg);
    line-height:1.9;
    color:var(--text-body);
    word-break:keep-all;
}
.rs-proddetail__points{
    margin:0;
    padding:var(--space-6) 0 0;
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:var(--space-4);
    border-top:1px solid var(--border-subtle);
}
.rs-proddetail__point{
    display:flex;
    align-items:flex-start;
    gap:var(--space-3);
    font-size:var(--fs-body);
    line-height:1.6;
    color:var(--text-body);
    word-break:keep-all;
}
/* 체크 표시는 브랜드색 원 안에 넣어 기타 제품 카드의 체크보다 한 단계 또렷하게 */
.rs-proddetail__check{
    flex:none;
    width:24px;
    height:24px;
    border-radius:var(--radius-pill);
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--surface-brand-subtle);
    color:var(--brand);
}
