:root {
    --pepgo-green: #007000;
    --text-main: #173118;
    --text-muted: #2a4a2f;
    --bg: #f6faf6;
    --card-bg: #ffffff;
    --border: #d5e3d4;
    --focus: #0a7d2f;
}

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

html,
body {
    margin: 0;
    padding: 0;
}

body.pepgo-body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-main);
    background-color: #b3875f;
    background-image:
        linear-gradient(0deg, rgba(24, 15, 8, 0.18), rgba(24, 15, 8, 0.18)),
        url("../img/wood_tabletop_texture.jpg");
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position: center, center;
    min-height: 100vh;
}

.pepgo-app {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.25rem;
}

.business-card {
    width: 100%;
    max-width: 42rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem 1.1rem;
    box-shadow: 0 10px 30px rgba(16, 38, 18, 0.07);
}

.logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.logo {
    width: min(100%, 290px);
    height: auto;
    display: block;
}

.company-name {
    margin: 0 0 0.8rem;
    text-align: center;
    font-size: 1.6rem;
    line-height: 1.2;
}

.company-address {
    margin: 0 0 1.2rem;
    display: grid;
    justify-items: center;
    gap: 0.2rem;
    font-style: normal;
    color: var(--text-muted);
}

.documents p {
    margin: 0.55rem 0;
    text-align: center;
}

.documents a {
    color: var(--pepgo-green);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    overflow-wrap: anywhere;
}

.documents a:hover {
    text-decoration: none;
}

.documents a:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
    border-radius: 3px;
}

@media (min-width: 768px) {
    .pepgo-app {
        padding: 2rem;
    }

    .business-card {
        border-radius: 18px;
        padding: 2rem 2.2rem;
    }

    .logo {
        width: min(100%, 420px);
    }

    .company-name {
        font-size: 2rem;
    }

    .company-address {
        font-size: 1.07rem;
        gap: 0.3rem;
    }
}

@media (min-width: 1100px) {
    .business-card {
        max-width: 50rem;
        padding: 2.5rem 3rem;
    }

    .logo {
        width: min(100%, 470px);
    }
}
