/* Landing page (src/client/landing.html): an information site in the blue and gold of Kaslow, no scripts needed to read it. */
:root { --bg: #0b1020; --panel: #141c33; --panel2: #1a2442; --line: #2b3a63; --ink: #e7ecf7; --mute: #94a3c4; --gold: #f2c660; --link: #8db8ff; --warn: #f0a030; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 56px; }
body { margin: 0; background: radial-gradient(ellipse at 50% -10%, #1d2d5c 0%, var(--bg) 60%) fixed, var(--bg); color: var(--ink); font: 15px/1.55 system-ui, sans-serif; }
a { color: var(--link); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.top { position: sticky; top: 0; z-index: 5; background: rgba(8, 12, 26, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; flex-wrap: wrap; }
.brand { color: var(--gold); font-weight: 700; font-size: 18px; text-decoration: none; letter-spacing: 1px; text-transform: uppercase; }
nav a { margin-left: 16px; color: var(--ink); text-decoration: none; font-size: 14px; }
nav a:hover { color: var(--gold); text-decoration: underline; }
.notice { margin: 18px 0; padding: 12px 16px; background: rgba(240, 160, 48, 0.1); border: 1px solid rgba(240, 160, 48, 0.5); border-left: 5px solid var(--warn); border-radius: 6px; }
.notice b { color: #ffd98a; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; align-items: start; }
section { margin-bottom: 30px; }
h2 { margin: 0 0 10px; padding-bottom: 6px; font-size: 20px; color: var(--gold); border-bottom: 1px solid var(--line); }
h3 { margin: 0 0 8px; font-size: 16px; color: var(--gold); }
p { margin: 0 0 10px; }
.small { font-size: 13px; color: var(--mute); }
.muted { color: var(--mute); }
.facts { margin: 0 0 12px; }
.facts dt { float: left; clear: left; width: 120px; font-weight: 700; color: var(--gold); }
.facts dd { margin: 0 0 8px 130px; }
.box { margin-bottom: 18px; padding: 14px 16px; background: linear-gradient(var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 6px; }
.box label { display: block; margin-bottom: 8px; font-size: 13px; color: var(--mute); }
.box label.check { color: var(--ink); }
input[type=text], input[type=password] { display: block; width: 100%; margin-top: 3px; padding: 6px 8px; color: var(--ink); background: #0c1226; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
button { padding: 6px 14px; color: var(--ink); background: linear-gradient(#2c4478, #1f3260); border: 1px solid #4a6bb0; border-radius: 6px; font: inherit; font-size: 14px; cursor: pointer; }
button:hover { background: linear-gradient(#365a98, #27407a); border-color: var(--gold); }
button.alt { background: transparent; border-color: var(--line); }
button.link { padding: 0; background: none; border: 0; color: var(--link); text-decoration: underline; }
button:disabled { opacity: 0.55; cursor: default; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 4px 0 8px; }
.msg { min-height: 1.2em; margin: 0 0 6px; font-size: 13px; color: #ff9aa8; }
.msg.ok { color: #8ee6b0; }
.state { margin: 0 0 8px; }
.dot { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: #777; }
.state.up .dot { background: #4ade80; box-shadow: 0 0 6px #4ade80; }
.state.down .dot { background: #c2343a; }
.stats { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0; }
.stats dt { color: var(--mute); }
.stats dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.post { margin-bottom: 14px; padding: 10px 14px; background: linear-gradient(var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 6px; }
.post h3 { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 4px; font-size: 14px; }
.post h3 span { color: var(--mute); font-weight: 400; }
.post h4 { margin: 8px 0 2px; font-size: 13px; color: var(--ink); }
.post ul { margin: 0; padding-left: 18px; }
.post li { margin-bottom: 3px; font-size: 14px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.gallery button { display: block; width: 100%; padding: 0; overflow: hidden; background: #000; border: 1px solid var(--line); }
.gallery img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery span { display: block; padding: 4px 6px; font-size: 12px; color: var(--mute); background: var(--panel); text-align: left; }
dialog { max-width: min(92vw, 1100px); padding: 8px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); }
dialog::backdrop { background: rgba(0, 0, 0, 0.8); }
dialog img { display: block; max-width: 100%; max-height: 80vh; margin: 0 auto; }
dialog p { margin: 6px 0 0; text-align: center; }
.foot { padding-top: 12px; padding-bottom: 28px; font-size: 13px; color: var(--mute); border-top: 1px solid var(--line); }
@media (max-width: 800px) {
  .cols { grid-template-columns: 1fr; }
  .side { order: -1; }
  .facts dt { float: none; width: auto; }
  .facts dd { margin-left: 0; }
  nav a { margin: 0 12px 0 0; }
}
