/* === GENERAL RESET & LAYOUT === */
html,
body {
    margin: 0;
    padding: 0;
    font-family: "Inter", system-ui, sans-serif;
    background: white;
    color: #000;
    height: auto;
    min-height: 100%;
    user-select: none;
    cursor: default;
}

body {
    display: block;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    background: white;
}

.logo {
    height: 32px;
    margin-left: 4px;
}

nav {
    display: flex;
}

nav a {
    color: #535353;
    text-decoration: none;
    font-size: 14px;
    margin-left: 1rem;
    transition:
        color 0.2s ease,
        opacity 0.2s ease;
    cursor: pointer;
}

nav a:last-child {
    margin-right: 12px;
}

main {
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    margin-top: 64px;
    padding-bottom: 2rem;
}

.content a {
    color: #000;
    text-decoration: underline;
}

/* === IMAGE === */
.image-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-wrapper img {
    width: 335px;
    height: 335px;
    border-radius: 12px;
    object-fit: cover;
}

.button-wrapper {
    margin-top: 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.app-button {
    background: black;
    color: white;
    padding: 0.8rem 1.5rem 0.8rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s ease;
    cursor: pointer;
}

/* === FEATURES === */
.features {
    max-width: 440px;
    min-width: 440px;
    text-align: left;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: -44px;
}

.features h1 {
    font-size: 20px;
    margin-bottom: 1rem;
    font-weight: 400;
    margin-left: 16px;
    letter-spacing: -0.05em;
}

@media (max-width: 767px) {
    .features {
        min-width: min(335px);
        margin-left: -16px;
    }
}

.feature {
    padding: 1rem;
    border-radius: 14px;
    transition: background 0.3s;
    max-height: 74px;
    overflow: hidden;
    cursor: pointer;
}

.feature strong {
    font-weight: 400;
    font-size: 15px;
    display: block;
    margin-bottom: 6px;
}

.feature p {
    color: #535353;
    font-size: 15px;
    margin: 0;
}

.feature.active {
    background: #f2f2f2;
}

/* === DESKTOP === */
@media (min-width: 768px) {
    html,
    body {
        height: 100vh;
    }

    body {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    main {
        padding: 0;
        height: auto;
        display: flex;
        align-items: center;
    }

    .content {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 4rem;
        max-width: 1000px;
        margin-top: 0;
    }

    .features {
        padding-left: 0;
        transform: translateY(-16px);
    }

    .features h1 {
        margin-left: 16px;
    }

    .image-preview {
        align-items: flex-end;
    }

    .image-wrapper img {
        width: 400px;
        height: 400px;
    }

    .button-wrapper {
        justify-content: flex-end;
    }
}

/* === HOVER EFFECTS === */
.app-button:hover {
    background: #333;
}

nav a:hover {
    color: black;
    opacity: 1;
}

.app-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.app-icon {
    width: 16px;
    height: 15px;
    display: inline-block;
}

/* === PRIVACY PAGE === */
.privacy-content {
    line-height: 1.5em;
    flex-direction: column !important;
    align-items: flex-start;
    max-width: 600px;
    margin-top: 120px;
    padding: 2rem;
    gap: 1.5rem;
    margin-bottom: 64px;
}
.privacy-content h1,
.privacy-content h2 {
    margin: 0;
    margin-top: 24px;
    line-height: 1em !important;
    font-weight: 500;
}
.privacy-content ul {
    padding-left: 1.2rem;
    margin: 0;
}
.privacy-content p {
    margin: 0;
    line-height: 1.7;
}

ul li {
    margin-bottom: 0.5rem;
}

ul {
    padding-left: 1.5rem;
}

body.page-privacy {
    display: block;
}

.privacy-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.privacy-intro h1 {
    font-size: 40pt;
    letter-spacing: -0.05em;
    margin-bottom: 3rem;
}

.privacy-intro p {
    margin: 0 auto;
    line-height: 1.7;
}

.privacy-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.privacy-image-wrapper img {
    width: 130%;
    max-width: 900px;
    height: auto;
}
