@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --presentation-text: #132849;
    --presentation-muted: #546d8d;
    --presentation-surface: rgba(255, 255, 255, 0.84);
    --presentation-border: rgba(21, 53, 98, 0.14);
    --presentation-shadow: 0 22px 42px rgba(11, 29, 54, 0.14);
    --presentation-primary: #b92d35;
    --presentation-primary-dark: #8c2028;
    --presentation-link: #245896;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body.presentation-public-page {
    font-family: 'Manrope', system-ui, sans-serif;
    color: var(--presentation-text);
}

.presentation-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(1240px, calc(100% - 24px));
    margin: 14px auto 0;
    padding: 12px 14px;
    border: 1px solid var(--presentation-border);
    border-radius: 18px;
    background: var(--presentation-surface);
    backdrop-filter: blur(12px);
    box-shadow: var(--presentation-shadow);
}

.presentation-topbar__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.presentation-topbar__brand img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.presentation-topbar__brand strong,
.presentation-topbar__brand span {
    display: block;
}

.presentation-topbar__brand span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--presentation-primary);
    font-weight: 800;
}

.presentation-topbar__brand strong {
    font-size: 0.92rem;
}

.presentation-topbar__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.presentation-topbar__nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(26, 68, 124, 0.14);
    background: rgba(239, 245, 255, 0.88);
    color: var(--presentation-link);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 800;
}

.presentation-topbar__nav a[aria-current="page"],
.presentation-topbar__nav a.presentation-topbar__cta {
    color: #fff;
    border-color: rgba(124, 26, 33, 0.22);
    background: linear-gradient(135deg, var(--presentation-primary), var(--presentation-primary-dark));
}

.presentation-topbar__nav a:hover,
.presentation-topbar__nav a:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(25, 56, 102, 0.12);
    outline: none;
}

.presentation-page-shell {
    width: min(1180px, calc(100% - 28px));
    margin: 18px auto 44px;
}

.presentation-footer {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto 34px;
    padding: 18px 20px;
    border: 1px solid var(--presentation-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 16px 30px rgba(10, 25, 45, 0.08);
    color: var(--presentation-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.presentation-footer a {
    color: var(--presentation-link);
    font-weight: 700;
    text-decoration: none;
}

.presentation-callout {
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(151, 42, 48, 0.18);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 248, 248, 0.92), rgba(244, 249, 255, 0.96));
    box-shadow: 0 16px 28px rgba(12, 26, 47, 0.08);
}

.presentation-callout h2,
.presentation-callout p {
    margin: 0;
}

.presentation-callout p {
    margin-top: 8px;
    color: var(--presentation-muted);
    line-height: 1.6;
}

.presentation-callout__actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.presentation-callout__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
}

.presentation-callout__actions a:first-child {
    color: #fff;
    background: linear-gradient(135deg, var(--presentation-primary), var(--presentation-primary-dark));
}

.presentation-callout__actions a:last-child {
    color: var(--presentation-link);
    border: 1px solid rgba(33, 82, 146, 0.18);
    background: rgba(241, 246, 255, 0.92);
}

.presentation-status {
    margin: 16px 0 0;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.presentation-status.is-success {
    color: #1c5a2f;
    background: #ecfbf0;
    border: 1px solid #b9e2c3;
}

.presentation-status.is-info {
    color: #245896;
    background: #eef5ff;
    border: 1px solid #c9dcf8;
}

.presentation-status.is-error {
    color: #8a2730;
    background: #fff1f2;
    border: 1px solid #f0c7cc;
}

@media (max-width: 860px) {
    .presentation-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .presentation-topbar__nav {
        justify-content: flex-start;
    }

    .presentation-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
