/* LTDefend common design system - Task 124 / 4.1.13 */
:root {
    --lt-color-primary: #123b63;
    --lt-color-primary-dark: #0b2946;
    --lt-color-accent: #2563eb;
    --lt-color-surface: #ffffff;
    --lt-color-background: #f4f7fb;
    --lt-color-text: #172033;
    --lt-color-muted: #667085;
    --lt-color-border: #dfe5ec;
    --lt-color-success: #198754;
    --lt-color-danger: #c0392b;
    --lt-radius-sm: 8px;
    --lt-radius-md: 12px;
    --lt-radius-lg: 18px;
    --lt-shadow-sm: 0 2px 10px rgba(16, 24, 40, .06);
    --lt-shadow-md: 0 8px 30px rgba(16, 24, 40, .09);
    --lt-shell-width: 1400px;
    --lt-focus-ring: 0 0 0 3px rgba(37, 99, 235, .18);
}

.lt-inline-form { display: inline; margin: 0; }
.lt-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--lt-color-border);
    border-radius: var(--lt-radius-sm);
    background: var(--lt-color-surface);
    color: var(--lt-color-primary-dark);
    cursor: pointer;
}
.lt-nav-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: currentColor; }
.lt-nav-toggle:focus-visible,
.site-nav a:focus-visible,
.lt-public-nav a:focus-visible { outline: none; box-shadow: var(--lt-focus-ring); }
.site-nav a[aria-current="page"],
.lt-public-nav a[aria-current="page"] { color: var(--lt-color-primary); background: #eef4fa; }

.lt-public-header { width: 100%; background: var(--lt-color-surface); border-bottom: 1px solid #e4e9f0; box-shadow: var(--lt-shadow-sm); }
.lt-public-header__inner { width: min(var(--lt-shell-width), calc(100% - 40px)); min-height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.lt-public-brand { display: flex; align-items: center; gap: 12px; color: #0b1220; text-decoration: none; }
.lt-public-brand__mark { width: 48px; height: 48px; border-radius: 10px; background: #173f6b; color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 22px; }
.lt-public-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.lt-public-brand__title { font-size: 16px; font-weight: 850; }
.lt-public-brand__sub { margin-top: 4px; color: #6b778c; font-size: 11px; font-weight: 500; }
.lt-public-nav { display: flex; align-items: center; justify-content: flex-end; gap: 14px; flex-wrap: nowrap; }
.lt-public-nav a { text-decoration: none; color: #2e3a50; font-size: 13px; font-weight: 750; white-space: nowrap; border-radius: var(--lt-radius-sm); }
.lt-public-nav a:hover { color: var(--lt-color-accent); }
.lt-public-nav .lt-public-demo { color: var(--lt-color-accent); }
.lt-public-nav .lt-public-start { background: #14213d; color: #fff; padding: 11px 18px; }
.lt-public-nav .lt-public-start:hover { color: #fff; background: #0b1220; }
.lt-public-language { display: flex; align-items: center; position: relative; }
.lt-public-language .lt-flag-language-combo { margin-left: 0; }

.lt-public-footer { width: 100%; margin-top: 48px; background: #0f1b2d; color: #fff; border-top: 1px solid #24344d; }
.lt-public-footer__inner { width: min(var(--lt-shell-width), calc(100% - 40px)); margin: 0 auto; padding: 28px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.lt-public-footer__title { font-size: 16px; font-weight: 850; line-height: 1.3; color: #fff; }
.lt-public-footer__copy { margin-top: 7px; font-size: 13px; line-height: 1.55; color: #cbd5e1; }
.lt-public-footer__links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.lt-public-footer__links a { color: #dbeafe; font-size: 12px; font-weight: 700; text-decoration: none; }
.lt-public-footer__links a:hover { color: #fff; text-decoration: underline; }
.lt-public-footer__legal { max-width: 720px; font-size: 12px; line-height: 1.65; text-align: right; color: #cbd5e1; }

@media (max-width: 900px) {
    .lt-nav-toggle { display: inline-block; margin-left: auto; }
    [data-lt-shell] { position: relative; }
    .site-nav[data-lt-nav], .lt-public-nav[data-lt-nav] { display: none; order: 10; width: 100%; }
    .site-nav[data-lt-nav].is-open, .lt-public-nav[data-lt-nav].is-open { display: flex; }
    .lt-public-header__inner { padding: 12px 0; flex-wrap: wrap; }
    .lt-public-nav { align-items: stretch; flex-direction: column; gap: 4px; padding: 8px 0 4px; }
    .lt-public-nav a { padding: 10px 12px; }
    .lt-public-language { padding: 5px 0; }
}

@media (max-width: 760px) {
    .lt-public-footer__inner { flex-direction: column; gap: 18px; padding: 24px 0; }
    .lt-public-footer__legal { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
