/* docs/22: 색은 globals.css 의 --brand-* 한 벌만 쓴다. 여기 별칭은 이름을 짧게 하려는 것일 뿐 새 값이 아니다. */
.rise-home {
    --rise-accent: var(--brand-accent);
    --rise-accent-deep: var(--brand-accent-deep);
    --rise-accent-soft: var(--brand-accent-soft);
    --rise-ink: var(--brand-ink);
    --rise-ink-strong: var(--brand-ink-strong);
    --rise-sub: var(--brand-sub);
    --rise-line: var(--brand-line);
    --rise-white: #ffffff;
    --rise-gray: var(--brand-gray);
    --rise-dark: var(--brand-dark);
    --rise-dark-text: var(--brand-dark-text);
    --rise-dark-sub: #adbeb4;
    --rise-dark-line: var(--brand-dark-line);
    /* 스크롤 반응·막대가 같은 곡선을 쓴다(docs/31). */
    --rise-ease: cubic-bezier(.22, .61, .36, 1);
    font-family: 'Pretendard', 'font-R', sans-serif;
    line-height: 1.6;
    color: var(--rise-ink);
    background-color: var(--rise-white);
    word-break: keep-all;
    font-size: 16px;
}
.rise-home,
.rise-home *,
.rise-home *::before,
.rise-home *::after { box-sizing: border-box; }
.rise-home h1, .rise-home h2, .rise-home h3,
.rise-home p, .rise-home ul, .rise-home ol { margin: 0; padding: 0; }
.rise-home ul, .rise-home ol { list-style: none; }
.rise-home a { text-decoration: none; color: inherit; }
.rise-home img { max-width: 100%; height: auto; }
/* 전폭 해킹을 쓰지 않는다. --vw 는 어디에서도 설정하지 않아 늘 100vw 로 떨어지는데,
   100vw 는 스크롤바를 포함해 데스크톱에서 14px 가로 스크롤이 생겼다(2026-09-22 실측).
   .rise-home 위로 폭을 좁히는 요소가 없으므로 width:100% 면 이미 전폭이다. */
.rise-home > section {
    width: 100%;
    position: relative;
}
section.index:has(> .rise-home) { padding-top: 0; padding-bottom: 0; }
.rise-home .container { max-width: var(--rise-container); margin: 0 auto; padding: 72px var(--rise-gutter); }
.rise-home .bg-white { background-color: var(--rise-white); }
.rise-home .bg-gray { background-color: var(--rise-gray); }
/* 가운데 정렬 '제목 + 부제' 를 다섯 번 반복하지 않는다(docs/22 §2). */
.rise-home .section-header { text-align: left; margin-bottom: 40px; }
.rise-home .section-title {
    font-size: 29px; font-weight: 900; color: var(--rise-ink-strong);
    margin-bottom: 10px; letter-spacing: -.04em; line-height: 1.35;
}
.rise-home .section-subtitle { font-size: 17px; color: var(--rise-sub); font-weight: 400; line-height: 1.7; }
.rise-home strong { color: var(--rise-accent-deep); font-weight: 700; }
.rise-home .btn-wrapper { text-align: left; margin-top: 28px; }
/* 버튼 색은 브랜드 원안이다 — 명도 대비 기록과 선택지는 docs/22 §7. */
.rise-home a.btn,
.rise-home .btn {
    display: inline-flex; align-items: center;
    min-height: 52px;
    padding: 14px 26px;
    font-size: 16px; font-weight: 700; line-height: 1.4;
    color: #fff; border: 0; border-radius: 4px;
    background: var(--rise-accent);
}
.rise-home a.btn:hover,
.rise-home .btn:hover { background: var(--rise-accent-deep); color: #fff; }
.rise-home a.btn:focus-visible { outline: 3px solid var(--rise-accent); outline-offset: 3px; }
/* 히어로: 다크 그라디언트 + 회전하는 glow 를 걷어낸다. LCP 요소에 애니메이션을 걸지 않는다(docs/22 §1). */
.rise-home .hero {
    text-align: left;
    background: var(--rise-white);
    color: var(--rise-ink);
}
.rise-home .hero > .container { padding-top: 76px; padding-bottom: 68px; }
.rise-home .hero h1 {
    font-size: 43px; font-weight: 900; margin-bottom: 22px;
    line-height: 1.28; letter-spacing: -.045em; color: var(--rise-ink-strong);
    max-width: 18em;
}
.rise-home .hero p.subtitle {
    font-size: 17px; font-weight: 700; color: var(--rise-accent-deep); margin-bottom: 16px;
}
.rise-home .hero p.desc {
    font-size: 17px; color: var(--rise-sub); max-width: 34em; margin: 0;
    line-height: 1.75; font-weight: 400;
}
/* 히어로 시세판(docs/22 §9). 왼쪽 문구는 34em 을 안 넘어 오른쪽이 늘 비어 있었다. */
.rise-home .hero-inner { display: flex; gap: 72px; align-items: flex-start; }
.rise-home .hero-copy { flex: none; width: 472px; }
.rise-home .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.rise-home a.btn.btn--line { background: #fff; color: var(--rise-ink-strong); border: 1px solid var(--rise-ink-strong); padding: 14px 24px; }
.rise-home a.btn.btn--line:hover { background: var(--rise-gray); color: var(--rise-ink-strong); }
.rise-home .hero-board { flex: 1 1 auto; min-width: 0; }
.rise-home .hero-board ul { margin: 0; padding: 0; }
.rise-home .hero-board-top {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
    padding-bottom: 11px; border-bottom: 2px solid var(--rise-ink-strong);
    font-size: 15px; font-weight: 700; color: var(--rise-ink-strong);
}
.rise-home .hero-board-top > span { display: inline-flex; align-items: center; gap: 8px; }
.rise-home .hero-board-live {
    position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--rise-accent);
}
.rise-home .hero-board-live::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--rise-accent); opacity: 0;
}
.rise-home .hero-board.is-in .hero-board-live::after { animation: rise-live 1.6s ease-out 3; }
@keyframes rise-live { from { transform: scale(1); opacity: .6; } to { transform: scale(2.8); opacity: 0; } }
.rise-home .hero-board-ratio {
    display: block; height: 4px; margin-top: 14px; border-radius: 2px; background: var(--rise-line); overflow: hidden;
}
.rise-home .hero-board-ratio i {
    display: block; height: 100%; width: calc(var(--ratio, 0) * 100%); background: var(--rise-accent);
    transform-origin: left;
}
/* 준비된 뒤에는 판이 보일 때 찬다. 화면 밖으로 나갔다 들어오면 다시 찬다. */
.rise-home.motion-ready .hero-board-ratio i { transform: scaleX(0); }
.rise-home.motion-ready .hero-board.is-in .hero-board-ratio i { transform: scaleX(1); transition: transform 1s var(--rise-ease) .3s; }
.rise-home .hero-board-top time {
    font-size: 12px; font-weight: 400; color: var(--rise-sub); font-variant-numeric: tabular-nums;
}
.rise-home .hero-board li { border-bottom: 1px solid var(--rise-line); }
.rise-home .hero-board li a { display: flex; gap: 24px; align-items: flex-start; padding: 17px 6px; }
.rise-home .hero-board-main { flex: 1 1 auto; min-width: 0; }
.rise-home .hero-board-side { flex: none; text-align: right; }
.rise-home .hero-board li a:hover { background: var(--rise-gray); }
.rise-home .hero-board-title {
    font-size: 16px; font-weight: 700; line-height: 1.45; margin-bottom: 11px; color: var(--rise-ink-strong);
}
.rise-home .hero-board li a:hover .hero-board-title { color: var(--rise-accent-deep); }
.rise-home .hero-board-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 292px; }
.rise-home .hero-board-specs > span { display: flex; flex-direction: column; gap: 3px; }
.rise-home .hero-board-specs > span > span { font-size: 11px; color: var(--rise-sub); }
.rise-home .hero-board-specs b { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rise-home .hero-board-price {
    display: block; font-size: 23px; font-weight: 900; line-height: 1.2; letter-spacing: -.035em; white-space: nowrap;
    color: var(--rise-ink-strong); font-variant-numeric: tabular-nums;
}
.rise-home .hero-board-price small { margin-left: 2px; font-size: 15px; font-weight: 700; letter-spacing: 0; }
.rise-home .hero-board-state {
    display: inline-block; margin-top: 9px; padding: 3px 8px; border-radius: 3px;
    background: var(--rise-accent-soft); color: var(--rise-accent-deep); font-size: 11px; font-weight: 700;
}
.rise-home .hero-board-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding-top: 10px; font-size: 13px; color: var(--rise-sub);
}
.rise-home .hero-board-foot b { color: var(--rise-ink-strong); font-variant-numeric: tabular-nums; }
.rise-home .hero-board-foot a {
    font-weight: 700; color: var(--rise-ink-strong); border-bottom: 1px solid var(--rise-ink-strong);
}
.rise-home .feature-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px;
}
/* 카드가 아니라 괘선으로 묶는다 — 그림자·hover 리프트 없음(docs/22 §2). */
.rise-home .feature-card {
    position: relative; background: transparent; padding: 18px 0 0;
    border: 0; border-top: 2px solid var(--rise-ink-strong);
}
/* 윗괘선이 왼쪽부터 그어진다(docs/31). 색은 그대로 잉크 — 주황은 상태에만 쓴다. 준비 전(JS 없음)에는 원래 괘선이 그대로 보인다. */
.rise-home.motion-ready .feature-card { border-top-color: var(--rise-line); }
.rise-home.motion-ready .feature-card::before {
    content: ''; position: absolute; left: 0; right: 0; top: -2px; height: 2px;
    background: var(--rise-ink-strong); transform-origin: left; transform: scaleX(0);
    transition: transform .8s var(--rise-ease, ease-out);
}
.rise-home.motion-ready .feature-card:nth-child(2)::before { transition-delay: .12s; }
.rise-home.motion-ready .feature-card:nth-child(3)::before { transition-delay: .24s; }
.rise-home.motion-ready .feature-card.is-in::before { transform: scaleX(1); }
/* 칸 아이콘(docs/31). 밝은 칸은 주황, 어두운 신뢰 칸은 옅은 주황. 칸이 화면에 들어오면 선이 그려진다 — 괘선보다 조금 늦게. */
.rise-home .feature-ico { display: block; width: 40px; height: 40px; margin: 4px 0 14px; color: var(--rise-accent); }
.rise-home .trust-section .feature-ico { color: var(--brand-accent-light); }
.rise-home.motion-ready .feature-ico * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--rise-ease) .25s; }
.rise-home.motion-ready .feature-card.is-in .feature-ico * { stroke-dashoffset: 0; }
.rise-home.motion-ready .feature-card:nth-child(2) .feature-ico * { transition-delay: .37s; }
.rise-home.motion-ready .feature-card:nth-child(3) .feature-ico * { transition-delay: .49s; }
.rise-home .feature-card h3 {
    font-size: 19px; font-weight: 700; margin-bottom: 10px; color: var(--rise-ink-strong);
    line-height: 1.45;
}
.rise-home .feature-card p { font-size: 15px; color: var(--rise-sub); line-height: 1.75; }
.rise-home .process-wrapper { display: block; }
.rise-home .timeline { position: relative; max-width: 840px; counter-reset: step; width: 100%; }
.rise-home .timeline-item {
    position: relative; padding-left: 50px; padding-top: 17px; padding-bottom: 17px;
    border-top: 1px solid var(--rise-line);
}
.rise-home .timeline-item:last-child { border-bottom: 1px solid var(--rise-line); }
/* 단계는 실제로 순서가 있다 — 번호는 남기되 동그라미와 hover 확대를 뺀다. */
.rise-home .timeline-item::before {
    counter-increment: step; content: counter(step);
    position: absolute; left: 0; top: 16px; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    border: 1.5px solid var(--rise-line); background: var(--step-off, var(--rise-white));
    font-size: 14px; font-weight: 700; color: var(--rise-sub);
    font-variant-numeric: tabular-nums;
}
/* 단계를 잇는 세로줄. 번호 동그라미 가운데에서 다음 단계 번호까지 — 스크롤로 단계에 닿으면 주황으로 찬다(docs/31). */
.rise-home .timeline-item::after {
    content: ''; position: absolute; left: 14px; top: 46px; bottom: -17px; width: 2px;
    background: var(--rise-accent); transform-origin: top; transform: scaleY(0);
}
.rise-home .timeline-item:last-child::after { display: none; }
.rise-home .bg-gray .timeline { --step-off: var(--rise-gray); }
/* 목록이 켜지면 번호가 하나씩 차례로 켜지고(0.4초 간격), 그 사이를 세로줄이 이어 준다. 켜지기 전 단계는 꺼진 모습(fill both). */
.rise-home .timeline.is-in .timeline-item::before {
    border-color: var(--rise-accent); background: var(--rise-accent); color: #fff;
    animation: rise-step-on .5s var(--rise-ease, ease-out) both;
}
.rise-home .timeline.is-in .timeline-item:nth-child(2)::before { animation-delay: .4s; }
.rise-home .timeline.is-in .timeline-item:nth-child(3)::before { animation-delay: .8s; }
.rise-home .timeline.is-in .timeline-item:nth-child(4)::before { animation-delay: 1.2s; }
.rise-home .timeline.is-in .timeline-item::after { transform: scaleY(1); transition: transform .3s ease-in-out .15s; }
.rise-home .timeline.is-in .timeline-item:nth-child(2)::after { transition-delay: .55s; }
.rise-home .timeline.is-in .timeline-item:nth-child(3)::after { transition-delay: .95s; }
@keyframes rise-step-on {
    0% { transform: scale(.7); background: var(--step-off, var(--rise-white)); border-color: var(--rise-line); color: var(--rise-sub); }
    60% { transform: scale(1.15); background: var(--rise-accent); border-color: var(--rise-accent); color: #fff; }
    100% { transform: scale(1); background: var(--rise-accent); border-color: var(--rise-accent); color: #fff; }
}
/* JS 가 없으면 동그라미가 전부 켜진 모습으로 보인다 — 스크롤 반응은 덧붙이는 것이지 내용의 조건이 아니다. */
.rise-home:not(.motion-ready) .timeline-item::before { border-color: var(--rise-accent); color: var(--rise-accent-deep); }
.rise-home .timeline-content { background: transparent; padding: 0; border: 0; }
.rise-home .timeline-content h3 { font-size: 17px; font-weight: 700; margin-bottom: 5px; color: var(--rise-ink-strong); }
.rise-home .timeline-content p { color: var(--rise-sub); font-size: 15px; line-height: 1.75; }
.rise-home .bg-gray .timeline-item,
.rise-home .bg-gray .timeline-item:last-child { border-color: #d5dcd3; }
.rise-home .trust-section { background: var(--rise-dark); color: #fff; }
.rise-home .trust-section .section-title { color: #fff; }
.rise-home .trust-section .section-subtitle { color: #93a29a; } /* 시안: 제목보다 두 단계 옅게 — 푸터 보조 문구와 같은 값 */
.rise-home .trust-section .feature-card { border-top-color: #fff; }
.rise-home.motion-ready .trust-section .feature-card { border-top-color: var(--rise-dark-line, #3a5146); }
.rise-home.motion-ready .trust-section .feature-card::before { background: #fff; }
.rise-home .trust-section .feature-card h3 { color: #fff; }
.rise-home .trust-section .feature-card p { color: var(--rise-dark-text); }
.rise-home .tips-intro {
    text-align: left; font-size: 17px; color: var(--rise-sub);
    max-width: 44em; margin: 0 0 34px; line-height: 1.8;
}
.rise-home .blog-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}
.rise-home .blog-card {
    display: flex; flex-direction: column;
    background: #fff; border-radius: 4px; overflow: hidden;
    border: 1px solid var(--rise-line);
}
.rise-home .blog-card > a { display: flex; flex-direction: column; height: 100%; }
.rise-home .blog-card:hover { border-color: var(--rise-accent); }
.rise-home .blog-thumb { overflow: hidden; }
.rise-home .blog-thumb img { transition: transform .5s var(--rise-ease, ease-out); }
.rise-home .blog-card:hover .blog-thumb img { transform: scale(1.04); }
/* 그라디언트 자리표시자를 쓰지 않는다 — 표지 PNG 가 없을 때도 납작한 면으로 둔다(docs/22 §6). */
.rise-home .blog-thumb {
    height: 160px; position: relative;
    background: var(--rise-gray);
    border-bottom: 1px solid var(--rise-line);
}
.rise-home .blog-thumb-blank {
    display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 12px 14px;
    font-size: 13px; font-weight: 700; color: var(--rise-ink-strong);
}
.rise-home .blog-thumb-blank span { font-size: 12px; font-weight: 900; color: var(--rise-accent); letter-spacing: -.045em; }
.rise-home .blog-content { padding: 20px; flex-grow: 1; }
.rise-home .blog-content p {
    font-size: 17px; font-weight: 600; color: var(--rise-ink-strong); line-height: 1.5;
}
.rise-home .blog-card:hover .blog-content p { color: var(--rise-accent-deep); }
/* 자주 묻는 질문 — 괘선으로 묶은 접는 목록(카드·그림자 없음, docs/33 §1). 질문 번호는 딥그린(구조), 주황은 쓰지 않는다. */
.rise-home .faq-list { border-top: 2px solid var(--brand-second); }
.rise-home .faq-item { border-bottom: 1px solid #d5dcd3; }
.rise-home .faq-item summary {
    display: flex; align-items: baseline; gap: 12px; padding: 22px 40px 22px 0; position: relative;
    cursor: pointer; list-style: none;
}
.rise-home .faq-item summary::-webkit-details-marker { display: none; }
.rise-home .faq-item summary::after {
    content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
    font-size: 24px; font-weight: 400; line-height: 1; color: var(--rise-sub);
}
.rise-home .faq-item[open] summary::after { content: '\2212'; }
.rise-home .faq-item summary:focus-visible { outline: 3px solid var(--brand-accent-light); outline-offset: 2px; }
.rise-home .faq-no { flex: 0 0 auto; font-size: 17px; font-weight: 900; color: var(--brand-second); font-variant-numeric: tabular-nums; }
.rise-home .faq-item h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--rise-ink-strong); }
.rise-home .faq-item summary:hover h3 { color: var(--rise-accent-deep); }
.rise-home .faq-item p {
    margin: 0; padding: 0 40px 24px 0; font-size: 16px; line-height: 1.8; color: var(--rise-ink); max-width: 860px;
}
.rise-home .faq-item p a { color: var(--rise-accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
    .rise-home .container { padding: 56px var(--rise-gutter); }
    .rise-home .hero > .container { padding-top: 56px; padding-bottom: 52px; }
    .rise-home .hero h1 { font-size: 31px; letter-spacing: -.04em; }
    .rise-home .hero p.subtitle { font-size: 16px; }
    .rise-home .hero p.desc { font-size: 16px; }
    .rise-home .section-title { font-size: 24px; }
    .rise-home .section-subtitle { font-size: 16px; }
    .rise-home .section-header { margin-bottom: 30px; }
    .rise-home .hero-inner { flex-direction: column; gap: 40px; }
    .rise-home .hero-copy { width: 100%; }
    .rise-home .hero-board { width: 100%; }
    .rise-home .feature-grid { grid-template-columns: 1fr; gap: 28px; }
    .rise-home .blog-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
    .rise-home .tips-intro { font-size: 16px; }
    .rise-home .faq-item h3 { font-size: 16px; }
    .rise-home .faq-item summary { padding: 18px 32px 18px 0; gap: 10px; }
    .rise-home .faq-no { font-size: 16px; }
    .rise-home .faq-item p { font-size: 15px; padding-right: 0; }
}
@media (max-width: 560px) {
    .rise-home .container { padding: 44px var(--rise-gutter); }
    .rise-home .hero > .container { padding-top: 44px; padding-bottom: 40px; }
    .rise-home .hero h1 { font-size: 26px; }
    .rise-home .hero-board li a { flex-direction: column; gap: 10px; }
    .rise-home .hero-board-side { text-align: left; }
    .rise-home .timeline-item { padding-left: 32px; }
    .rise-home a.btn, .rise-home .btn { width: 100%; justify-content: center; }
    .rise-home .blog-grid { grid-template-columns: 1fr; }
}

/* 움직임 줄이기: 전환·반복을 모두 끈다. 최종 모습(켜진 번호·그어진 괘선·찬 막대)은 그대로 보인다(docs/31). */
@media (prefers-reduced-motion: reduce) {
    .rise-home *, .rise-home *::before, .rise-home *::after { animation: none !important; transition: none !important; }
}
