/* 소개 페이지 전용. 스크린샷은 고정 높이 없이 원본 비율로 표시한다. */
.about-page {
    --about-ink: #20252b;
    --about-text: #59616c;
    --about-muted: #6b7280;
    --about-line: #e6e7eb;
    --about-tint: #f8f9fb;
    --about-accent: var(--tripbora-primary, #7657c8);
    color: var(--about-ink);
    background: #fff;
}

.about-page *, .about-page *::before, .about-page *::after {
    box-sizing: border-box;
}

.about-content {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

/* Hero와 기능 탐색 */
.about-hero {
    padding: 56px 0 36px;
}

.about-eyebrow {
    display: block;
    color: var(--about-accent);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .14em;
}

.about-hero h1 {
    max-width: 1080px;
    margin: 14px 0 18px;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 750;
    letter-spacing: -.055em;
    line-height: 1.25;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.about-hero p {
    max-width: 740px;
    margin: 0;
    color: var(--about-text);
    font-size: 17px;
    line-height: 1.8;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.about-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
    margin-top: 28px;
    padding-block: 8px;
    border-block: 1px solid var(--about-line);
}

.about-jump a {
    padding: 8px 12px;
    border-radius: 4px;
    color: var(--about-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.about-jump a:hover {
    color: var(--about-accent);
    background: var(--about-tint);
}

/* 반대 방향에서도 이미지 열은 60%를 유지한다. */
.about-feature {
    padding: 56px 0;
    background: #fff;
    scroll-margin-top: 88px;
}

.about-feature.is-tinted {
    background: var(--about-tint);
}

.about-feature-row {
    display: grid;
    grid-template-columns: minmax(0, .4fr) minmax(0, .6fr);
    align-items: center;
    gap: 36px;
}

.about-feature.is-reverse .about-feature-row {
    grid-template-columns: minmax(0, .6fr) minmax(0, .4fr);
}

.about-feature.is-reverse .about-feature-row > .about-feature-text {
    order: 2;
}

.about-feature-text {
    min-width: 0;
}

.about-feature-number {
    display: inline-block;
    padding-bottom: 7px;
    border-bottom: 2px solid var(--about-accent);
    color: var(--about-accent);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .08em;
    font-variant-numeric: tabular-nums;
}

.about-feature h2 {
    margin: 12px 0 14px;
    font-size: clamp(26px, 2.8vw, 34px);
    font-weight: 750;
    letter-spacing: -.045em;
    line-height: 1.3;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.about-feature-text p {
    margin: 0;
    color: var(--about-text);
    font-size: 16px;
    line-height: 1.8;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.about-feature-text .about-feature-detail {
    margin-top: 12px;
    font-size: 15px;
}

.about-feature-points {
    display: grid;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
    line-height: 1.6;
}

.about-feature-points li::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 10px 3px 0;
    border-radius: 50%;
    background: var(--about-accent);
}

.about-feature-link {
    display: inline-block;
    margin-top: 22px;
    color: var(--about-accent);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.about-feature-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.about-page a:focus-visible {
    outline: 2px solid var(--about-accent);
    outline-offset: 4px;
}

/* 화면과 캡션. 별도의 모형 프레임이나 자르기는 사용하지 않는다. */
.about-shot, .about-tool, .about-compare-item {
    min-width: 0;
    margin: 0;
}

.about-shot img, .about-tool-frame img, .about-compare-frame img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 1px solid var(--about-line);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 3px 12px rgb(32 37 43 / 4%);
}

.about-diary-tools, .about-plan-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 24px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-diary-tools {
    margin-top: 28px;
}

.about-plan-steps {
    min-width: 0;
}

.about-page figcaption {
    margin-top: 7px;
    color: var(--about-muted);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: anywhere;
}

.about-translation-gallery {
    min-width: 0;
}

.about-compare + .about-compare {
    margin-top: 24px;
}

.about-compare h3 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 650;
}

.about-compare-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.about-final {
    padding: 48px 0;
    background: var(--about-tint);
    border-top: 1px solid var(--about-line);
}

.about-final .about-content {
    text-align: center;
}

.about-final h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -.045em;
    line-height: 1.4;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.about-final p {
    margin: 0;
    color: var(--about-text);
    font-size: 16px;
    line-height: 1.7;
}

.about-final-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.about-final-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 20px;
    border: 1px solid var(--about-line);
    border-radius: 6px;
    background: #fff;
    color: var(--about-ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.about-final-button:hover {
    border-color: var(--about-accent);
}

.about-final-button.is-primary {
    border-color: var(--about-accent);
    background: var(--about-accent);
    color: #fff;
}

/* 태블릿부터 DOM 순서 그대로 글 → 화면. */
@media (max-width: 1024px) {
    .about-feature-row, .about-feature.is-reverse .about-feature-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .about-feature.is-reverse .about-feature-row > .about-feature-text {
        order: 0;
    }

    .about-feature {
        padding: 44px 0;
    }
}

@media (max-width: 600px) {
    .about-content {
        width: calc(100% - 32px);
    }

    .about-hero {
        padding: 36px 0 24px;
    }

    .about-hero h1 {
        font-size: clamp(28px, 7.5vw, 36px);
    }

    .about-hero p {
        font-size: 16px;
    }

    .about-jump {
        gap: 0 2px;
        margin-top: 22px;
    }

    .about-jump a {
        padding: 8px;
        font-size: 13px;
    }

    .about-feature {
        padding: 36px 0;
    }

    .about-feature-row {
        gap: 24px;
    }

    .about-diary-tools, .about-plan-steps, .about-compare-pair {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .about-final {
        padding: 36px 0;
    }

    .about-final-button {
        width: 100%;
    }
}
