/* 고객지원·학습 가이드·가이드 상세 — home.css 위에 얹는다 */

.s { padding: 96px 0; }
.s.band { background: var(--sf); }
.s-h small { display: block; font-size: 14px; font-weight: 700; color: var(--ac); margin-bottom: 10px; }
.s-h h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 800; }
.s-h p { margin-top: 12px; font-size: 16.5px; color: var(--tx2); }

/* 첫 화면 */
.sub-hero { padding: 72px 0 80px; }
.sub-hero.band { background: var(--sf); }
.sub-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.sub-hero h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.25; letter-spacing: -0.025em; font-weight: 800; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) .lead { word-break: auto-phrase; }
.sub-hero .lead { margin-top: 18px; font-size: 17.5px; color: var(--tx2); line-height: 1.65; }
.kicker { display: block; font-size: 14px; font-weight: 700; color: var(--ac); margin-bottom: 14px; }
.crumb { display: flex; gap: 8px; font-size: 14px; color: var(--tx3); margin-bottom: 18px; }
.crumb a { color: var(--tx2); }
.crumb a:hover { color: var(--tx); }
.crumb b { color: var(--tx); font-weight: 600; }
.chip-row { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip { height: 34px; padding: 0 12px; border-radius: 17px; background: #EEF3FE; color: #1F5FD9; font-size: 14px; font-weight: 700; display: flex; align-items: center; }
.chip.y { background: #FFF6D6; color: #8A5A00; }
.pill-row { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill { height: 36px; padding: 0 14px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); color: #333D4B; font-size: 14px; font-weight: 600; display: flex; align-items: center; }
.pill:hover { border-color: #C9D2DE; }
.visual { background: var(--sf); border-radius: 24px; padding: 28px; }

/* 손글씨 노트 */
.paper { border-radius: 8px; padding: 20px 24px 20px 46px; color: #2B3445; font-family: var(--hand); font-size: 27px; line-height: 38px; box-shadow: 0 10px 28px -12px rgba(15, 23, 42, 0.25);
    background-color: #fff;
    background-image: linear-gradient(90deg, transparent 33px, #F2B8B8 33px, #F2B8B8 34.5px, transparent 34.5px), repeating-linear-gradient(#fff 0 37px, #DCE6F2 37px 38px);
    background-position: 0 0, 0 38px; }
.paper figcaption { font-family: var(--f); font-size: 13px; font-weight: 600; color: var(--tx3); line-height: 38px; }
.paper ol { list-style: none; }
.paper .hl { background: linear-gradient(transparent 58%, rgba(255, 212, 59, 0.75) 58%); }
.paper.tilt { transform: rotate(-1.2deg); }

/* 고객지원 메일 카드 */
.mail { background: var(--bg); border-radius: 20px; padding: 28px; box-shadow: 0 1px 2px rgba(25, 31, 40, 0.04), 0 8px 24px rgba(25, 31, 40, 0.06); }
.mail > small { font-size: 14px; font-weight: 600; color: var(--tx3); }
.mail .addr { margin-top: 4px; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.mail-btns { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn { height: 50px; border-radius: 12px; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.btn.sec2 { all: unset; box-sizing: border-box; height: 50px; border-radius: 12px; border: 1px solid var(--line); color: #333D4B; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.btn.sec2:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
.btn.sec2.done { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.btn.pri { background: var(--ac); color: #fff; }
.mail-tips { margin-top: 22px; padding-top: 20px; border-top: 1px solid #F2F4F6; }
.mail-tips b { display: block; font-size: 14px; margin-bottom: 12px; }
.mail-tips ol { list-style: none; display: grid; gap: 10px; font-size: 14.5px; color: var(--tx2); counter-reset: t; }
.mail-tips li { display: flex; gap: 10px; align-items: center; counter-increment: t; }
.mail-tips li::before { content: counter(t); flex: none; width: 22px; height: 22px; border-radius: 50%; background: #EEF3FE; color: #1F5FD9; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* 왼쪽 제목 + 오른쪽 내용 */
.split { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px 64px; align-items: start; }
.split .faq { margin-top: 0; }
.faq-group + .faq-group { margin-top: 36px; }
.faq-group h3 { font-size: 15px; font-weight: 700; color: var(--tx3); margin-bottom: 4px; }
.s-h .more { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 700; color: #1F5FD9; }
.s-h .note2 { margin-top: 14px; font-size: 14px; color: var(--tx3); }

/* 카드 묶음 */
.cards { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.box { background: var(--bg); border-radius: 20px; padding: 26px; }
.band .box { background: var(--bg); }
.s:not(.band) .box { border: 1px solid var(--line); }
.box h3 { margin-top: 16px; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.box p { margin-top: 8px; font-size: 15px; color: var(--tx2); }
.box .icons { display: flex; gap: 8px; }
.box .icons img { width: 44px; height: 44px; }
.no { width: 32px; height: 32px; border-radius: 10px; background: var(--navy); color: var(--yellow); font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tag { height: 30px; padding: 0 12px; border-radius: 15px; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; background: #EEF3FE; color: #1F5FD9; }
.tag.navy { background: var(--navy); color: #fff; }
.tag.y { background: #FFF6D6; color: #8A5A00; }
.sq { width: 44px; height: 44px; border-radius: 12px; background: #EEF3FE; display: flex; align-items: center; justify-content: center; }

/* 학습 가이드 카드 */
.guide { background: var(--bg); border-radius: 20px; padding: 16px 16px 26px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(25, 31, 40, 0.04); transition: transform 160ms ease, box-shadow 160ms ease; }
.guide:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -18px rgba(15, 23, 42, 0.3); }
.guide .pic { height: 150px; border-radius: 14px; background: var(--sf); display: flex; align-items: center; justify-content: center; gap: 20px; }
.guide .pic img { width: 96px; height: 96px; }
.guide .pic img.sm { width: 84px; height: 84px; }
.guide .body { padding: 18px 10px 0; display: flex; flex-direction: column; flex: 1; }
.guide small { font-size: 13px; font-weight: 700; color: var(--tx3); }
.guide b { margin-top: 2px; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.guide p { margin-top: 8px; font-size: 15px; color: var(--tx2); }
.guide ul { margin-top: 12px; list-style: none; display: grid; gap: 6px; font-size: 14px; color: #333D4B; }
.guide ul li::before { content: "· "; }
.guide .go { margin-top: auto; padding-top: 16px; font-size: 15px; font-weight: 700; color: #1F5FD9; }

/* 유형 고르기 */
.choose { margin-top: 28px; border-top: 1px solid var(--line); list-style: none; }
.choose li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.choose b { font-size: 18px; font-weight: 700; }
.choose span { display: flex; flex-wrap: wrap; gap: 8px; }
.kind { height: 44px; padding: 0 14px 0 8px; border-radius: 12px; background: var(--sf); display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.kind.y { background: #FFF6D6; }
.kind img { width: 30px; height: 30px; }

/* 가로 카드(아이콘 + 글) */
.row-card { background: var(--bg); border-radius: 20px; padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.row-card img { width: 48px; height: 48px; flex: none; }
.row-card h3 { font-size: 19px; font-weight: 800; }
.row-card p { margin-top: 6px; font-size: 15px; color: var(--tx2); }
.link-card { background: var(--bg); border-radius: 20px; padding: 22px; display: flex; align-items: center; gap: 16px; transition: transform 160ms ease; }
.link-card:hover { transform: translateY(-2px); }
.link-card .ic { flex: none; display: flex; gap: 4px; }
.link-card .ic img { width: 52px; height: 52px; }
.link-card .ic img.sm { width: 46px; height: 46px; }
.link-card span { flex: 1; min-width: 0; }
.link-card small { display: block; font-size: 13px; font-weight: 700; color: var(--tx3); }
.link-card b { display: block; margin-top: 2px; font-size: 18px; font-weight: 800; }
.link-card i { font-style: normal; font-size: 20px; color: #1F5FD9; }

/* 체크 목록 */
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; background: var(--sf); font-size: 16px; font-weight: 600; }
.checks.plain li { padding: 0; background: none; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }

/* 연한 띠 링크 (아래 받기 칸이 남색이라 연하게) */
.navy-link { border-radius: 20px; background: #EEF3FE; color: var(--navy); padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.navy-link span { flex: 1 1 300px; min-width: 0; }
.navy-link small { display: block; font-size: 14px; font-weight: 700; color: #1F5FD9; }
.navy-link b { display: block; margin-top: 6px; font-size: 20px; font-weight: 800; line-height: 1.4; }
.navy-link i { font-style: normal; height: 44px; padding: 0 18px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 15px; font-weight: 700; display: flex; align-items: center; }

/* 지금 보는 메뉴 */
.nav a[aria-current="page"] { color: var(--tx); font-weight: 700; }

/* 받기 칸: 회색 띠 바로 아래에 오므로 남색으로 */
.sub .cta { padding-top: 96px; }
.sub .cta-box { background: var(--navy); color: #fff; }
.sub .cta-box p { color: #C9D6F5; }
.sub .cta-box .mark { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); border-radius: 16px; }

/* PDF 페이지 고르기 그림 */
.mock { background: var(--bg); border-radius: 18px; padding: 20px; box-shadow: 0 8px 24px rgba(25, 31, 40, 0.07); }
.mock-h { display: flex; align-items: center; gap: 12px; }
.mock-h img { width: 44px; height: 44px; }
.mock-h b { display: block; font-size: 15px; }
.mock-h small { display: block; font-size: 13px; color: var(--tx3); }
.pages { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; }
.pages li { aspect-ratio: 3 / 4; border-radius: 8px; border: 1px solid var(--line); padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.pages li i { height: 4px; border-radius: 2px; background: var(--line); }
.pages li i:first-child { width: 70%; background: #D5DBE3; }
.pages li i:nth-child(2) { width: 90%; }
.pages li i:nth-child(3) { width: 80%; }
.pages li i:nth-child(4) { width: 60%; }
.pages li em { margin-top: auto; font-style: normal; font-size: 11px; font-weight: 700; color: var(--tx3); }
.pages li.on { border: 2px solid var(--ac); background: #F5F8FF; }
.pages li.on em { color: #1F5FD9; }
.mock-f { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--tx2); }
.mock-f b { color: #1F5FD9; }
.mock-f .btn { margin-left: auto; height: 44px; padding: 0 18px; }

/* 사진 자르기 그림 */
.srcs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.src { height: 64px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 700; }
.src.on { border: 2px solid var(--ac); }
.src img { width: 36px; height: 36px; }
.shot { position: relative; overflow: hidden; margin-top: 16px; border-radius: 14px; background: var(--bg); padding: 22px 24px; box-shadow: 0 8px 24px rgba(25, 31, 40, 0.07); transform: rotate(-0.8deg); }
.shot b { font-size: 14px; font-weight: 800; color: #333D4B; }
.shot .ln { margin-top: 14px; display: grid; gap: 9px; }
.shot .ln i { height: 6px; border-radius: 3px; background: var(--line); }
.crop { position: absolute; left: 14px; right: 14px; top: 64px; height: 66px; border-radius: 6px; box-shadow: 0 0 0 999px rgba(25, 31, 40, 0.32); }
.crop i { position: absolute; width: 18px; height: 18px; border: 0 solid #fff; }
.crop i:nth-child(1) { left: -2px; top: -2px; border-left-width: 3px; border-top-width: 3px; border-radius: 4px 0 0 0; }
.crop i:nth-child(2) { right: -2px; top: -2px; border-right-width: 3px; border-top-width: 3px; border-radius: 0 4px 0 0; }
.crop i:nth-child(3) { left: -2px; bottom: -2px; border-left-width: 3px; border-bottom-width: 3px; border-radius: 0 0 0 4px; }
.crop i:nth-child(4) { right: -2px; bottom: -2px; border-right-width: 3px; border-bottom-width: 3px; border-radius: 0 0 4px 0; }
.visual-cap { margin-top: 16px; text-align: center; font-size: 14px; font-weight: 600; color: var(--tx2); }

/* 백지 복습 그림 */
.recall-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.recall-top img { width: 44px; height: 44px; }
.modes, .kws { display: flex; flex-wrap: wrap; gap: 6px; }
.modes span { height: 32px; padding: 0 12px; border-radius: 16px; background: var(--bg); color: var(--tx2); font-size: 13px; font-weight: 700; display: flex; align-items: center; }
.modes span.on { background: var(--navy); color: #fff; }
.kws { margin-top: 14px; gap: 8px; }
.kws span { height: 36px; padding: 0 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); color: var(--tx2); font-size: 15px; font-weight: 700; display: flex; align-items: center; }
.kws span.on { border: 2px solid var(--ac); color: #1F5FD9; font-weight: 800; }
.recall .paper { margin-top: 14px; padding-left: 20px; font-size: 26px; line-height: 36px; background-image: repeating-linear-gradient(#FFFEF8 0 35px, #E6ECF5 35px 36px); background-color: #FFFEF8; border: 1px solid #ECE6D3; box-shadow: none; min-height: 144px; }
:lang(ja) .paper { font-size: 21px; }
:lang(ja) .recall .paper { font-size: 19px; }
.caret { display: inline-block; width: 2px; height: 24px; background: var(--ac); vertical-align: middle; margin-left: 4px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.recall .btn { margin-top: 14px; }
.result { background: var(--bg); border-radius: 20px; padding: 24px; box-shadow: 0 8px 24px rgba(25, 31, 40, 0.06); }
.result .tag { background: var(--ok-bg); color: #0E7A54; }
.result dl { margin-top: 12px; }
.result dl div { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #F2F4F6; font-size: 15px; }
.result dl div:last-child { border-bottom: 0; }
.result dt { flex: none; width: 44px; font-weight: 700; white-space: nowrap; }
:lang(en) .result dt { width: 60px; }
.result dd { color: var(--tx2); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; }
.two-col .checks { margin-top: 24px; }

@media (max-width: 860px) {
    .s { padding: 56px 0; }
    .sub-hero { padding: 36px 0 48px; }
    .sub-hero-in, .split, .two-col { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .sub-hero .lead { font-size: 16px; }
    .sub-hero .lead br { display: none; }
    .visual { padding: 20px; border-radius: 20px; }
    .mail { padding: 22px; }
    .cards, .cards.two { grid-template-columns: minmax(0, 1fr); margin-top: 24px; gap: 12px; }
    ol.cards .box { padding: 22px 20px; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; }
    ol.cards .no { grid-row: 1 / 3; }
    ol.cards .box h3 { margin-top: 2px; font-size: 18px; }
    ol.cards .box p { margin-top: 4px; }
    .choose li { grid-template-columns: minmax(0, 1fr); padding: 18px 0; }
    .choose b { font-size: 17px; }
    .paper { font-size: 24px; }
    :lang(ja) .paper { font-size: 17px; }
    :lang(ja) .recall .paper { font-size: 17px; }
    .checks li { padding: 16px; font-size: 15px; }
    .navy-link { padding: 24px; }
    .sub .cta { padding-top: 56px; }
    .navy-link b { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .caret { animation: none; }
}
