:root {
    --bb-green: #19352b;
    --bb-cream: #f5f0e5;
    --bb-white: #fffdf7;
    --bb-black: #171b18;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--bb-green);
    color: var(--bb-cream);
    font-family: Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

.social-page {
    width: 100%;
    max-width: 680px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 48px 20px 32px;
    display: flex;
    flex-direction: column;
}


/* Profile */

.profile {
    text-align: center;
}

.profile-logo {
    width: 104px;
    height: 104px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-logo img {
    display: block;
    width: 104px;
    height: 104px;
    max-width: 104px;
    max-height: 104px;
    object-fit: contain;
}

.profile h1 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}

.handle {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0.72;
}

.bio {
    max-width: 440px;
    margin: 18px auto 0;
    font-size: 17px;
    line-height: 1.5;
}


/* Links */

.social-links {
    width: 100%;
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    width: 100%;
    min-height: 60px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--bb-cream);
    border-radius: 999px;
    background: var(--bb-cream);
    color: var(--bb-green);
    font-size: 16px;
    font-weight: 600;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.social-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.social-link:focus-visible {
    outline: 3px solid var(--bb-cream);
    outline-offset: 3px;
}


/* Website coming soon */

.website-link {
    background: rgba(245, 240, 229, 0.55);
    border-color: rgba(245, 240, 229, 0.55);
    color: rgba(25, 53, 43, 0.62);
}

.website-link:hover {
    background: rgba(245, 240, 229, 0.65);
}


/* Follow message */

.follow-message {
    margin: 8px 12px 4px;
    text-align: center;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
    color: var(--bb-cream);
}


/* Icon and text */

.link-left {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.link-left img {
    display: block;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    max-width: 24px;
    max-height: 24px;
    flex: 0 0 24px;
    object-fit: contain;
}

.link-left span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.arrow {
    flex: 0 0 auto;
    font-size: 20px;
    line-height: 1;
    transition: transform 160ms ease;
}

.social-link:hover .arrow {
    transform: translateX(3px);
}


/* Footer */

.social-footer {
    margin-top: auto;
    padding-top: 48px;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    opacity: 0.58;
}

.social-footer p {
    margin: 0;
}

.copyright {
    font-weight: 600;
}

.company-details {
    margin-top: 12px;
}

.company-details p {
    margin: 2px 0;
}


/* Mobile */

@media (max-width: 480px) {
    .social-page {
        padding: 36px 16px 24px;
    }

    .profile-logo {
        width: 88px;
        height: 88px;
        margin-bottom: 18px;
    }

    .profile-logo img {
        width: 88px;
        height: 88px;
        max-width: 88px;
        max-height: 88px;
    }

    .profile h1 {
        font-size: 26px;
    }

    .bio {
        font-size: 16px;
    }

    .social-links {
        margin-top: 30px;
    }

    .social-link {
        min-height: 56px;
        padding: 14px 18px;
    }

    .follow-message {
        margin-top: 6px;
        margin-bottom: 2px;
        font-size: 14px;
    }

    .link-left img {
        width: 22px;
        height: 22px;
        min-width: 22px;
        min-height: 22px;
        max-width: 22px;
        max-height: 22px;
        flex-basis: 22px;
    }

    .social-footer {
        padding-top: 40px;
    }
}