/* Omnime 랜딩 · 지원 페이지 공통 스타일.
   색은 앱 로고에서 가져왔다 — 남색 바탕(#131C2E), 흰 고리, 파란 점(#0475FA). 페이지도 같은 셋으로 짠다:
   남색은 머리와 히어로·마지막 권유처럼 브랜드가 서는 자리, 파랑은 하나뿐인 강조색.
   **로고의 파랑 그대로는 흰 글자를 얹기에 대비가 모자라다(4.3:1).** 그래서 글자와 버튼에는 한 단계
   짙은 파랑을, 남색 위의 글자에는 한 단계 밝은 파랑을 쓰고, 원래 파랑은 점처럼 글자가 없는 자리에 둔다. */

:root {
    color-scheme: light dark;

    --navy: #131c2e;
    --navy-raised: #1c2740;
    --navy-line: #2a3650;
    --on-navy: #ffffff;
    --on-navy-soft: #c3cad8;
    --on-navy-faint: #97a1b5;

    --blue: #0475fa;
    --blue-fill: #0467e0;
    --blue-fill-hover: #0359c4;
    --blue-on-navy: #4d9bff;

    --bg: #f6f7f9;
    --bg-elevated: #ffffff;
    --line: #dde2ea;
    --line-soft: #eaedf2;
    --text: #131c2e;
    --text-soft: #4a5468;
    --text-faint: #636d82;
    --accent: #0062d6;
    --accent-soft: rgba(4, 117, 250, 0.08);

    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 1px 2px rgba(19, 28, 46, 0.05), 0 12px 32px -18px rgba(19, 28, 46, 0.3);
    --maxw: 1080px;

    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Pretendard",
        "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b111d;
        --bg-elevated: #131c2e;
        --line: #26324a;
        --line-soft: #1c2740;
        --text: #f3f5f9;
        --text-soft: #aab3c5;
        --text-faint: #8791a6;
        --accent: #4d9bff;
        --accent-soft: rgba(77, 155, 255, 0.13);
        --shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 12px 32px -18px rgba(0, 0, 0, 0.9);
    }
}

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

html {
    scroll-behavior: smooth;
    /* 앵커로 이동할 때 고정 헤더 밑에 제목이 숨지 않도록. */
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-size-adjust: 100%;
    /* 한국어는 어절 안에서 줄이 갈리면 읽기가 나빠진다. 긴 영문 토큰만 예외로 끊는다. */
    word-break: keep-all;
    overflow-wrap: break-word;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
}

h1,
h2,
h3 {
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0 0 0.5em;
    font-weight: 700;
}

p {
    margin: 0 0 1em;
}

.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.narrow {
    max-width: 760px;
}

/* ─── 헤더 ─────────────────────────────────────────────── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: color-mix(in srgb, var(--navy) 94%, transparent);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--navy-line);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 60px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.02em;
    color: var(--on-navy);
}

.brand:hover {
    text-decoration: none;
}

.brand img {
    width: 28px;
    height: 28px;
    border-radius: 7px;
}

.site-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    /* 아주 좁은 기기에서 링크가 잘리는 대신 밀려 들어가게 둔다. 막대는 감춘다. */
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
    display: none;
}

.site-nav > * {
    flex: 0 0 auto;
}

.site-nav a {
    color: var(--on-navy-soft);
    font-size: 14px;
    font-weight: 500;
    padding: 7px 11px;
    border-radius: 10px;
}

.site-nav a:hover {
    text-decoration: none;
    color: var(--on-navy);
    background: var(--navy-raised);
}

.site-nav a[aria-current="page"] {
    color: var(--on-navy);
    background: var(--navy-raised);
}

/* ─── 히어로 ───────────────────────────────────────────── */

.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 64px;
    background: var(--navy);
    color: var(--on-navy);
}

.hero::before {
    /* 로고의 파란 점이 번진 자리. */
    content: "";
    position: absolute;
    top: -260px;
    right: -180px;
    width: 720px;
    height: 720px;
    background: radial-gradient(closest-side, rgba(4, 117, 250, 0.32), transparent);
    pointer-events: none;
}

.hero .wrap {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(32px, 4.6vw, 50px);
    letter-spacing: -0.035em;
    margin-bottom: 20px;
}

.hero h1 .grad {
    color: var(--blue-on-navy);
}

.hero .lede {
    font-size: clamp(16px, 1.9vw, 19px);
    color: var(--on-navy-soft);
    max-width: 30em;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 650;
    letter-spacing: 0.02em;
    color: var(--on-navy);
    background: var(--navy-raised);
    border: 1px solid var(--navy-line);
    border-radius: 999px;
    padding: 6px 13px;
    margin-bottom: 22px;
}

.eyebrow::before,
.kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    flex: 0 0 auto;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 13px;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background: var(--blue-fill);
    color: #fff;
    box-shadow: 0 10px 28px -12px rgba(4, 117, 250, 0.8);
}

.btn-primary:hover {
    background: var(--blue-fill-hover);
}

.btn-primary:focus-visible {
    outline: 2px solid var(--blue-on-navy);
    outline-offset: 3px;
}

.btn-secondary {
    background: var(--bg-elevated);
    border-color: var(--line);
    color: var(--text);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* App Store 배지는 애플이 내준 그림을 고치지 않고 쓴다(App Store 마케팅 가이드라인). 검은 배지에는
   밝은 테두리가 들어 있어 어두운 화면에서도 따로 흰 판이 필요 없다. 옆 버튼과 높이만 맞춘다. */
.app-store-badge {
    display: inline-flex;
    border-radius: 9px;
}

.app-store-badge img {
    display: block;
    width: auto;
    height: 48px;
}

.app-store-badge:hover {
    filter: brightness(1.15);
}

.app-store-badge:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.cta-note {
    font-size: 13px;
    color: var(--text-faint);
    margin: 14px 0 0;
}

/* ─── 섹션 ─────────────────────────────────────────────── */

section {
    padding: 64px 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 36px;
}

.section-head h2 {
    font-size: clamp(24px, 3.4vw, 34px);
}

.section-head p {
    color: var(--text-soft);
    margin: 0;
}

.kicker {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 10px;
}

/* ─── 랜딩 ─────────────────────────────────────────────── */
/* 섹션마다 실제 앱 화면이 주인공이다. 화면은 테두리 없는 원본을 받아 여기서 기기 모양을 입힌다 —
   프레임을 그림에 구워 두면 다크 모드에서 그림의 바탕이 네모로 떠 보인다.
   순서와 제목은 앱스토어 사진 여섯 장과 같다. 남색 칸과 밝은 칸을 번갈아 두어 칸이 바뀌는 자리를 세우고,
   칸 번호 옆 점만 그 스토어 장의 색(--dot)으로 칠한다 — 강조색은 여전히 파랑 하나다. */

.phone {
    position: relative;
    flex: none;
    width: min(290px, 72vw);
    aspect-ratio: 1320 / 2868;
    border-radius: 46px;
    padding: 9px;
    background: #111116;
    box-shadow:
        0 0 0 1.5px #3a3a44 inset,
        0 50px 90px -50px rgba(30, 30, 90, 0.7),
        0 4px 14px rgba(20, 20, 60, 0.16);
}

.phone img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 38px;
    object-fit: cover;
    object-position: top;
}

.phone-sm {
    width: min(236px, 60vw);
    border-radius: 38px;
    padding: 8px;
}

.phone-sm img {
    border-radius: 31px;
}

/* 일정 종류 네 장. 칸 너비를 따라 줄어든다. */
.phone-xs {
    width: 100%;
    border-radius: 30px;
    padding: 6px;
}

.phone-xs img {
    border-radius: 25px;
}

@media (prefers-color-scheme: dark) {
    .phone {
        box-shadow: 0 0 0 1.5px #4a4a56 inset, 0 50px 90px -50px rgba(0, 0, 0, 0.95);
    }
}

/* 화면 한두 장을 나란히. 두 번째 장은 조금 작게, 아래로 붙인다. */
.devices {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 18px;
    min-width: 0;
}

/* 글 옆 칸에 두 장을 둘 때는 칸 너비 안에 들게 줄인다. */
.devices-pair .phone {
    width: min(250px, 56%);
}

.devices-pair .phone-aside {
    width: min(200px, 40%);
}

.hero-copy .btn-install {
    font-size: 17px;
    padding: 15px 24px;
    border-radius: 15px;
}

.hero-copy .cta-note {
    font-size: 14px;
    color: var(--on-navy-soft);
}

.nav-cta {
    color: #fff !important;
    background: var(--blue-fill) !important;
    font-weight: 650 !important;
    margin-left: 6px;
}

.kicker::before {
    background: var(--dot, var(--blue));
}

/* 남색 칸. 히어로·마무리와 같은 바탕이라 머리 바로 아래 칸은 선 하나로 가른다. */
section.navy {
    background: var(--navy);
    color: var(--on-navy);
    border-top: 1px solid var(--navy-line);
}

.navy .kicker {
    color: var(--blue-on-navy);
}

.navy .section-head p {
    color: var(--on-navy-soft);
}

.section-head h2 + p {
    font-size: 17px;
}

/* 글 한쪽 + 화면 한쪽 */
.feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.feature .section-head {
    margin-bottom: 24px;
}

/* 요점 카드 */
.points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.points li {
    background: var(--bg-elevated);
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    padding: 13px 16px;
    font-size: 15px;
    color: var(--text-soft);
}

.points b {
    display: block;
    font-size: 16px;
    color: var(--text);
    margin-bottom: 2px;
}

.navy .points li {
    background: var(--navy-raised);
    border-color: var(--navy-line);
    color: var(--on-navy-soft);
}

.navy .points b {
    color: var(--on-navy);
}

.navy .tag {
    color: var(--blue-on-navy);
    background: rgba(77, 155, 255, 0.14);
}

.tag {
    display: inline-block;
    vertical-align: 1px;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 2px 9px;
    margin-left: 4px;
}

/* 종류·테마 이름 */
.chips {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chips li {
    font-size: 14px;
    font-weight: 600;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
}

#types .chips {
    margin-bottom: 32px;
}

.types {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.types p {
    margin: 12px 0 0;
    text-align: center;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-soft);
}

/* AI 대화 예시 — 앱의 AI 화면 말투를 그대로 옮긴다. 보낸 말은 오른쪽 말풍선, 답은 왼쪽 한 줄. */
.chat {
    margin: 0 0 14px;
    display: grid;
    gap: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 16px;
    font-size: 14.5px;
    line-height: 1.5;
    box-shadow: var(--shadow);
}

.chat p {
    margin: 0;
}

.chat-me {
    justify-self: end;
    max-width: 85%;
    padding: 9px 13px;
    border-radius: 16px 16px 4px 16px;
    background: var(--accent-soft);
    border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
    color: var(--text);
}

.chat-found,
.chat-done {
    display: flex;
    align-items: center;
    gap: 7px;
}

.chat-found {
    color: var(--text-faint);
    font-size: 13.5px;
    margin-top: 2px !important;
}

.chat-found::before {
    content: "✦";
    color: var(--text-faint);
}

.chat-done {
    color: var(--text);
}

.chat-done::before {
    content: "✓";
    font-weight: 700;
    color: #248a3d;
}

@media (prefers-color-scheme: dark) {
    .chat-done::before {
        color: #30d158;
    }
}

/* iPad 띠 */
.ipad .section-head {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.ipad .kicker {
    justify-content: center;
}

.tablet {
    width: min(620px, 100%);
    margin: 0 auto;
    padding: 12px;
    border-radius: 34px;
    background: #111116;
    box-shadow: 0 0 0 1.5px #3a3a44 inset, 0 50px 90px -50px rgba(0, 0, 0, 0.9);
}

.tablet img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 23px;
}

/* 자주 묻는 질문 */
.faq {
    display: grid;
    gap: 10px;
}

.faq details {
    background: var(--bg-elevated);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 0 20px;
}

.faq summary {
    cursor: pointer;
    list-style: none;
    font-weight: 650;
    padding: 18px 28px 18px 0;
    position: relative;
}

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

.faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 14px;
    font-size: 22px;
    font-weight: 400;
    color: var(--text-faint);
}

.faq details[open] summary::after {
    content: "−";
}

.faq details p {
    color: var(--text-soft);
    font-size: 15px;
    margin: -4px 0 18px;
}

.faq-more {
    margin-top: 20px;
    font-size: 14.5px;
    color: var(--text-soft);
}

/* 마지막 설치 권유 */
.closing {
    text-align: center;
    padding: 80px 0 72px;
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: var(--on-navy);
}

.closing::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -200px;
    width: 640px;
    height: 520px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(4, 117, 250, 0.26), transparent);
    pointer-events: none;
}

.closing .cta-note {
    color: var(--on-navy-faint);
}

.closing .wrap {
    position: relative;
    display: grid;
    justify-items: center;
}

.closing img[width="72"] {
    border-radius: 18px;
    margin-bottom: 20px;
    /* 아이콘 바탕이 이 구역과 같은 남색이라 테두리 한 줄로 모양을 세운다. */
    box-shadow: 0 0 0 1px var(--navy-line), 0 16px 36px -16px rgba(0, 0, 0, 0.7);
}

.closing h2 {
    color: var(--on-navy);
    font-size: clamp(24px, 3.6vw, 34px);
    margin-bottom: 24px;
}

/* 휴대폰에서 아래에 붙는 설치 버튼. 넓은 화면에는 없다.
   스크롤에 따라 나타나게 할 수 있는 브라우저에서는 히어로의 설치 버튼을 지난 뒤에만 보인다. */
.sticky-cta {
    display: none;
}

@media (max-width: 860px) {
    .landing {
        padding-bottom: 76px;
    }

    .sticky-cta {
        position: fixed;
        z-index: 30;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        border-radius: 18px;
        color: var(--text);
        background: color-mix(in srgb, var(--bg-elevated) 90%, transparent);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        border: 1px solid var(--line);
        box-shadow: 0 12px 30px -12px rgba(20, 20, 60, 0.45);
    }

    .sticky-cta:hover {
        text-decoration: none;
    }

    .sticky-cta img {
        border-radius: 8px;
    }

    .sticky-cta span {
        display: grid;
        line-height: 1.25;
        font-size: 15px;
    }

    .sticky-cta small {
        color: var(--text-soft);
        font-size: 12px;
    }

    .sticky-cta em {
        margin-left: auto;
        font-style: normal;
        font-weight: 700;
        font-size: 15px;
        color: #fff;
        padding: 8px 18px;
        border-radius: 999px;
        background: var(--blue-fill);
    }

    @supports (animation-timeline: scroll()) {
        .sticky-cta {
            animation: reveal linear both;
            animation-timeline: scroll(root);
            animation-range: 420px 520px;
        }

        @keyframes reveal {
            from { opacity: 0; transform: translateY(24px); visibility: hidden; }
            to { opacity: 1; transform: none; visibility: visible; }
        }
    }

    .nav-cta {
        display: none;
    }

    /* 메뉴가 여섯 개라 좁은 화면에서는 옆으로 밀린다. 잘린 글자가 고장으로 보이지 않게 오른쪽 끝을 흐린다. */
    .landing .site-nav {
        -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
        mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
        padding-right: 20px;
    }

    .hero-copy .btn-install {
        width: 100%;
        justify-content: center;
    }

    /* 한 줄에 하나씩 쌓는다. 화면은 늘 글 아래에 둔다 — 뒤집힌 칸도 제목이 먼저 읽혀야 한다. */
    .feature {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .feature-flip > .devices {
        order: 2;
    }

    /* 좁은 화면에서는 곁들인 두 번째 화면을 거둔다 — 두 장을 나란히 두면 둘 다 읽을 수 없게 작아진다. */
    .phone-aside {
        display: none;
    }

    .feature .phone {
        width: min(240px, 62vw);
        border-radius: 38px;
        padding: 8px;
    }

    .feature .phone img {
        border-radius: 31px;
    }

    .types {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sticky-cta {
        animation: none !important;
    }
}

/* ─── 지원 페이지 ───────────────────────────────────────── */

.page-head {
    padding: 56px 0 8px;
}

.page-head h1 {
    font-size: clamp(28px, 4.4vw, 40px);
}

.page-head p {
    color: var(--text-soft);
    max-width: 44em;
    margin: 0;
}

.contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 32px 0 8px;
}

.contact-card {
    background: var(--bg-elevated);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}

.contact-card h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 14.5px;
    color: var(--text-soft);
    margin: 0 0 12px;
}

.contact-card .mail {
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -0.01em;
    word-break: break-all;
}

.meta {
    font-size: 13px;
    color: var(--text-faint);
}

.callout {
    background: var(--accent-soft);
    border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
    border-radius: var(--radius);
    padding: 20px 22px;
    margin: 28px 0;
}

.callout h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.callout p:last-child,
.callout ol:last-child,
.callout ul:last-child {
    margin-bottom: 0;
}

ol.steps-list {
    padding-left: 1.25em;
    color: var(--text-soft);
    font-size: 15px;
}

ol.steps-list li {
    margin-bottom: 6px;
}

/* ─── 정책 문서 ─────────────────────────────────────────── */

.doc {
    padding: 8px 0 24px;
}

.doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 13px;
    color: var(--text-faint);
    border-bottom: 1px solid var(--line-soft);
    padding-bottom: 18px;
    margin-bottom: 26px;
}

.doc-body {
    font-size: 15.5px;
    line-height: 1.85;
    white-space: pre-wrap;
    word-break: keep-all;
    overflow-wrap: anywhere;
    color: var(--text);
}

/* 본문이 아직 없을 때 그 자리에 서는 것 — 불러오는 중이거나, 불러오지 못했거나.
   **.doc-meta가 display:flex라 UA의 [hidden]을 이긴다.** 그래서 못 박아 둔다. */
[hidden] {
    display: none !important;
}

.doc-status {
    font-size: 15px;
    color: var(--text-soft);
    background: var(--bg-elevated);
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    padding: 20px 18px;
    margin: 8px 0 26px;
}

.doc-status p {
    margin: 0 0 12px;
}

.doc-status p:last-child {
    margin-bottom: 0;
}

.doc-status-direct {
    font-size: 13px;
    color: var(--text-faint);
    word-break: break-all;
}

.doc-note {
    font-size: 13.5px;
    color: var(--text-soft);
    background: var(--bg-elevated);
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 26px;
}

.doc-note p {
    margin: 0;
}

/* ─── 푸터 ─────────────────────────────────────────────── */

.site-footer {
    border-top: 1px solid var(--line-soft);
    padding: 40px 0 56px;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-soft);
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 48px;
    justify-content: space-between;
}

.site-footer a {
    color: var(--text-soft);
}

.site-footer a:hover {
    color: var(--accent);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.footer-legal {
    margin-top: 26px;
    font-size: 12.5px;
    color: var(--text-faint);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
    z-index: 50;
    background: var(--bg-elevated);
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--accent);
}

/* ─── 좁은 화면 ─────────────────────────────────────────── */

@media (max-width: 860px) {
    .hero {
        padding-top: 48px;
    }

    .hero .wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact {
        grid-template-columns: 1fr;
    }

    section {
        padding: 48px 0;
    }

    .site-nav a {
        padding: 7px 8px;
    }
}

@media (max-width: 480px) {
    .site-header .wrap {
        gap: 8px;
        padding: 0 16px;
    }

    .brand span {
        display: none;
    }

    .wrap {
        padding: 0 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}
