:root {
    --page-max: 1920px;
    --topbar-h: 80px;
    --text: #33302c;
    --muted: #63605b;
    --accent: #f26f16;
    --border: rgba(77, 55, 30, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-width: 320px;
    background: #ffffff;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body {
    overflow-x: hidden;
}

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

img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.topbar {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    height: var(--topbar-h);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(255, 250, 244, 0.92);
    border-bottom: 1px solid rgba(199, 176, 138, 0.16);
}

.topbar__inner {
    width: 100%;
    height: 100%;
    max-width: 1660px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 36px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(18px, 2vw, 32px);
}

.topbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    justify-self: start;
}

.topbar__logo {
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    object-fit: contain;
}

.topbar__brand-name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
    color: #c79943;
    white-space: nowrap;
}

.topbar__nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(18px, 2.6vw, 34px);
    min-width: 0;
    margin-left: clamp(4px, 2vw, 20px);
}

.topbar__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 2px;
    color: #645d56;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.topbar__link:hover,
.topbar__link:focus-visible,
.topbar__link[aria-current="page"] {
    color: var(--accent);
}

.topbar__link[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: var(--accent);
}

.topbar__login {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 126px;
    height: 40px;
    padding: 0 20px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff8a2b 0%, #f26f16 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(242, 111, 22, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.topbar__login:hover,
.topbar__login:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(242, 111, 22, 0.26);
    filter: brightness(1.02);
}

.topbar__login:focus-visible {
    outline: 2px solid rgba(242, 111, 22, 0.28);
    outline-offset: 3px;
}

.page {
    width: 100%;
    background: #fff;
}

.page__image {
    display: block;
    width: 100%;
    height: auto;
}

.page__image--lead {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 1280px) {
    .topbar__inner {
        gap: 24px;
    }

    .topbar__logo {
        width: 48px;
        height: 48px;
    }

    .topbar__brand-name {
        font-size: 20px;
    }

    .topbar__nav {
        gap: 20px;
        margin-left: 10px;
    }

    .topbar__link {
        font-size: 16px;
        min-height: 48px;
    }

    .topbar__login {
        min-width: 112px;
        height: 38px;
        padding: 0 18px;
        font-size: 15px;
    }
}
