/* ==========================================================================
   Site-chrome header/footer — used on pages that sit "between" the public
   marketing site (syntras.biz/index.html etc.) and the app (login, register),
   so the hand-off doesn't feel like a jump to an unrelated site.

   Scoped entirely under .site-chrome-header / .site-chrome-footer so it
   cannot collide with the app's own dashboard header/sidebar CSS, and reuses
   the app's existing CSS variables (--signal, --line, --text, --muted, ...)
   so it automatically matches the app's light/dark theme toggle.
   ========================================================================== */

/* ---- Header ---- */
.site-chrome-header {
    background: var(--surface); border-bottom: 1px solid var(--line);
}
.site-chrome-header .schdr-row {
    max-width: 1140px; margin: 0 auto; padding: 16px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.site-chrome-header .schdr-logo {
    display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none; flex-shrink: 0;
}
.site-chrome-header .schdr-logo:hover { text-decoration: none; color: var(--text); }
.site-chrome-header .schdr-logo-accent { color: var(--signal); }
.site-chrome-header .schdr-badge {
    width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
    object-fit: contain; display: block;
}
.site-chrome-header .schdr-links { display: flex; gap: 26px; }
.site-chrome-header .schdr-links a {
    color: var(--text); font-weight: 500; font-size: .92rem; text-decoration: none; position: relative; padding: 4px 0;
}
.site-chrome-header .schdr-links a:hover, .site-chrome-header .schdr-links a.active { color: var(--signal); }
.site-chrome-header .schdr-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-chrome-header .schdr-actions .btn { padding: 9px 18px; font-size: .86rem; border-radius: 999px; }
.site-chrome-header .schdr-actions .btn.secondary { border-radius: 999px; }
@media (max-width: 760px) {
    .site-chrome-header .schdr-links { display: none; }
}

/* ---- Footer ---- */
.site-chrome-footer { background: #0B0D12; }
.site-chrome-footer .scftr-wrap { max-width: 1140px; margin: 0 auto; padding: 44px 24px 36px; }
.site-chrome-footer .scftr-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; }
.site-chrome-footer .scftr-logo {
    display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 1.15rem; color: #fff; margin-bottom: 12px; text-decoration: none;
}
.site-chrome-footer .scftr-tag { color: #9AA1AE; font-size: .86rem; max-width: 260px; margin: 0; }
.site-chrome-footer h4 {
    font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: #8B93A3; margin: 0 0 12px;
    font-family: 'Space Grotesk', sans-serif; font-weight: 600;
}
.site-chrome-footer a { display: block; color: #DEE1E7; font-size: .88rem; margin-bottom: 9px; text-decoration: none; }
.site-chrome-footer a:hover { color: #fff; }
.scftr-bottom-strip { background: #fff; }
.scftr-bottom-strip .scftr-bottom {
    max-width: 1140px; margin: 0 auto; padding: 16px 24px; display: flex; justify-content: space-between;
    flex-wrap: wrap; gap: 8px; font-size: .82rem; color: var(--muted);
}
@media (max-width: 760px) {
    .site-chrome-footer .scftr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .site-chrome-footer .scftr-grid { grid-template-columns: 1fr; }
}

/* ---- Centered auth pages (register, forgot/reset password) ---- */
.auth-center { min-height: calc(100vh - 140px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-center .auth-shell { margin: 0; width: 100%; max-width: 400px; padding: 0; }

/* ---- Login page: blue "who it's for" panel on the left, form on the right ---- */
.auth-split { display: flex; min-height: calc(100vh - 140px); }
.auth-form-pane { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-form-inner { width: 100%; max-width: 380px; }
.auth-form-pane .auth-shell { margin: 0; max-width: none; padding: 0; }
.auth-form-heading {
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--text);
    font-size: 1.5rem; line-height: 1.22; letter-spacing: -0.01em; margin: 0 0 24px;
}

.auth-visual-pane {
    flex: 1.35; position: relative; overflow: hidden; display: flex; align-items: center;
    padding: 56px 48px; color: #fff;
    background: linear-gradient(135deg, var(--signal), #3D8BFF 60%, #5B6EF5);
}
.auth-visual-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.auth-visual-bg .avblob {
    position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45;
    animation: avfloat 10s ease-in-out infinite;
}
.auth-visual-bg .avblob.v1 { width: 280px; height: 280px; background: #fff; top: -60px; right: -40px; }
.auth-visual-bg .avblob.v2 { width: 220px; height: 220px; background: #0B0D12; opacity: .18; bottom: -60px; left: -40px; animation-duration: 13s; }
@keyframes avfloat { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(14px,-18px); } }

.auth-visual-content { position: relative; z-index: 1; max-width: 580px; }
.auth-visual-tagline { color: rgba(255,255,255,.88); font-size: 1.05rem; margin: 0 0 28px; max-width: 460px; }

.persona-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.persona-card {
    display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2); border-radius: 14px; padding: 14px 16px;
    backdrop-filter: blur(2px);
}
.persona-icon {
    width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.18);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.persona-icon svg { width: 16px; height: 16px; }
.persona-card h3 { color: #fff; font-size: .88rem; margin: 0 0 3px; font-weight: 600; }
.persona-card p { color: rgba(255,255,255,.82); font-size: .76rem; margin: 0; line-height: 1.4; }

@media (max-width: 1000px) {
    .auth-visual-pane { display: none; }
    .auth-form-pane { padding: 40px 20px; }
}
@media (min-width: 1001px) and (max-width: 1200px) {
    .persona-card p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .auth-visual-bg .avblob { animation: none; }
}

/* Footer logo image */
.site-chrome-footer .scftr-logo img { width: 32px; height: 32px; border-radius: 9px; display: block; }
