/* Roboto Variable – latin-ext */
@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 100%;
    font-display: swap;
    src: url("assets/fonts/roboto-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Roboto Variable – latin */
@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 100%;
    font-display: swap;
    src: url("assets/fonts/roboto-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Roboto Slab – latin-ext */
@font-face {
    font-family: "Roboto Slab";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("assets/fonts/roboto-slab-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Roboto Slab – latin */
@font-face {
    font-family: "Roboto Slab";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("assets/fonts/roboto-slab-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

body {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    background-color: #70B95C;
    background-image: linear-gradient(165deg, #70B95C 0%, #434241 84%);
    background-attachment: fixed;
    color: #70B95C;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 350px;
    padding: 48px 24px 32px;
    text-align: center;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 18px;
}

h1 {
    font-family: "Roboto", sans-serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: #70B95C;
    line-height: 1.2;
    margin-bottom: 6px;
}

.subtitle {
    font-family: "Roboto Slab", serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #70B95C;
    margin-bottom: 36px;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 22px;
    background: #70B95C;
    color: #434241;
    fill: #434241;
    border-radius: 15px;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1;
    transition: background-color 0.15s ease;
}

.link-button:hover,
.link-button:focus {
    background: #96FF79;
}

.link-icon {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.link-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.legal {
    font-size: 0.95rem;
    color: #ccffcc;
}

.legal a {
    color: #ccffcc;
    text-decoration: none;
}

.legal a:hover {
    text-decoration: underline;
}

.legal-page {
    max-width: 720px;
    text-align: left;
    color: #E1FFDE;
}

.legal-page h1 {
    margin-bottom: 28px;
}

.legal-page h2 {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    color: #70B95C;
    font-size: 1.5rem;
    line-height: 1.3;
    margin-top: 36px;
    margin-bottom: 14px;
    scroll-margin-top: 24px;
}

.legal-page h3 {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    color: #E1FFDE;
    font-size: 1.15rem;
    line-height: 1.3;
    margin-top: 24px;
    margin-bottom: 10px;
    scroll-margin-top: 24px;
}

.legal-page p {
    color: #E1FFDE;
    margin-bottom: 14px;
    line-height: 1.65;
}

.legal-page ul {
    padding-left: 22px;
    margin-bottom: 18px;
}

.legal-page li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-page a {
    color: #96FF79;
    text-decoration: underline;
    word-break: break-word;
}

.legal-page a:hover {
    color: #ccffcc;
}

.legal-page strong {
    color: #ffffff;
    font-weight: 600;
}

.legal-page .generator-credit {
    margin-top: 32px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.back-link {
    display: inline-block;
    margin-top: 24px;
    color: #ccffcc;
    text-decoration: none;
    font-size: 0.95rem;
}

.back-link:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .container {
        padding: 32px 16px 40px;
    }

    .avatar {
        width: 120px;
        height: 120px;
    }
}
