:root {
    color-scheme: light;
    font-family: Arial, sans-serif;
    background: #f5f5f7;
    color: #1c1c1e;
}

* { box-sizing: border-box; }
body { margin: 0; background: #f5f5f7; }
a { color: inherit; }
.site-header { background: linear-gradient(105deg, #89216b, #dc4055); color: #fff; }
.site-header__inner { min-height: 76px; width: min(1180px, calc(100% - 32px)); margin: 0 auto; display: flex; align-items: center; gap: 36px; }
.site-brand { font-size: 1.8rem; font-weight: 800; text-decoration: none; letter-spacing: .03em; }
.site-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-nav a { text-decoration: none; font-size: .9rem; opacity: .92; }
.site-nav a:hover, .site-nav a:focus-visible { text-decoration: underline; opacity: 1; }
.page-shell { width: min(960px, calc(100% - 32px)); min-height: calc(100vh - 76px); margin: 0 auto; padding: 72px 0; }
.page-shell--home { min-height: calc(100vh - 76px); }
.page-card { min-height: 260px; padding: 44px; background: #fff; border-radius: 16px; box-shadow: 0 12px 30px rgba(20, 18, 24, .08); }
.page-card h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.6rem); }
.page-content { margin-top: 28px; line-height: 1.65; }
.page-content--rich > :first-child { margin-top: 0; }
.page-content--rich > :last-child { margin-bottom: 0; }
.page-content--rich h2 { margin: 2.8rem 0 1rem; color: #352334; font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.25; text-align: center; }
.page-content--rich h3 { margin: 2rem 0 .75rem; color: #6d1855; font-size: 1.1rem; line-height: 1.35; text-align: center; }
.page-content--rich p { margin: 0 0 1.2rem; color: #514a51; }
.page-content__image { margin: 0 0 2rem; overflow: hidden; border-radius: 14px; background: #f6f0f4; }
.page-content__image img { display: block; width: 100%; height: auto; }
.inline-custom-text-block img { display: block; max-width: 100%; height: auto; margin: 1rem 0; }
.page-content--rich ul { margin: 1.4rem 0 2.3rem; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.page-content--rich li { position: relative; min-height: 100%; padding: 17px 18px 17px 46px; border: 1px solid #eadde6; border-radius: 12px; background: linear-gradient(135deg, #fff, #fbf5f8); color: #4d444c; }
.page-content--rich li::before { position: absolute; left: 18px; top: 17px; width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, #89216b, #dc4055); box-shadow: 0 2px 5px rgba(137, 33, 107, .25); content: ''; }
.page-card--about { position: relative; overflow: hidden; border: 1px solid rgba(137, 33, 107, .13); background: linear-gradient(180deg, #fff 0%, #fff 78%, #fdf8fb 100%); }
.page-card--about::before { position: absolute; z-index: 0; top: -160px; right: -180px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(220, 64, 85, .16), rgba(137, 33, 107, 0) 68%); content: ''; pointer-events: none; }
.page-card--about > * { position: relative; z-index: 1; }
.page-card--about h1 { max-width: 16ch; margin-inline: auto; color: #70205c; text-align: center; text-wrap: balance; }
.page-card--about .page-content { max-width: 780px; margin: 34px auto 0; font-size: 1.03rem; }
.page-card--about .page-content > p:first-child { margin-bottom: 2rem; color: #352334; font-size: clamp(1.08rem, 1.7vw, 1.25rem); line-height: 1.7; text-align: center; }
.page-card--legal { position: relative; overflow: hidden; border: 1px solid #e4dce5; background: linear-gradient(150deg, #fff 0%, #fff 72%, #f8f5fa 100%); }
.page-card--legal::before { position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: linear-gradient(90deg, #89216b, #dc4055); content: ''; }
.page-card--legal h1 { margin-top: .25rem; color: #3a2838; text-align: center; text-wrap: balance; }
.page-card--legal .page-content { max-width: 800px; margin: 34px auto 0; }
.page-card--legal .page-content > p:first-child { margin-bottom: 2.2rem; padding: 18px 22px; border: 1px solid #eadde6; border-radius: 12px; background: #fbf7fa; color: #493d48; font-size: 1.06rem; line-height: 1.7; text-align: center; }
.page-card--legal .page-content h2 { margin-top: 3rem; padding-bottom: .7rem; border-bottom: 1px solid #eadde6; }
.page-card--legal .page-content h3 { margin-top: 1.7rem; color: #5f3156; text-align: left; }
.page-card--legal .page-content p { color: #514a51; }
.page-card--legal .page-content ul { margin-bottom: 2rem; }
.page-card--not-found { display: grid; align-content: center; min-height: 420px; text-align: center; background: linear-gradient(135deg, #fff, #fcecf4); }
.page-card__eyebrow { margin: 0 0 12px; color: #89216b; font-size: .85rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.page-card__message { max-width: 460px; margin: 18px auto 0; color: #62636a; line-height: 1.6; }
.page-card__action { width: fit-content; margin: 28px auto 0; padding: 11px 18px; border-radius: 8px; background: #89216b; color: #fff; font-weight: 700; text-decoration: none; }
.page-card__action:hover, .page-card__action:focus-visible { background: #6d1855; }
.admin-body { min-height: 100vh; padding: 28px; background: #f3f4f6; }
.auth-card, .admin-shell { width: min(920px, 100%); margin: 0 auto; }
.auth-card { max-width: 420px; margin-top: 10vh; padding: 32px; background: #fff; border-radius: 16px; box-shadow: 0 12px 30px rgba(20, 18, 24, .08); }
.auth-card h1 { margin-top: 0; }
label { display: grid; gap: 7px; margin: 16px 0; font-weight: 700; }
input, textarea, button { font: inherit; }
input, textarea { width: 100%; padding: 10px 12px; border: 1px solid #c9cbd1; border-radius: 8px; }
textarea { resize: vertical; }
button { padding: 10px 16px; border: 0; border-radius: 8px; background: #89216b; color: #fff; cursor: pointer; font-weight: 700; }
button:hover, button:focus-visible { background: #6d1855; }
.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-nav { display: flex; align-items: center; gap: 14px; }
.admin-nav a { font-weight: 700; text-decoration: none; }
.admin-nav a:hover, .admin-nav a:focus-visible { text-decoration: underline; }
.admin-nav form { margin: 0; }
.form-hint { color: #62636a; line-height: 1.5; }
.breadcrumbs { margin: 0 0 18px; color: #705a69; font-size: .9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 7px; }
.breadcrumbs li:not(:last-child)::after { color: #ad8c9e; content: '/'; }
.breadcrumbs a { color: #85205f; text-decoration: none; }
.breadcrumbs a:hover, .breadcrumbs a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs [aria-current="page"] { color: #51404d; font-weight: 700; }
.page-form { margin: 22px 0; padding: 24px; background: #fff; border-radius: 12px; box-shadow: 0 4px 18px rgba(20, 18, 24, .06); }
.page-form h2 { margin-top: 0; font-size: 1rem; color: #6b7280; }
.form-error { color: #b42318; }
.form-success { color: #087443; font-weight: 700; }
@media (max-width: 720px) { .site-header__inner { padding: 16px 0; align-items: flex-start; flex-direction: column; gap: 12px; } .page-shell { padding: 32px 0; } .page-card { padding: 28px; } .page-content--rich ul { grid-template-columns: 1fr; } .page-card--about .page-content, .page-card--legal .page-content { margin-top: 26px; } .page-card--legal .page-content > p:first-child { padding: 16px; } .admin-body { padding: 16px; } }
