:root {
    --pink: #d94f83;
    --dark-pink: #a92f61;
    --light-pink: #fff0f5;
    --white: #ffffff;
    --text: #333333;
    --muted: #666666;
    --border-pink: #f5d5e2;
    --shadow: 0 8px 25px rgba(100, 30, 60, 0.07);
    --radius: 18px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.8;
    overflow-wrap: break-word;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3 {
    line-height: 1.4;
}

p {
    margin-bottom: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(245, 213, 226, 0.8);
    box-shadow: 0 3px 18px rgba(100, 30, 60, 0.05);
    backdrop-filter: blur(12px);
}

.navbar {
    width: min(1200px, 100%);
    min-height: 76px;
    margin: auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo,
.footer-logo {
    color: var(--dark-pink);
    font-size: 23px;
    font-weight: 800;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 22px;
    list-style: none;
}

.nav-links a {
    display: inline-block;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--dark-pink);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 22px;
    border: 1px solid var(--pink);
    border-radius: 30px;
    font-weight: 700;
    text-align: center;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 18px rgba(169, 47, 97, 0.15);
}

.button-primary {
    background: var(--pink);
    color: var(--white);
}

.button-primary:hover {
    background: var(--dark-pink);
}

.button-secondary {
    background: var(--white);
    color: var(--dark-pink);
}

.site-footer {
    padding: 38px 20px;
    text-align: center;
    background: #fff0f5;
    border-top: 1px solid var(--border-pink);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 10px;
}

.site-footer p {
    color: var(--muted);
    font-size: 14px;
}

.site-footer .footer-credit {
    font-size: 13px;
}

.site-footer .footer-copy {
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--border-pink);
    font-size: 12px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 4px;
}

@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        gap: 8px 16px;
    }

    .nav-links a {
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 12px 14px;
    }

    .logo {
        font-size: 22px;
    }

    .nav-links {
        gap: 8px 13px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .button {
        width: 100%;
        max-width: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}