/*
Theme Name: Do The Work AI
Description: Byron Katie "The Work"를 AI와 함께 실천하는 테마
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
Text Domain: dotheworkai
*/

:root {
    --bg: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --border: #e5e7eb;
    --primary: #17525e;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        "Apple SD Gothic Neo",
        "Noto Sans KR",
        "Malgun Gothic",
        sans-serif;
    margin: 0;
}

.dotheworkai-header {
    border-bottom: 1px solid var(--border);
    padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dotheworkai-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 80rem;
    margin: 0 auto;
    flex-wrap: wrap;
}

.dotheworkai-header__title {
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dotheworkai-header__mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dotheworkai-header__mark svg {
    width: 18px;
    height: 18px;
}

.dotheworkai-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dotheworkai-nav__list {
    list-style: none;
    display: flex;
    gap: 10px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.dotheworkai-nav__list a {
    text-decoration: none;
    color: var(--text);
    padding: 8px 10px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
}

.dotheworkai-nav__list a:hover {
    background: #f3f4f6;
}

@media (max-width: 640px) {
    .dotheworkai-nav {
        width: 100%;
    }

    .dotheworkai-nav__list {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .dotheworkai-nav__list::-webkit-scrollbar {
        height: 6px;
    }

    .dotheworkai-nav__list::-webkit-scrollbar-thumb {
        background: color-mix(in srgb, var(--border) 70%, transparent);
        border-radius: 999px;
    }
}

.dotheworkai-main {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.front-page .dotheworkai-main {
    max-width: none;
    padding: 0;
}

.dotheworkai-hero__title {
    font-size: 40px;
    margin: 0 0 12px;
}

.dotheworkai-hero__lead {
    font-size: 16px;
    line-height: 1.6;
}

.dotheworkai-button {
    appearance: none;
    background: var(--primary);
    color: white;
    border: 0;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
        background 160ms ease,
        box-shadow 160ms ease,
        transform 120ms ease;
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.08);
}

.dotheworkai-button:hover {
    background: #13444e;
    box-shadow: 0 10px 24px rgba(23, 82, 94, 0.18);
}

.dotheworkai-button:active {
    transform: scale(0.98);
}
