@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
    --ink: #111512;
    --muted: #536158;
    --line: #d8e0db;
    --field: #f7faf7;
    --accent: #107c41;
    --accent-strong: #0b5f32;
    --paper: #ffffff;
    --shadow: 0 28px 80px rgba(17, 21, 18, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--field);
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    font-family:
        "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    letter-spacing: 0;
    background:
        linear-gradient(90deg, rgba(16, 124, 65, 0.07) 1px, transparent 1px),
        linear-gradient(0deg, rgba(16, 124, 65, 0.07) 1px, transparent 1px),
        var(--field);
    background-size: 44px 44px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
}

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

.page-shell {
    min-height: 100vh;
    padding: 28px;
    display: flex;
    align-items: center;
}

.intro {
    min-height: calc(100vh - 56px);
    display: flex;
    flex-direction: column;
    gap: 48px;
    justify-content: center;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.brand-row {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    padding: 10px 14px 10px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--muted);
    font-weight: 700;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.brand-text {
    font-size: 0.95rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
}

.copy {
    max-width: 610px;
}

h1 {
    margin: 0;
    font-size: clamp(3.25rem, 7vw, 6.8rem);
    line-height: 0.96;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.summary {
    max-width: 610px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.24rem);
    line-height: 1.72;
}

.dev-panel {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.dev-platforms {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dev-group {
    padding-top: 16px;
    border-top: 1px dashed rgba(16, 124, 65, 0.22);
}

.dev-group:first-child {
    padding-top: 0;
    border-top: 0;
}

.dev-group h2,
.dev-group h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 0.94rem;
    line-height: 1.35;
    letter-spacing: 0;
    font-weight: 700;
}

.dev-options {
    display: grid;
    gap: 10px;
}

.dev-options.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dev-card {
    display: flex;
    min-height: 64px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    text-decoration: none;
    transition:
        border-color 160ms ease,
        transform 160ms ease,
        background 160ms ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.dev-card:hover {
    border-color: rgba(16, 124, 65, 0.45);
    background: var(--paper);
    transform: translateY(-2px);
}

.dev-card span {
    font-weight: 700;
    font-size: 0.95rem;
}

.dev-card small {
    color: var(--muted);
    font-size: 0.82rem;
}

.dev-callout {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    column-gap: 9px;
    align-items: start;
    margin: 10px 0 0;
    padding: 10px 12px;
    border: 1px solid rgba(210, 148, 45, 0.28);
    border-radius: 8px;
    background: rgba(255, 248, 222, 0.76);
    color: #5e4d25;
    font-size: 0.82rem;
    line-height: 1.58;
}

.dev-callout-icon {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: #8a5d16;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    flex-shrink: 0;
}

.dev-callout-dot {
    fill: currentColor;
    stroke: none;
}

.dev-callout-copy {
    min-width: 0;
}

.project-links {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed rgba(16, 124, 65, 0.22);
}

.credit-note {
    max-width: 560px;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.utility-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 160ms ease,
        background 160ms ease,
        color 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:focus-visible {
    outline: 3px solid rgba(16, 124, 65, 0.35);
    outline-offset: 3px;
}

.btn-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.primary {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.primary:hover {
    background: #232a24;
    border-color: #232a24;
}

.utility {
    background: rgba(255, 255, 255, 0.78);
    color: var(--accent-strong);
}

.utility:hover {
    background: var(--paper);
    border-color: rgba(16, 124, 65, 0.45);
}

.screenshot-wrap {
    position: relative;
    margin: 0;
}

.screenshot-wrap::before {
    content: "";
    position: absolute;
    inset: -18px;
    z-index: -1;
    border: 1px solid rgba(16, 124, 65, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
}

.screenshot-wrap img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 320px;
    object-fit: cover;
    border: 1px solid rgba(17, 21, 18, 0.16);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

@media (max-width: 900px) {
    .page-shell {
        padding: 18px;
        display: block;
    }

    .intro {
        min-height: auto;
        padding: 22px 0 40px;
        gap: 34px;
    }

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

    h1 {
        max-width: 10ch;
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .screenshot-wrap img {
        min-height: 220px;
    }
}

@media (max-width: 520px) {
    .brand-row {
        width: 100%;
    }

    .utility-actions {
        flex-direction: column;
    }

    .dev-options,
    .dev-options.two-columns {
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }
}
