/* attack.co.il/accessibility: a reading page in the map's own colours and face.
   Plain CSS rather than Tailwind: tailwind-built.css is compiled from the map's
   classes, and a class it never saw would silently do nothing here. */

:root {
    --bg: #f8fafc;
    --panel: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --line: #cbd5e1;
    --soft: #e2e8f0;
    --focus: #2563eb;
    --ok-bg: #dcfce7;
    --ok-text: #14532d;
    --err-bg: #fee2e2;
    --err-text: #7f1d1d;
}
.dark {
    --bg: #080e1b;
    --panel: #0f172a;
    --text: #f1f5f9;
    --muted: #94a3b8;
    --line: #334155;
    --soft: #1e293b;
    --focus: #60a5fa;
    --ok-bg: #052e16;
    --ok-text: #bbf7d0;
    --err-bg: #450a0a;
    --err-text: #fecaca;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
}

.st-bar { height: 3px; background: linear-gradient(90deg, #ef4444 0%, #fbbf24 100%); }
.dark .st-bar { background: linear-gradient(90deg, #ef4444 0%, #ca8a04 100%); }

.st-skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.st-skip:focus {
    position: fixed;
    top: 8px;
    right: 8px;
    z-index: 10;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    padding: 8px 14px;
    border-radius: 10px;
    background: var(--text);
    color: var(--bg);
    font-weight: 700;
    text-decoration: none;
}

.st-top {
    border-bottom: 1px solid var(--soft);
    background: var(--panel);
}
.st-home {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 720px;
    margin: 0 auto;
    padding: 10px 16px;
    color: var(--text);
    font-weight: 800;
    font-size: 17px;
    text-decoration: none;
}
.st-home img { width: 28px; height: 28px; border-radius: 8px; }

.st-main { max-width: 720px; margin: 0 auto; padding: 28px 16px 56px; }

h1 { margin: 0 0 12px; font-size: 34px; line-height: 1.2; font-weight: 900; letter-spacing: -0.01em; }
h2 {
    margin: 40px 0 10px;
    padding-top: 22px;
    border-top: 1px solid var(--soft);
    font-size: 23px;
    line-height: 1.3;
    font-weight: 800;
}
h2:focus { outline: none; }
.st-lede { font-size: 20px; line-height: 1.6; font-weight: 500; margin: 0 0 14px; }
p { margin: 0 0 14px; }

ul { margin: 0; padding: 0 22px 0 0; }
li { margin: 0 0 8px; }
li::marker { color: var(--muted); }

a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

.st-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 18px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
}
.st-form label { font-weight: 700; font-size: 17px; margin-top: 8px; }
.st-form label:first-child { margin-top: 0; }
.st-optional { font-weight: 400; color: var(--muted); }
.st-form textarea, .st-form input {
    width: 100%;
    font: inherit;
    font-size: 17px;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
}
.st-form textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.st-form input[type="email"] { text-align: left; }
.st-hint { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

.st-send {
    align-self: flex-start;
    margin: 14px 0 8px;
    padding: 10px 28px;
    border: 0;
    border-radius: 10px;
    background: #dc2626;
    color: #fff;
    font: inherit;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
}
.st-send:hover { background: #b91c1c; }
.st-send:disabled { opacity: 0.6; cursor: default; }

.st-result {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
}
.st-result.is-ok { background: var(--ok-bg); color: var(--ok-text); }
.st-result.is-err { background: var(--err-bg); color: var(--err-text); }
[hidden] { display: none !important; }

.st-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.st-updated { margin-top: 32px; color: var(--muted); font-size: 15px; }
.st-back { font-weight: 700; }

@media (max-width: 480px) {
    h1 { font-size: 29px; }
    .st-lede { font-size: 18px; }
    .st-form { padding: 16px; }
    .st-send { align-self: stretch; }
}
