﻿/* =========================================================
   IssueTruck 홍보 페이지
   - 커스텀 media query 를 쓰지 않는다. 반응형은 Bootstrap 유틸리티(col-*, d-*-*)로 처리.
   - 유동 크기가 필요한 곳은 clamp() 로 해결한다.
   ========================================================= */

:root {
    --it-primary: #4FC9DA;
    --it-primary-dark: #229FB2;
    --it-primary-light: #E4F7FA;
    --it-ink: #1E1E2D;
    --it-ink-soft: #30303D;
    --it-heading: #24243A;
    --it-body: #5C6070;
    --it-muted: #8C8F9E;
    --it-surface: #FDFCFB;
    --it-surface-deep: #F8F6F2;
    --it-border: #E7E3DC;
    --it-border-light: #F0EDE8;
    --it-radius: 12px;
    --it-max-width: 1160px;
    --it-section-gap: clamp(56px, 7vw, 104px);

    /* 상태·구분 배지 */
    --it-open: #3B82F6;
    --it-hold: #F59E0B;
    --it-progress: #8B5CF6;
    --it-closed: #64748B;
    --it-bug: #EF4444;
    --it-improve: #10B981;
    --it-ask: #6366F1;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', 'Malgun Gothic', sans-serif;
    color: var(--it-body);
    background-color: var(--it-surface);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--it-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; height: auto; }

html { scroll-behavior: smooth; }

/* ---------- 레이아웃 ---------- */

.it-container {
    max-width: var(--it-max-width);
    margin-inline: auto;
    padding-inline: clamp(16px, 4.5vw, 24px);
}

.it-section { padding-block: var(--it-section-gap); }

.it-section-surface { background-color: #fff; }

.it-section-title {
    font-size: clamp(1.5rem, 2.6vw, 2.125rem);
    line-height: 1.35;
    margin-bottom: 12px;
}

.it-section-lead {
    font-size: clamp(0.95rem, 1.2vw, 1.0625rem);
    line-height: 1.75;
    margin-bottom: 0;
}

.it-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--it-primary-dark);
    background-color: var(--it-primary-light);
    border-radius: 999px;
    padding: 5px 14px;
    margin-bottom: 16px;
}

/* 앵커 이동 시 sticky nav 에 제목이 가리지 않도록 */
.it-anchor { scroll-margin-top: 84px; }

/* ---------- 버튼 ---------- */

.it-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
    border-radius: var(--it-radius);
    padding: 12px 22px;
    border: 1px solid transparent;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
    white-space: nowrap;
}

.it-btn-primary {
    background-color: var(--it-primary);
    border-color: var(--it-primary);
    color: #08343B;
}

.it-btn-primary:hover {
    background-color: var(--it-primary-dark);
    border-color: var(--it-primary-dark);
    color: #fff;
}

.it-btn-outline {
    background-color: #fff;
    border-color: var(--it-border);
    color: var(--it-heading);
}

.it-btn-outline:hover { border-color: var(--it-primary); color: var(--it-primary-dark); }

.it-btn-light {
    background-color: #fff;
    border-color: #fff;
    color: var(--it-ink);
}

.it-btn-light:hover { background-color: var(--it-primary-light); border-color: var(--it-primary-light); }

.it-btn-sm { padding: 9px clamp(12px, 3.5vw, 18px); font-size: 0.9375rem; }

/* ---------- 카드 ---------- */

.it-card {
    background-color: #fff;
    border: 1px solid var(--it-border-light);
    border-radius: var(--it-radius);
    box-shadow: 0 2px 6px rgba(35, 37, 58, 0.05);
    padding: 26px;
    height: 100%;
}


.it-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: var(--it-radius);
    background-color: var(--it-primary-light);
    color: var(--it-primary-dark);
    font-size: 23px;
    margin-bottom: 16px;
}

.it-card-title { font-size: 1.0625rem; font-weight: 800; margin-bottom: 8px; }

.it-card-body { font-size: 0.9375rem; line-height: 1.7; }

/* ---------- 떠오르는 반응 ---------- */

.it-card,
.it-flow-node,
.it-mock,
.it-code,
.it-status-line {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.it-card:hover,
.it-flow-node:hover,
.it-mock:hover,
.it-code:hover,
.it-status-line:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(35, 37, 58, .14);
    z-index: 1;
}

.it-flow-node.is-accent:hover { box-shadow: 0 18px 38px rgba(79, 201, 218, .30); }

.it-code:hover { box-shadow: 0 26px 56px rgba(35, 37, 58, .26); }

/* ---------- 상단 내비 ---------- */

.it-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--it-border-light);
}

.it-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(8px, 2.5vw, 22px);
    height: 66px;
    min-width: 0;
}

.it-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(1.0625rem, 4vw, 1.1875rem);
    font-weight: 800;
    color: var(--it-heading);
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.it-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background-color: var(--it-ink);
    color: var(--it-primary);
    font-size: 17px;
}

.it-brand-light { color: #fff; }

.it-nav-link { color: var(--it-body); font-weight: 600; font-size: 0.9375rem; }

.it-nav-link:hover { color: var(--it-primary-dark); }

.it-nav-burger {
    background: none;
    border: 0;
    padding: 0;
    color: var(--it-heading);
    font-size: 25px;
    line-height: 1;
}

/* 언어 전환 */
.it-lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: var(--it-radius);
    color: var(--it-body);
    font-size: 20px;
    line-height: 1;
    transition: color .15s ease, background-color .15s ease;
}

.it-lang-toggle:hover,
.it-lang-toggle[aria-expanded="true"] { color: var(--it-primary-dark); background-color: var(--it-primary-light); }

.it-lang-menu {
    min-width: 168px;
    padding: 6px;
    border: 1px solid var(--it-border-light);
    border-radius: var(--it-radius);
    box-shadow: 0 14px 32px rgba(35, 37, 58, .12);
}

.it-lang-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--it-body);
    font-size: 0.9375rem;
    font-weight: 600;
}

.it-lang-item:hover, .it-lang-item:focus { color: var(--it-primary-dark); background-color: var(--it-primary-light); }

.it-lang-item.is-active { color: var(--it-heading); }

.it-lang-check {
    font-size: 17px;
    line-height: 1;
    color: var(--it-primary-dark);
    visibility: hidden;
}

.it-lang-item.is-active .it-lang-check { visibility: visible; }

/* 오프캔버스 */
.it-offcanvas { width: min(84vw, 320px); }

.it-offcanvas-link {
    color: var(--it-body);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 10px 12px;
    border-radius: 8px;
}

.it-offcanvas-link:hover { color: var(--it-primary-dark); background-color: var(--it-primary-light); }

/* ---------- ① Hero ---------- */

.it-hero {
    background: linear-gradient(180deg, var(--it-primary-light) 0%, #fff 100%);
    padding-block: clamp(48px, 6vw, 88px);
}

.it-hero-title {
    font-size: clamp(1.75rem, 3.6vw, 2.625rem);
    line-height: 1.25;
    margin-bottom: 18px;
    white-space: pre-line;
}

.it-hero-body {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.75;
    margin-bottom: 0;
}

.it-hero-actions { margin-top: 26px; }

.it-hero-points {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9375rem;
}

.it-hero-points i { color: var(--it-primary-dark); margin-right: 6px; }

/* Hero 목업 */
.it-mock {
    position: relative;
    background-color: #fff;
    border: 1px solid var(--it-border);
    border-radius: 16px;
    box-shadow: 0 20px 48px rgba(35, 37, 58, .14);
    overflow: hidden;
}

.it-mock-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background-color: var(--it-ink);
}

.it-mock-dot { width: 9px; height: 9px; border-radius: 50%; background-color: #4A4D69; }

.it-mock-chip {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #C9CEDB;
    background-color: var(--it-ink-soft);
    border-radius: 999px;
    padding: 4px 10px;
}

.it-mock-stats { display: flex; gap: 10px; padding: 18px 18px 0; }

.it-mock-stat {
    flex: 1;
    border: 1px dashed var(--it-border);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    background-color: var(--it-surface);
}

.it-mock-stat-label { display: block; font-size: 0.75rem; color: var(--it-muted); margin-bottom: 4px; }

.it-mock-stat-num { font-size: 1.375rem; color: var(--it-heading); }

.it-mock-stat-num.is-open { color: var(--it-primary-dark); }
.it-mock-stat-num.is-done { color: var(--it-improve); }

.it-mock-list { padding: 18px; display: flex; flex-direction: column; gap: 8px; }

.it-mock-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid var(--it-border-light);
    border-radius: 10px;
    background-color: var(--it-surface);
}

.it-mock-row-title {
    flex: 1;
    min-width: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--it-heading);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 상태·구분 배지 */
.it-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    background-color: var(--it-border-light);
    color: var(--it-closed);
}

.it-badge.is-open     { background-color: #EAF1FE; color: var(--it-open); }
.it-badge.is-hold     { background-color: #FEF3E2; color: #B4740B; }
.it-badge.is-progress { background-color: #F1ECFE; color: var(--it-progress); }
.it-badge.is-closed   { background-color: #EEF1F6; color: var(--it-closed); }
.it-badge.is-bug      { background-color: #FDECEC; color: var(--it-bug); }
.it-badge.is-improve  { background-color: #E7F8F1; color: #08815A; }
.it-badge.is-ask      { background-color: #EEEEFC; color: var(--it-ask); }
.it-badge.is-idea     { background-color: #FEF3E2; color: #B4740B; }
.it-badge.is-reopen   { background-color: #fff; color: var(--it-primary-dark); border: 1px dashed var(--it-primary); }

.it-nav-link,
.it-offcanvas-link,
.it-footer-link,
.it-brand { transition: color .15s ease, background-color .15s ease; }

.it-nav-burger { transition: color .15s ease; }

.it-nav-burger:hover { color: var(--it-primary-dark); }

.it-brand:hover { color: var(--it-primary-dark); }

.it-chip,
.it-tree-node { transition: border-color .2s ease, color .2s ease; }

.it-chip:hover,
.it-tree-node:hover { border-color: var(--it-primary); color: var(--it-primary-dark); }

/* ---------- ③ 역할 흐름 ---------- */

/* 방향은 마크업의 flex-column flex-lg-row 가 정한다 */
.it-flow { gap: 12px; }

.it-flow-node {
    flex: 1;
    background-color: #fff;
    border: 1px solid var(--it-border-light);
    border-radius: var(--it-radius);
    box-shadow: 0 2px 6px rgba(35, 37, 58, 0.05);
    padding: 22px;
}

.it-flow-node.is-accent { border-color: var(--it-primary); box-shadow: 0 8px 24px rgba(79, 201, 218, .18); }

.it-flow-node { position: relative; }


.it-flow-role {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--it-primary-dark);
    background-color: var(--it-primary-light);
    border-radius: 999px;
    padding: 4px 10px;
    margin-bottom: 12px;
}

.it-flow-title { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }

.it-flow-desc { font-size: 0.875rem; line-height: 1.65; }

.it-flow-arrow {
    align-self: center;
    color: var(--it-muted);
    font-size: 22px;
    line-height: 1;
}

.it-status-line {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    padding: 16px 18px;
    border: 1px solid var(--it-border);
    border-radius: var(--it-radius);
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(35, 37, 58, 0.05);
    font-size: 0.875rem;
}

.it-status-line i { color: var(--it-muted); font-size: 16px; }

.it-status-line-label { font-weight: 700; color: var(--it-heading); margin-right: 4px; }

.it-status-back-icon { color: var(--it-primary); }

/* ---------- ④ 기능 ---------- */

.it-chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

.it-card.is-split { display: flex; flex-direction: column; }

.it-card.is-split .it-card-body { flex: 1; }

.it-chip {
    border: 1px solid var(--it-border);
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--it-body);
    background-color: var(--it-surface);
}

.it-tree { display: flex; flex-direction: column; gap: 5px; margin-top: 4px; }

.it-tree-node {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid var(--it-border);
    border-radius: 8px;
    background-color: var(--it-surface);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--it-body);
    transition: border-color .2s ease, background-color .2s ease;
}

.it-tree-node:hover { border-color: var(--it-primary); background-color: #fff; }

.it-tree-node b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid var(--it-border);
    font-size: 0.6875rem;
    color: var(--it-muted);
}

.it-tree-node.lv1 { border-left: 3px solid var(--it-primary); color: var(--it-heading); }
.it-tree-node.lv2 { margin-left: 20px; border-left: 3px solid var(--it-improve); }
.it-tree-node.lv3 { margin-left: 40px; border-left: 3px solid var(--it-progress); }

/* 테스트 환경 예시 */
.it-env { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }

.it-env-group {
    border: 1px solid var(--it-border);
    border-radius: 8px;
    background-color: var(--it-surface);
    overflow: hidden;
}

.it-env-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background-color: var(--it-surface-deep);
    border-bottom: 1px solid var(--it-border);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--it-heading);
}

.it-env-head i { color: var(--it-primary-dark); font-size: 15px; }

.it-env-group dl { margin: 0; padding: 4px 12px; }

.it-env-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-size: 0.8125rem;
}

.it-env-row + .it-env-row { border-top: 1px dashed var(--it-border); }

.it-env dt { flex: 0 0 84px; color: var(--it-muted); font-weight: 600; }

.it-env dd { margin: 0; color: var(--it-heading); font-weight: 700; }

/* 활동 이력 */
.it-log { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }

.it-log-node { display: flex; gap: 10px; }

.it-log-avatar {
    flex: 0 0 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #FBE7EA;
    color: #A3555F;
    font-size: 0.75rem;
    font-weight: 700;
}

.it-log-avatar.is-dev { background-color: var(--it-primary-light); color: var(--it-primary-dark); }

.it-log-main { flex: 1; min-width: 0; }

.it-log-head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 0.8125rem;
    color: var(--it-body);
}

.it-log-head b { color: var(--it-heading); font-weight: 700; }

.it-log-head em { margin-left: auto; font-style: normal; font-size: 0.75rem; color: var(--it-muted); }

.it-log-text {
    margin: 6px 0 0;
    padding: 8px 12px;
    border-radius: 8px;
    background-color: var(--it-surface-deep);
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--it-body);
}

.it-log-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }

.it-log-status i { color: var(--it-muted); font-size: 14px; }

/* 구분별 배정 */
.it-route { display: flex; flex-direction: column; gap: 5px; margin-top: 4px; }

.it-route-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid var(--it-border);
    border-radius: 8px;
    background-color: var(--it-surface);
    font-size: 0.8125rem;
    transition: border-color .2s ease, background-color .2s ease;
}

.it-route-row:hover { border-color: var(--it-primary); background-color: #fff; }

.it-route-row i { color: var(--it-muted); font-size: 15px; }

.it-route-to { color: var(--it-heading); font-weight: 700; }

/* 통계 */
.it-chart { margin-top: 4px; }

.it-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 92px;
    padding: 10px 12px;
    border: 1px solid var(--it-border);
    border-radius: 8px;
    background-color: var(--it-surface);
}

.it-chart-bars span {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background-color: #CFE9EE;
}

.it-chart-bars span.is-now { background-color: var(--it-primary); }

.it-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--it-muted);
}

.it-chart-legend span { display: inline-flex; align-items: center; gap: 5px; }

.it-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

.it-dot.is-open { background-color: var(--it-open); }
.it-dot.is-progress { background-color: var(--it-progress); }
.it-dot.is-closed { background-color: var(--it-closed); }

/* 공지 */
.it-notice { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }

.it-notice-pop {
    padding: 12px;
    border: 1px solid var(--it-border);
    border-top: 3px solid var(--it-primary);
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 6px 16px rgba(35, 37, 58, .08);
}

.it-notice-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background-color: var(--it-primary-light);
    color: var(--it-primary-dark);
    font-size: 0.6875rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.it-notice-title { display: block; font-size: 0.875rem; color: var(--it-heading); }

.it-notice-date { font-size: 0.75rem; color: var(--it-muted); }

.it-notice-mail {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px dashed var(--it-border);
    border-radius: 8px;
    background-color: var(--it-surface);
    font-size: 0.8125rem;
    color: var(--it-body);
}

.it-notice-mail i { color: var(--it-primary-dark); font-size: 16px; }

/* ---------- ⑤ 연동 ---------- */

.it-steps {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.it-steps li {
    counter-increment: step;
    position: relative;
    padding-left: 40px;
}

.it-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--it-primary);
    color: #08343B;
    font-size: 0.8125rem;
    font-weight: 800;
}

.it-steps strong { display: block; color: var(--it-heading); font-size: 0.9375rem; margin-bottom: 3px; }

.it-steps span { font-size: 0.875rem; line-height: 1.65; }

.it-code {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(35, 37, 58, .20);
    background-color: var(--it-ink);
}

.it-code-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--it-ink-soft);
}

.it-code-dot { width: 9px; height: 9px; border-radius: 50%; background-color: #4A4D69; }

.it-code-name { margin-left: auto; font-size: 0.75rem; font-weight: 600; color: #99A0B5; }

.it-code-body {
    margin: 0;
    padding: 20px;
    overflow-x: auto;
    color: #D6DBE8;
    font-size: 0.8125rem;
    line-height: 1.7;
}

.it-code-body .k { color: #7FD8E8; }
.it-code-body .s { color: #A5E4B8; }

/* ---------- ⑥ CTA ---------- */

.it-cta {
    background: linear-gradient(135deg, var(--it-primary) 0%, #35B4C7 100%);
    padding-block: clamp(48px, 6vw, 84px);
}

.it-cta-title { color: #06323A; font-size: clamp(1.375rem, 2.4vw, 1.875rem); margin-bottom: 12px; }

.it-cta-body { color: #0A4A55; margin-bottom: 26px; }

.it-cta .it-btn-light { color: var(--it-primary-dark); font-weight: 700; }

.it-cta .it-btn-light:hover { background-color: #fff; border-color: #fff; color: #06323A; }

/* ---------- 푸터 ---------- */

.it-footer {
    background-color: var(--it-ink);
    color: #AEB5C6;
    padding-block: clamp(40px, 5vw, 64px) 28px;
    font-size: 0.875rem;
}

.it-footer-desc { margin-top: 12px; line-height: 1.7; max-width: 38ch; }

.it-footer-label { display: block; font-weight: 700; color: #fff; margin-bottom: 6px; }

.it-footer-value { display: block; }

.it-footer-link { color: #AEB5C6; }

.it-footer-link:hover { color: var(--it-primary); }

.it-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--it-ink-soft);
}

/* ---------- 스크롤 reveal — js-reveal 은 site.js 가 붙인다 ---------- */

.js-reveal .it-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}

.js-reveal .it-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .js-reveal .it-reveal,
    .js-reveal .it-reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- 약관·오류 문서 ---------- */

.it-doc { padding-block: clamp(40px, 5vw, 72px); }

.it-doc-narrow { max-width: 820px; }

.it-doc-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 24px; }

.it-doc-note {
    padding: 12px 16px;
    margin-bottom: 24px;
    border: 1px solid var(--it-border);
    border-left: 3px solid var(--it-primary);
    border-radius: 8px;
    background-color: var(--it-surface-deep);
    font-size: 0.875rem;
    line-height: 1.7;
}

.it-doc-body { font-size: 0.9375rem; line-height: 1.8; }

.it-doc-body h2, .it-doc-body h3 { font-size: 1.0625rem; margin: 28px 0 10px; }

.it-doc-body ul { padding-left: 20px; }

.it-doc-body p { margin-bottom: 12px; }
