:root {
    --font-sans:
        "IBM Plex Sans", -apple-system, BlinkMacSystemFont, system-ui,
        sans-serif;
    --font-mono:
        "IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Pro Mono", Menlo,
        Consolas, monospace;

    --bg-color: oklch(96.5% 0.006 240);
    --secondary-bg-color: oklch(100% 0 0);
    --text-color: oklch(18% 0.02 255);
    --hint-color: oklch(52% 0.018 245);
    --link-color: oklch(52% 0.18 245);
    --brand-color: oklch(52% 0.22 25);
    --accent-color: oklch(100% 0 0);
    --section-bg-color: oklch(100% 0 0);
    --section-separator-color: oklch(88% 0.01 245);
    --surface-1: oklch(96.5% 0.006 240);
    --surface-2: oklch(100% 0 0);
    --surface-3: oklch(98% 0.004 240);

    --shadow-sm:
        0 1px 3px oklch(18% 0.02 255 / 0.06),
        0 1px 2px oklch(18% 0.02 255 / 0.04);
    --shadow-md:
        0 4px 12px oklch(18% 0.02 255 / 0.08),
        0 2px 4px oklch(18% 0.02 255 / 0.04);
    --shadow-lg:
        0 8px 24px oklch(18% 0.02 255 / 0.1),
        0 4px 8px oklch(18% 0.02 255 / 0.06);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: oklch(13% 0.018 255);
        --secondary-bg-color: oklch(18% 0.018 255);
        --text-color: oklch(94% 0.008 240);
        --hint-color: oklch(60% 0.016 245);
        --link-color: oklch(68% 0.16 245);
        --brand-color: oklch(62% 0.2 25);
        --accent-color: oklch(100% 0 0);
        --section-bg-color: oklch(18% 0.018 255);
        --section-separator-color: oklch(26% 0.02 255);
        --surface-1: oklch(13% 0.018 255);
        --surface-2: oklch(18% 0.018 255);
        --surface-3: oklch(22% 0.018 255);

        --shadow-sm:
            0 1px 3px oklch(0% 0 0 / 0.3), 0 1px 2px oklch(0% 0 0 / 0.2);
        --shadow-md:
            0 4px 12px oklch(0% 0 0 / 0.4), 0 2px 4px oklch(0% 0 0 / 0.2);
        --shadow-lg:
            0 8px 24px oklch(0% 0 0 / 0.5), 0 4px 8px oklch(0% 0 0 / 0.3);
    }
}

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

html {
    font-size: 20px;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@media (max-width: 1024px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: var(--font-sans);
    min-height: 100vh;
    background-color: var(--bg-color);
    color: var(--text-color);
    letter-spacing: -0.011em;
    line-height: 1.5;
    font-weight: 450;
    font-feature-settings:
        "kern" 1,
        "liga" 1,
        "calt" 1,
        "ss01" 1;
}

@media (min-width: 768px) {
    body {
        padding: 3rem 2rem;
    }
}

.container {
    max-width: 48rem;
    margin: 0 auto;
    background-color: var(--section-bg-color);
    padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 3rem 2.5rem;
        box-shadow: var(--shadow-md);
        border-radius: 0.75rem;
    }
}

.title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .title {
        font-size: 1.875rem;
        margin-bottom: 2rem;
    }
}

.subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 0.5px solid var(--section-separator-color);
}

.subtitle:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

@media (min-width: 768px) {
    .subtitle {
        font-size: 1.25rem;
        margin-top: 2.5rem;
        margin-bottom: 1.25rem;
    }
}

.description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1rem;

    &:last-child {
        margin-bottom: 0;
    }
}

@media (min-width: 768px) {
    .description {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
}

.meta {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--hint-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .meta {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
}

.link {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.15s ease;
    word-break: break-word;
}

.link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.link:active {
    opacity: 0.6;
}

.list {
    list-style: none;
    margin: 1rem 0 1.5rem 0;
    padding: 0;
}

.list-item {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.list-item::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: var(--brand-color);
    font-weight: 600;
}

@media (min-width: 768px) {
    .list {
        margin: 1.25rem 0 1.75rem 0;
    }

    .list-item {
        margin-bottom: 0.875rem;
    }
}

.section {
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .section {
        margin-bottom: 2.5rem;
    }
}

.section:last-child {
    margin-bottom: 0;
}

.divider {
    height: 0.5px;
    background-color: var(--section-separator-color);
    border: none;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .divider {
        margin: 2.5rem 0;
    }
}

.highlight {
    background-color: var(--surface-3);
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    border-left: 2px solid var(--brand-color);
    margin: 1.5rem 0;
}

.contact-info {
    background-color: var(--surface-3);
    padding: 1.25rem 1.5rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-label {
    font-weight: 600;
    color: var(--text-color);
    min-width: 5rem;
}

.code {
    font-family: var(--font-mono);
    font-size: 0.85em;
    background-color: var(--surface-3);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    letter-spacing: -0.02em;
}

.emphasis {
    font-weight: 600;
    color: var(--text-color);
}

.date {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    color: var(--hint-color);
}

*::-webkit-scrollbar {
    width: 6px;
    height: 4px;
}

*::-webkit-scrollbar-thumb {
    background: var(--section-separator-color);
    border-radius: 0.5rem;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

::selection {
    background-color: var(--brand-color);
    color: var(--accent-color);
}
