/* Wspólny styl stron publicznych: blokada, 404, dokumenty prawne. */
* { box-sizing: border-box; }
body { margin: 0; font-family: 'DM Sans', system-ui, sans-serif; color: #161514; background: #DBDBDB; }
h1 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; letter-spacing: -0.03em; }
h1 em { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-style: italic; letter-spacing: -0.01em; }

.gate { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 16px; background: #DBDBDB url(/_gate/niebo.jpg) center / cover no-repeat; }
.gate-card { width: min(460px, 100%); padding: 40px; border-radius: 28px; background: #FBFAF7; box-shadow: 0 30px 80px rgba(22, 21, 20, 0.18); }
.gate-logo { display: flex; align-items: center; gap: 13px; color: #161514; text-decoration: none; }
.gate-logo img { display: block; flex: none; }
.gate-logo-line { display: block; width: 1px; height: 28px; background: rgba(22, 21, 20, 0.22); }
.gate-logo-name { font-family: 'Instrument Serif', Georgia, serif; font-size: 20px; line-height: 0.92; }
.gate-card h1 { margin: 32px 0 28px; font-size: clamp(38px, 10vw, 52px); line-height: 1.02; }
.gate-card h1 em { color: #4A3CEB; }
.gate-card > p { margin: 0 0 28px; font-size: 16px; line-height: 1.6; color: #46433C; }
.gate-form label { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 500; }
.gate-row { display: flex; gap: 8px; }
.gate-row input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 1px solid rgba(22, 21, 20, 0.22); border-radius: 999px; background: #FFFFFF; color: #161514; font: inherit; font-size: 16px; }
.gate-row input:focus { outline: 2px solid #4A3CEB; outline-offset: 1px; border-color: transparent; }
.gate-row button, .gate-btn { display: inline-flex; align-items: center; height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: #161514; color: #FFFFFF; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s, scale 140ms cubic-bezier(0.23, 1, 0.32, 1); }
.gate-row button:hover, .gate-btn:hover { background: #4A3CEB; color: #FFFFFF; }
.gate-row button:focus-visible, .gate-btn:focus-visible { outline: 2px solid #4A3CEB; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .gate-row button:active, .gate-btn:active { scale: .97; } }
.gate-error { margin: 12px 0 0; font-size: 14px; color: #B3261E; }
.gate-mail { display: inline-block; margin-top: 28px; font-size: 15px; color: #161514; }
.gate-mail:hover { color: #4A3CEB; }

.doc { max-width: 760px; margin: 0 auto; padding: 40px 20px 96px; background: none; line-height: 1.65; }
.doc h1 { font-size: clamp(32px, 7vw, 48px); line-height: 1.05; margin: 48px 0 16px; }
.doc h2 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 40px 0 12px; }
.doc h3 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 18px; font-weight: 700; margin: 28px 0 8px; }
.doc a { color: #4A3CEB; }
.doc table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.doc th, .doc td { padding: 8px 12px; border: 1px solid rgba(22, 21, 20, 0.16); text-align: left; vertical-align: top; }
body.doc-body { background: #FBFAF7; }
