/* ============================================
   습관쑥쑥 (Kids Habit) Landing Page
   ============================================ */

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", sans-serif;
    font-weight: 400;
    color: #1A1A1A;
    line-height: 1.5;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Variables */
:root {
    --brand: #17A862;
    --brand-light: #6FD9A2;
    --brand-bg: #D7F5E3;
    --brand-bg-2: #E9F7EE;
    --yellow-bg: #FFF4B0;
    --yellow-bg-2: #FFF8D2;
    --gray-bg: #F1F2F5;
    --page-bg: #FAFAF5;
    --text: #1A1A1A;
    --text-sub: #6B6B6B;
    --border-radius: 24px;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Header
   ============================================ */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    padding: 18px 0;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0; /* 정식 앱 이름이 길어도 flex 안에서 줄바꿈될 수 있게 */
}

.logo-icon {
    height: 40px;
    width: 40px;
    border-radius: 11px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--text);
    /* 정식 앱 이름 전체(예: "Screen Distance Monitor & Alert",
       "护眼卫士 - 屏幕距离提醒·用眼距离监测")를 그대로 표시 — 잘리지 않고
       필요하면 2줄로 자연스럽게 줄바꿈 */
    white-space: normal;
    max-width: 320px;
}

/* ============================================
   Hero
   ============================================ */
.hero {
    padding: 80px 0 120px;
    background: linear-gradient(180deg, #ffffff 0%, #F5F8F0 100%);
    overflow: hidden;
}

.hero-inner {
    display: grid;
    /* minmax(0, 1fr): 그냥 1fr 은 minmax(auto, 1fr) 이라 칼럼이 내용의 최소 폭보다
       작아지지 못한다. 그래서 긴 단어 하나(예: 독일어 Bildschirmabstand)가
       자기 몫을 넘으면 옆 칸을 밀어내 얇게 찌그러뜨린다. 0 을 최소로 줘서 막는다. */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    position: relative;
}

.hero-text {
    grid-column: 1;
    min-width: 0;
    /* 제목 크기를 '뷰포트'가 아니라 '이 칼럼의 실제 폭' 기준으로 잡기 위한 컨테이너 */
    container-type: inline-size;
}

.hero-title {
    font-size: 64px;
    /* 가장 긴 단어(독일어 Bildschirmabstand)는 글자크기의 약 8.5배 폭을 차지한다.
       칼럼 폭의 11.5%(= 1/8.7)로 묶으면 그 단어가 항상 한 줄에 들어간다.
       1200px 이상에서는 64px 상한에 걸려 기존과 동일하게 보인다. */
    font-size: clamp(36px, 11.5cqi, 64px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
    letter-spacing: -0.02em;
    /* 언어마다 제목 길이가 달라 한 줄 고정(nowrap)이면 긴 언어에서 옆 칸으로 넘친다 */
    white-space: normal;
    /* 칼럼보다 긴 단어가 있어도 칸 밖으로 새지 않게 한다.
       hyphens 가 먼저 걸려 Bildschirm-abstand 처럼 끊기고,
       하이픈 사전이 없는 언어에서만 break-word 로 강제 분리된다. */
    hyphens: auto;
    overflow-wrap: break-word;
}

.hero-title .dim {
    color: var(--text);
}

.hero-title .point {
    color: var(--brand);
}

.hero-side {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 32px;
    text-align: end;
    padding-top: 12px;
}

.hero-desc {
    overflow-wrap: break-word;
    font-size: 18px;
    line-height: 1.7;
    color: #2a2a2a;
    font-weight: 500;
}

.store-buttons {
    display: flex;
    gap: 12px;
}

.store-btn img {
    height: 44px;
    width: auto;
}

.hero-mockup {
    grid-column: 1 / 3;
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.hero-mockup img {
    max-width: 480px;
    width: 100%;
    filter: drop-shadow(0 20px 60px rgba(21, 145, 88, 0.18));
}

/* ============================================
   Common Section Title
   ============================================ */
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: var(--text);
}

.section-title .point {
    color: var(--brand);
    font-weight: 700;
}

.big-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--text);
    text-align: center;
}

.big-title .point {
    color: var(--brand);
}

.point {
    color: var(--brand);
}

/* ============================================
   Pain Section
   ============================================ */
.pain {
    padding: 120px 0;
    background: #ffffff;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.pain-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 36px 28px 40px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(21, 145, 88, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: 320px;
}

.card-num {
    font-size: 14px;
    font-weight: 600;
    color: #999;
    letter-spacing: 0.05em;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-top: 4px;
}

.card-desc {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.6;
    margin-bottom: 8px;
}

.pain-ico {
    width: 110px;
    height: auto;
    margin-top: auto;
}

/* ============================================
   Solution Header
   ============================================ */
.solution-header {
    padding: 140px 0 100px;
    background: var(--page-bg);
}

/* ============================================
   Feature Sections
   ============================================ */
.feature {
    padding: 80px 0 100px;
    background: var(--page-bg);
}

.feature-head {
    text-align: center;
    margin-bottom: 56px;
}

.feature-title {
    font-family: 'Inter', 'Pretendard', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.feature-sub {
    margin-top: 12px;
    font-size: 18px;
    color: var(--brand);
    font-weight: 600;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.feature-grid-2 .feature-card.wide {
    grid-column: 1 / 3;
    min-height: 360px;
    flex-direction: row;
    align-items: stretch;
    padding-inline-end: 0;
}

.feature-grid-2 .feature-card.wide .card-content {
    flex: 1;
    padding-bottom: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-grid-2 .feature-card.wide .card-mockup {
    align-self: flex-end;
    margin-top: 0;
    width: auto;
    max-width: 480px;
}

.feature-card {
    position: relative;
    border-radius: var(--border-radius);
    padding: 36px 36px 0;
    min-height: 320px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card.card-yellow {
    background: var(--yellow-bg);
}

.feature-card.card-yellow:nth-child(odd) {
    background: var(--yellow-bg-2);
}

.feature-card.card-gray {
    background: var(--gray-bg);
}

.feature-card.card-brand {
    background: var(--brand-bg-2);
}

.card-content {
    z-index: 1;
}

.tag {
    display: inline-block;
    align-self: flex-start;
    width: fit-content;
    background: #ffffff;
    color: var(--text);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-card-title {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text);
    letter-spacing: -0.01em;
}

.feature-card-title.point {
    color: var(--brand);
}

.card-mockup {
    margin-top: auto;
    align-self: center;
    max-width: 500px;
    width: 100%;
}

/* ============================================
   Audience (Accordion) Section
   ============================================ */
.audience {
    padding: 100px 0 120px;
    background: var(--page-bg);
}

.audience-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.audience-title {
    text-align: start;
}

.audience-title .big-title {
    text-align: start;
    font-size: 40px;
    line-height: 1.4;
}

.audience-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 26px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.accordion-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    gap: 16px;
}

.accordion-item summary::-webkit-details-marker {
    display: none;
}

.acc-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.acc-icon {
    width: 28px;
    height: 28px;
    background: #1A1A1A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    display: none;
}

.acc-icon img {
    width: 14px;
    height: 14px;
    transform: rotate(180deg);
    filter: brightness(0) invert(1);
}

.accordion-item:not([open]) .acc-icon img {
    transform: rotate(0deg);
}

.acc-body {
    margin-top: 14px;
    font-size: 14.5px;
    color: var(--text-sub);
    line-height: 1.65;
}

/* 솔루션 카드(누구에게나 필요합니다): 흰 박스 안쪽 왼쪽에 일러스트를 세로 중앙 정렬 */
.accordion-item.has-thumb {
    position: relative;
    padding-block: 28px; padding-inline: 168px 26px;
    min-height: 132px;
}

.accordion-item.has-thumb .acc-thumb {
    position: absolute;
    inset-inline-start: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 132px;
    height: 132px;
    object-fit: contain;
    pointer-events: none;
}

/* 화살표 아이콘이 없는 정보 카드라 접히지 않게 고정 (접히면 일러스트가 카드 밖으로 튀어나옴) */
.accordion-item.has-thumb summary {
    pointer-events: none;
    cursor: default;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: 60px 0 120px;
    background: linear-gradient(180deg, var(--page-bg) 0%, #FFF1A8 100%);
}

.cta-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 56px 64px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    box-shadow: 0 12px 40px rgba(21, 145, 88, 0.10);
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
    letter-spacing: -0.01em;
}

.cta-desc {
    margin-top: 14px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.cta-text .store-buttons {
    margin-top: 28px;
}

.cta-icon img {
    width: 130px;
    height: auto;
}

/* ============================================
   Others Section
   ============================================ */
.others {
    padding: 100px 0 120px;
    background: #ffffff;
}

.others-title {
    margin-bottom: 56px;
}

.others-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.other-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
}

.other-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.other-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.other-desc {
    font-size: 14px;
    color: var(--text-sub);
}

.other-stores {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.other-store-btn img {
    height: 34px;
    width: auto;
}

.other-store-btn {
    transition: opacity 0.2s ease;
}

.other-store-btn:hover {
    opacity: 0.75;
}

.other-ico {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    flex-shrink: 0;
    object-fit: cover;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 36px 0;
    background: #FAFAF5;
    border-top: 1px solid #ECECEC;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-logo img {
    height: 22px;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-sub);
}

.footer-info strong {
    color: var(--text);
    font-weight: 600;
}

.footer-info .sep {
    color: #D0D0D0;
}

/* ============================================
   SEO 개편 섹션 (locale JSON에 키가 있는 언어에서만 렌더링됨)
   ============================================ */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.hero-badge {
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--brand-bg-2);
    color: #159158;
    font-size: 14px;
    font-weight: 700;
}

/* 한국어는 어절 단위로 줄바꿈 (일본어·중국어에 걸면 줄이 안 바뀌므로 ko 전용) */
html:lang(ko) body {
    word-break: keep-all;
}

/* 헤더 다운로드 버튼: 언어 선택 왼쪽, 오른쪽 끝으로 붙인다 */
.header-cta {
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding-block: 0; padding-inline: 13px 16px;
    border-radius: 999px;
    background: #159158;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s ease;
}

.header-cta:hover {
    background: #0F7A49;
}

.header-cta + .lang-switch {
    margin-inline-start: 0;
}

/* 헤더 "눈 건강 가이드" 링크: 있으면 이 링크가 오른쪽 묶음의 시작점 */
.header-nav {
    margin-inline-start: auto;
    padding: 8px 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

.header-nav:hover {
    color: #159158;
}

.header-nav + .header-cta {
    margin-inline-start: 4px;
}

/* ============================================
   눈 건강 가이드 — 카드 (랜딩 하단 + 목록 페이지 공용)
   ============================================ */
.guides {
    padding: 120px 0;
    background: var(--page-bg);
}

.guides-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 56px;
}

/* 가이드 목록으로 가는 버튼: 슬라이더 아래 가운데, 잘 보이게 */
.guides-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.guides-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--brand);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(23, 168, 98, 0.25);
    transition: transform 0.15s ease, background 0.15s ease;
}

.guides-more:hover {
    background: #159158;
    transform: translateY(-2px);
}

.guides-more::after {
    content: '→';
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* 가이드 슬라이더: 카드 전부를 가로로 늘어놓고 스크롤 스냅으로 넘긴다 (데스크톱 3장, 태블릿 2장, 모바일 1장+) */
.guide-slider {
    position: relative;
}

.guide-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* 카드 hover 이동·그림자가 잘리지 않게 여백을 두고 같은 만큼 당긴다 */
    padding: 8px 6px 28px;
    margin: -8px -6px 0;
    /* 위 좌우 여백만큼 스냅 기준도 안쪽으로 — 없으면 첫 카드가 6px 밀려 '이전' 버튼이 켜진다 */
    scroll-padding: 0 6px;
    scrollbar-width: none;
}

.guide-track::-webkit-scrollbar {
    display: none;
}

.guide-track > .guide-card {
    flex: 0 0 calc((100% - 48px) / 3);
    scroll-snap-align: start;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #DCDCE6;
    background: #ffffff;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.slider-btn:hover:not(:disabled) {
    border-color: var(--brand-light);
    color: #159158;
}

.slider-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

/* 글 페이지 하단 "다른 눈 건강 가이드" */
.more-guides {
    margin-top: 80px;
}

.more-guides-title {
    margin-bottom: 24px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.guide-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(21, 145, 88, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(21, 145, 88, 0.16);
}

.guide-thumb {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-thumb img {
    height: 150px;
    width: auto;
}

.guide-thumb--brand { background: #159158; color: #ffffff; }
.guide-thumb--lavender { background: var(--brand-bg-2); color: #0F7A49; }
.guide-thumb--blue { background: var(--yellow-bg); color: #1F4E9A; }
/* 흰 배경이 들어간 이미지용 (ico_solution* 등) */
.guide-thumb--white { background: #ffffff; color: #0F7A49; border-bottom: 1px solid #ECECF2; }
.related-thumb.guide-thumb--white { border: 1px solid #ECECF2; }

.guide-thumb-text {
    font-family: 'Inter', 'Pretendard', sans-serif;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.guide-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 28px 28px;
}

.guide-cat {
    font-size: 13px;
    font-weight: 700;
    color: #159158;
}

.guide-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text);
}

.guide-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-sub);
}

.guide-meta {
    margin-top: auto;
    padding-top: 6px;
    font-size: 13px;
    color: #8A8A95;
}

/* ============================================
   눈 건강 가이드 — 목록 / 글 페이지
   ============================================ */
.blog-page main {
    background: var(--page-bg);
    padding: 40px 0 120px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: var(--text-sub);
}

.breadcrumb a:hover {
    color: #159158;
}

.blog-index-title {
    margin-top: 28px;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.blog-index-desc {
    margin: 14px 0 48px;
    max-width: 640px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-sub);
}

.blog-index .post-cta {
    margin-top: 56px;
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 56px;
    align-items: start;
}

.post {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.post-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: var(--text-sub);
}

.post-meta span:first-child {
    font-weight: 700;
    color: var(--text);
}

.post-answer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 28px 32px;
    border-radius: var(--border-radius);
    background: var(--brand-bg-2);
}

.post-answer .answer-badge {
    background: #ffffff;
}

.post-answer p {
    font-size: 18px;
    line-height: 1.8;
    font-weight: 500;
}

.post-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-margin-top: 96px;
}

.post-section h2 {
    margin-top: 12px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.post-section > p,
.post-section li {
    font-size: 17px;
    line-height: 1.85;
    color: #33333D;
}

.post-section ul,
.post-section ol {
    padding-inline-start: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-section li::marker {
    color: #159158;
    font-weight: 700;
}

.post-section a,
.post-sources a {
    color: #159158;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-section strong {
    font-weight: 700;
    color: var(--text);
}

.post-table-wrap {
    overflow-x: auto;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.post-table-wrap table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 15px;
}

.post-table-wrap th,
.post-table-wrap td {
    padding: 14px 18px;
    text-align: start;
    vertical-align: top;
    line-height: 1.55;
    border-top: 1px solid #ECECF2;
}

.post-table-wrap thead th {
    background: var(--gray-bg);
    border-top: none;
    font-weight: 700;
}

.post-table-wrap tbody th {
    font-weight: 700;
    white-space: nowrap;
}

.post-table-wrap td:last-child {
    background: #F0FAF4;
}

.post-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.post-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    border-radius: 18px;
    background: #ffffff;
}

.post-stat:first-child {
    background: var(--brand-bg-2);
}

.post-stat strong {
    font-size: 26px;
    font-weight: 800;
    color: #0F7A49;
    letter-spacing: -0.02em;
}

.post-stat span {
    font-size: 14px;
    line-height: 1.5;
    color: #3F3F4A;
}

.post-figure {
    border-radius: var(--border-radius);
    background: var(--brand-bg-2);
    overflow: hidden;
}

.post-figure img {
    margin: 0 auto;
    padding-top: 28px;
    max-height: 440px;
    width: auto;
}

.post-figure figcaption {
    padding: 14px 24px;
    background: #ffffff;
    font-size: 14px;
    color: var(--text-sub);
}

.post-faq .accordion-item {
    background: #ffffff;
}

.post-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    border-radius: var(--border-radius);
    background: #159158;
    color: #ffffff;
}

.post-cta-ico {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    flex-shrink: 0;
}

.post-cta-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.post-cta-text strong {
    font-size: 19px;
    font-weight: 800;
}

.post-cta-text span {
    font-size: 14.5px;
    color: #E9F7EE;
}

.post-cta-btn,
.post-section .post-cta-btn {
    flex-shrink: 0;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 14px;
    background: #ffffff;
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
}

.post-sources {
    padding-top: 20px;
    border-top: 1px solid #DCDCE6;
}

.post-sources h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.post-sources ul {
    padding-inline-start: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14.5px;
    line-height: 1.6;
}

.post-disclaimer {
    font-size: 13px;
    line-height: 1.6;
    color: #8A8A95;
}

.post-aside {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 40px;
}

.aside-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 24px;
    border-radius: 20px;
    background: #ffffff;
}

.aside-label {
    font-size: 13px;
    font-weight: 700;
    color: #8A8A95;
}

.aside-box a {
    font-size: 14.5px;
    line-height: 1.5;
    color: #3F3F4A;
}

.aside-box a:hover {
    color: #159158;
}

/* 함께 읽으면 좋은 글: 왼쪽 썸네일 + 제목 */
.aside-box .related-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
}

.related-thumb {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4px;
    font-family: 'Inter', 'Pretendard', sans-serif;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.related-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.aside-box .related-item:hover .related-title {
    color: #159158;
}

/* 목차: 현재 섹션 표시.
   배경을 글자(inline span)에만 깔고, background-size 를 0% -> 100% 로 늘려 왼쪽에서 오른쪽으로 채운다.
   두 줄이면 inline 조각들이 한 줄로 이어진 것처럼 칠해져서 첫 줄 -> 둘째 줄 순서로 채워진다. */
.toc a {
    display: block;
}

.toc-text {
    padding: 2px 4px;
    margin: 0 -4px;
    border-radius: 4px;
    background-image: linear-gradient(#D7F5E3, #D7F5E3);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 0% 100%;
    transition: background-size 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.toc a.is-active {
    color: #0F7A49;
}

.toc a.is-active .toc-text {
    background-size: 100% 100%;
}

@media (prefers-reduced-motion: reduce) {
    .toc-text { transition: none; }
}

/* Quick Answer */
.answer {
    padding: 0 0 120px;
    background: #F5F8F0;
}

.answer-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 56px 64px;
    box-shadow: 0 4px 24px rgba(21, 145, 88, 0.08);
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: 56px;
    row-gap: 40px;
}

.answer-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.answer-badge {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--brand-bg-2);
    color: #159158;
    font-size: 14px;
    font-weight: 700;
}

.answer-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.answer-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 44px;
}

.answer-lead {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--brand);
}

.answer-text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-sub);
}

.answer-source {
    font-size: 14px;
    font-weight: 600;
    color: #159158;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ruler {
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    display: block;
    font-family: inherit;
}

.ruler-sm {
    display: none;
}

.pain-source {
    font-size: 12.5px;
    color: #8A8A95;
}

/* iPhone vs Android */
.compare {
    padding: 120px 0;
    background: var(--page-bg);
}

.compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 64px;
}

.compare-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 44px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 4px 24px rgba(21, 145, 88, 0.06);
}

/* #159158: 흰 글씨 대비 4.5:1 이상을 맞추려고 브랜드 보라보다 한 단계 진하게 */
.compare-card.is-ours {
    background: #159158;
    color: #ffffff;
    flex-direction: row;
    gap: 16px;
    padding-block: 44px 0; padding-inline: 44px 0;
    overflow: hidden;
}

.compare-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 44px;
}

.compare-tag {
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--gray-bg);
    color: #55555F;
    font-size: 15px;
    font-weight: 700;
}

.is-ours .compare-tag {
    background: #ffffff;
    color: #0F7A49;
}

.compare-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 17px;
    color: #3F3F4A;
}

.compare-list li {
    position: relative;
    padding-inline-start: 26px;
}

/* 우리 앱: 체크 표시 / 애플: 대시 */
.compare-list li::before {
    content: '';
    position: absolute;
    inset-inline-start: 2px;
    top: 0.4em;
    width: 12px;
    height: 7px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}

.compare-card:not(.is-ours) .compare-list li::before {
    top: 0.75em;
    width: 10px;
    height: 0;
    border-left: none;
    transform: none;
}

.compare-list li.is-neg {
    color: #A33A3A;
    font-weight: 700;
}

.is-ours .compare-list {
    color: #ffffff;
    font-weight: 500;
}

.compare-img {
    width: 260px;
    align-self: flex-end;
    border-top-left-radius: 24px;
}

.feature-card-desc {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-sub);
}

/* 질문형 FAQ: audience 아코디언 레이아웃을 재사용하되, 접힘 표시(화살표)를 보여준다 */
.faq {
    padding: 120px 0;
    background: #ffffff;
}

.faq .accordion-item {
    background: var(--page-bg);
    box-shadow: none;
}

.faq-desc {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-sub);
}

.faq-item summary::after {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-inline-end: 4px;
    border-right: 2px solid var(--text-sub);
    border-bottom: 2px solid var(--text-sub);
    transform: rotate(45deg);
    transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
    transform: rotate(-135deg);
}

.footer-sources {
    margin-bottom: 14px;
    font-size: 12.5px;
    color: var(--text-sub);
}

@media (max-width: 1024px) {
    .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .guide-track > .guide-card { flex-basis: calc((100% - 24px) / 2); }
    .blog-layout { grid-template-columns: 1fr; }
    .post-aside { display: none; }
    .answer-card { grid-template-columns: 1fr; row-gap: 24px; }
    .answer-body { padding-top: 0; }
    .compare-img { width: 200px; }
}

@media (max-width: 768px) {
    /* 다운로드 버튼이 있는 헤더는 한 줄 유지: 언어 선택은 국가 코드만, 앱 이름은 필요하면 2줄 */
    .header-inner:has(.header-cta) { flex-wrap: nowrap; gap: 10px; }
    .header-inner:has(.header-cta) .logo-text { font-size: 14px; }
    .header-cta { height: 34px; padding-block: 0; padding-inline: 10px 12px; font-size: 13px; gap: 4px; }
    .header-cta + .lang-switch .lang-dd summary .lang-label { display: none; }
    /* 모바일에서도 가이드 링크를 최상단에 노출 — 글자만 작게 */
    .header-nav { font-size: 13px; padding: 6px 2px; }
    .header-nav + .header-cta { margin-inline-start: 2px; }
}

@media (max-width: 480px) {
    /* 가이드 링크 + 다운로드 버튼 + 언어 선택이 함께 있으면 폰 폭이 모자라 앱 이름이 링크 위로 겹친다 →
       로고는 아이콘만 남긴다(아이콘이 홈 링크). */
    .header-inner:has(.header-nav):has(.header-cta) .logo-text { display: none; }

    .guides { padding: 80px 0; }
    .guides-head { margin-bottom: 36px; }
    .guide-grid { grid-template-columns: 1fr; gap: 16px; }
    /* 모바일: 다음 카드가 살짝 보이게 해서 옆으로 넘길 수 있다는 걸 알린다 */
    .guide-track { gap: 16px; }
    .guide-track > .guide-card { flex-basis: 84%; }
    .more-guides { margin-top: 56px; }
    .more-guides-title { font-size: 22px; }
    .guide-thumb { height: 140px; }
    .guide-thumb img { height: 116px; }
    .guide-title { font-size: 18px; }

    .blog-page main { padding: 24px 0 80px; }
    .blog-index-title { font-size: 32px; margin-top: 20px; }
    .blog-index-desc { font-size: 15px; margin-bottom: 32px; }
    .post { gap: 22px; }
    .post-title { font-size: 28px; }
    .post-answer { padding: 22px 20px; }
    .post-answer p { font-size: 16px; line-height: 1.75; }
    .post-section h2 { font-size: 22px; }
    .post-section > p, .post-section li { font-size: 16px; line-height: 1.8; }
    .post-stats { grid-template-columns: 1fr; }
    .post-stat { flex-direction: row; align-items: baseline; gap: 12px; padding: 16px 18px; }
    .post-stat strong { font-size: 22px; min-width: 104px; }
    .post-figure img { max-height: 320px; padding-top: 20px; }
    .post-cta { flex-wrap: wrap; padding: 22px 20px; gap: 14px; }
    .post-cta-ico { width: 56px; height: 56px; border-radius: 14px; }
    .post-cta-btn { width: 100%; text-align: center; }

    .hero-badges { margin-bottom: 16px; }
    .hero-badge { font-size: 12.5px; padding: 6px 12px; }

    .answer { padding: 0 0 80px; }
    .answer-card { padding: 32px 24px; border-radius: 24px; row-gap: 20px; }
    .answer-title { font-size: 24px; }
    .answer-lead { font-size: 24px; }
    .answer-text { font-size: 15px; }
    .ruler-lg { display: none; }
    .ruler-sm { display: block; }

    .compare { padding: 80px 0; }
    .compare-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
    .compare-card { padding: 28px 24px; }
    .compare-card.is-ours { flex-direction: column; padding: 28px 24px 0; }
    .compare-text { padding-bottom: 0; }
    .compare-img { align-self: center; width: 220px; border-radius: 20px 20px 0 0; }
    .compare-list { font-size: 15px; }

    .feature-card-desc { font-size: 14px; }

    .faq { padding: 60px 0 80px; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero-title { font-size: 48px; font-size: clamp(32px, 11.5cqi, 48px); }
    .big-title { font-size: 36px; }
    .feature-title { font-size: 36px; }
    .feature-grid-2 { grid-template-columns: repeat(2, 1fr); }
    .feature-grid-2 .feature-card.wide { grid-column: 1 / 3; grid-row: auto; }
    .audience-inner { grid-template-columns: 1fr; gap: 32px; }
    .audience-title .big-title { text-align: center; }
}

@media (max-width: 768px) {
    .header { padding: 14px 0; }
    .header-inner { padding: 0 20px; flex-wrap: wrap; row-gap: 10px; }
    .logo-icon { height: 32px; width: 32px; }
    .logo-text { font-size: 15px; max-width: 220px; }

    .hero { padding: 56px 0 80px; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-text, .hero-side { grid-column: 1; }
    .hero-side { align-items: flex-start; text-align: start; }
    .hero-title { font-size: 36px; white-space: normal; }
    .hero-desc { font-size: 16px; }
    .hero-mockup { margin-top: 40px; }
    .hero-mockup img { max-width: 260px; display: block;}

    .pain { padding: 80px 0; }
    .pain-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
    .section-title { font-size: 26px; }

    .solution-header { padding: 80px 0 60px; }
    .big-title { font-size: 28px; }

    .feature { padding: 60px 0 80px; }
    .feature-title { font-size: 30px; }
    .feature-grid, .feature-grid-2 { grid-template-columns: 1fr; }
    .feature-card { padding: 28px 24px 0; min-height: 280px; }
    .feature-card-title { font-size: 19px; }
    .card-mockup { max-width: 240px; }

    /* wide 카드도 일반 카드와 동일한 세로 레이아웃(이미지 하단 중앙) */
    .feature-grid-2 .feature-card.wide {
        grid-column: auto;
        flex-direction: column;
        min-height: 280px;
        padding-inline-end: 24px;
    }
    .feature-grid-2 .feature-card.wide .card-content {
        display: block;
        flex: none;
        padding-bottom: 0;
    }
    .feature-grid-2 .feature-card.wide .card-mockup {
        align-self: center;
        margin-top: auto;
        width: 100%;
        max-width: 240px;
        max-width:100%;
    }

    .audience { padding: 60px 0 80px; }
    .audience-title .big-title { font-size: 26px; }
    .accordion-item { padding: 18px 20px; }
    .accordion-item.has-thumb { padding-block: 20px; padding-inline: 108px 16px; min-height: 96px; }
    .accordion-item.has-thumb .acc-thumb { inset-inline-start: 8px; width: 92px; height: 92px; }
    .acc-title { font-size: 16px; }

    .cta { padding: 40px 0 80px; }
    .cta-card { padding: 36px 28px; grid-template-columns: 1fr; text-align: center; }
    .cta-text .store-buttons { justify-content: center; }
    .cta-title { font-size: 24px; }
    .cta-icon { display: flex; justify-content: center; }
    .cta-icon img { width: 100px; }

    .others { padding: 60px 0 80px; }
    .other-card { padding: 18px 20px; }
    .other-name { font-size: 17px; }
    .other-ico { width: 60px; height: 60px; }
    .other-store-btn img { height: 30px; }

    .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .footer-info { font-size: 12px; gap: 8px; }

    .lang-dd summary { padding: 6px 12px; font-size: 12px; }
}

/* ============================================
   Language Switch (다국어 전환 · 드롭다운)
   ============================================ */
.lang-switch {
    margin-inline-start: auto;
}

.lang-dd {
    position: relative;
}

.lang-dd summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding-block: 6px; padding-inline: 10px 14px;
    border: 1px solid #E5E5EC;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-sub);
    line-height: 1;
    white-space: nowrap;
    background: #ffffff;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.lang-flag {
    font-size: 16px;
    line-height: 1;
}

.lang-dd summary .lang-label {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lang-dd summary::-webkit-details-marker { display: none; }

.lang-dd summary::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.15s ease;
}

.lang-dd[open] summary,
.lang-dd summary:hover {
    border-color: var(--brand-light);
    color: var(--brand);
}

.lang-dd[open] summary::after {
    transform: rotate(-135deg) translateY(-1px);
}

.lang-menu {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 8px);
    display: flex;
    flex-direction: column;
    min-width: 168px;
    max-height: min(60vh, 380px);
    overflow-y: auto;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #EDEDF2;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(26, 26, 26, 0.12);
    z-index: 200;
}

.lang-menu a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    transition: background 0.12s ease, color 0.12s ease;
}

.lang-menu a .lang-flag {
    font-size: 17px;
}

.lang-menu a:hover {
    background: var(--brand-bg-2);
    color: var(--brand);
}

.lang-menu a.is-active {
    background: var(--brand);
    color: #ffffff;
}

/* ============================================
   Scroll Reveal (로케일별 opt-in: body.reveal-on 이 있을 때만 작동.
   한국어로 먼저 확인 → 승인되면 build.mjs 의 REVEAL_LOCALES 를 전체로 확장)
   ============================================ */
body.reveal-on [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
}

body.reveal-on [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 그리드·리스트 안에서는 순서대로 살짝씩 늦게 나타나도록 단계별 지연을 준다 */
body.reveal-on .hero-inner > [data-reveal]:nth-child(1) { --reveal-delay: 0s; }
body.reveal-on .hero-inner > [data-reveal]:nth-child(2) { --reveal-delay: 0.12s; }
body.reveal-on .hero-inner > [data-reveal]:nth-child(3) { --reveal-delay: 0.24s; }

body.reveal-on .pain-grid > [data-reveal]:nth-child(1),
body.reveal-on .feature-grid > [data-reveal]:nth-child(1),
body.reveal-on .others-list > [data-reveal]:nth-child(1) { --reveal-delay: 0s; }
body.reveal-on .pain-grid > [data-reveal]:nth-child(2),
body.reveal-on .feature-grid > [data-reveal]:nth-child(2),
body.reveal-on .others-list > [data-reveal]:nth-child(2) { --reveal-delay: 0.1s; }
body.reveal-on .pain-grid > [data-reveal]:nth-child(3),
body.reveal-on .feature-grid > [data-reveal]:nth-child(3),
body.reveal-on .others-list > [data-reveal]:nth-child(3) { --reveal-delay: 0.2s; }

body.reveal-on .audience-list > [data-reveal]:nth-child(1) { --reveal-delay: 0s; }
body.reveal-on .audience-list > [data-reveal]:nth-child(2) { --reveal-delay: 0.08s; }
body.reveal-on .audience-list > [data-reveal]:nth-child(3) { --reveal-delay: 0.16s; }
body.reveal-on .audience-list > [data-reveal]:nth-child(4) { --reveal-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    body.reveal-on [data-reveal] {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   습관쑥쑥 추가 — 푸터 정책 링크
   ============================================ */
.footer-links {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    color: var(--text-sub);
    width: 100%;
}

.footer-links a:hover {
    color: var(--text);
    text-decoration: underline;
}

.footer-links .sep {
    color: #D0D0D0;
}

.cta-icon img {
    border-radius: 28px;
}

/* 블로그 가로형 인포그래픽 (figure.wide) */
.post-figure--wide {
    background: #ffffff;
    border: 1px solid var(--brand-bg);
}

.post-figure--wide img {
    padding-top: 0;
    max-height: none;
    width: 100%;
    height: auto;
}

/* 블로그 다운로드 버튼 (인쇄용 도안) */
.post-downloads {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.post-download {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #ffffff;
    border: 2px solid var(--brand);
    transition: background 0.15s ease;
}

.post-download:hover {
    background: var(--brand-bg-2);
}

.post-download-ico {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand);
    color: #ffffff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-download-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 15px;
}

.post-download-text span {
    font-size: 13px;
    color: var(--text-sub);
}

/* 블로그 CTA: Google Play + App Store 버튼 나란히 */
.post-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: none;
}

/* App Store 버튼 — 링크가 아직 없을 때 '준비 중' 꼬리표 */
.store-btn-ios {
    position: relative;
}

.store-btn-ios[data-soon] img {
    opacity: 0.55;
}

.store-btn-ios[data-soon]::after {
    content: attr(data-soon);
    position: absolute;
    top: -9px;
    right: -8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #FFE54F;
    color: #4A3B00;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

.post-cta-btn.is-soon {
    opacity: 0.6;
    cursor: default;
}

/* 고민 카드 아이콘 — 말풍선·스티커표 글자가 읽히도록 크게 (make_pain_icons.py) */
.pain-ico {
    width: 170px;
}

/* 기능 카드 속 앱 캡처 — 원본(500px)은 카드에 꽉 차 답답해 보여서 줄인다 */
.feature-card .card-mockup {
    max-width: 340px;
}

.feature-grid-2 .feature-card.wide .card-mockup {
    max-width: 400px;
}

@media (max-width: 768px) {
    .feature-card .card-mockup,
    .feature-grid-2 .feature-card.wide .card-mockup {
        max-width: 300px;
    }
}

/* 기능 카드: 제목과 앱 캡처 사이 간격 */
.feature-card .card-mockup {
    margin-top: 28px;
}

.feature-card .card-content + .card-mockup {
    margin-top: auto;
    padding-top: 28px;
}

/* '이런 가족에게' 카드: 썸네일이 카드 위아래에 닿지 않게 */
.accordion-item.has-thumb {
    padding-block: 30px;
    padding-inline: 150px 26px;
    min-height: 150px;
}

.accordion-item.has-thumb .acc-thumb {
    width: 112px;
    height: 112px;
    inset-inline-start: 20px;
}

@media (max-width: 768px) {
    .accordion-item.has-thumb {
        padding-inline: 116px 20px;
        min-height: 120px;
    }

    .accordion-item.has-thumb .acc-thumb {
        width: 84px;
        height: 84px;
        inset-inline-start: 14px;
    }
}

/* 블로그 썸네일: 글마다 합성한 그림(360×300)을 조금 더 크게 */
.guide-thumb img {
    height: 164px;
}

/* 가로형(wide) 기능 카드: 글은 왼쪽 여백·최대 폭, 앱 캡처는 20% 작게 + 오른쪽 여백 */
.feature-grid-2 .feature-card.wide {
    padding: 0 56px 0 64px;
    gap: 48px;
    justify-content: space-between;
}

.feature-grid-2 .feature-card.wide .card-content {
    max-width: 480px;
    padding-block: 48px;
}

.feature-grid-2 .feature-card.wide .card-mockup {
    flex: 0 0 320px;
    width: 320px;
    max-width: 320px;
    padding-top: 48px;
}

@media (max-width: 1024px) {
    .feature-grid-2 .feature-card.wide { padding: 0 36px 0 40px; gap: 32px; }
    .feature-grid-2 .feature-card.wide .card-mockup { flex-basis: 280px; width: 280px; max-width: 280px; }
}

@media (max-width: 768px) {
    .feature-grid-2 .feature-card.wide {
        padding: 28px 24px 0;
        gap: 0;
    }
    .feature-grid-2 .feature-card.wide .card-content {
        max-width: none;
        padding-block: 0;
    }
    .feature-grid-2 .feature-card.wide .card-mockup {
        flex: none;
        width: 100%;
        max-width: 300px;
        padding-top: 28px;
    }
}

/* 비교 카드(습관쑥쑥 쪽): 실제 앱 홈 캡처를 크게 — 이미지 자체에 둥근 모서리·테두리가 있다 */
.compare-img {
    width: 320px;
    border-top-left-radius: 0;
    flex: none;
}

@media (max-width: 1024px) {
    .compare-img { width: 260px; }
}

@media (max-width: 768px) {
    .compare-img { width: 260px; }
}

/* 아주 좁은 화면: 가이드 링크가 들어갈 자리를 위해 로고 글자를 숨긴다(아이콘은 유지) */
@media (max-width: 380px) {
    .header-inner:has(.header-nav) .logo-text { display: none; }
}
