/* ESC APPS - shared look. Gold on black, Oswald. */
@font-face { font-family: "Oswald"; font-weight: 400; font-display: swap; src: url("/assets/fonts/oswald-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 500; font-display: swap; src: url("/assets/fonts/oswald-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 700; font-display: swap; src: url("/assets/fonts/oswald-latin-700-normal.woff2") format("woff2"); }

:root {
  --gold: #d4af37;
  --gold-hi: #ffd24a;
  --bg: #050505;
  --panel: #111;
  --panel-2: #1a1a1a;
  --line: #3a3220;
  --text: #f3ead2;
  --muted: #a89d80;
  --red: #ff3b30;
  --green: #34c759;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: "Oswald", system-ui, sans-serif; letter-spacing: .02em; }
body { min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--gold-hi); }
.esc-top { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: #000; }
.esc-top img { width: 40px; height: 40px; }
.esc-top .brand { font-weight: 700; font-size: 20px; color: var(--gold); text-transform: uppercase; text-decoration: none; }
.esc-top .brand small { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 6px; }
.esc-top nav { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.esc-top nav a { color: var(--muted); text-decoration: none; text-transform: uppercase; font-size: 14px; }
.esc-top nav a[aria-current="page"], .esc-top nav a:hover { color: var(--gold-hi); }
main { flex: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: 20px 16px 40px; }
h1 { color: var(--gold); text-transform: uppercase; font-weight: 700; font-size: clamp(28px, 5vw, 44px); margin: 6px 0 4px; }
h2 { color: var(--gold); text-transform: uppercase; font-weight: 500; font-size: 20px; margin: 22px 0 10px; }
.lede { color: var(--muted); margin: 0 0 18px; font-size: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
button, .btn, select, input[type=number], input[type=text] {
  font-family: inherit; font-size: 15px; letter-spacing: .03em; color: var(--text);
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 9px 14px;
}
button, .btn { cursor: pointer; text-transform: uppercase; color: var(--gold-hi); text-decoration: none; display: inline-block; }
button:hover, .btn:hover { border-color: var(--gold); }
button:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
button.primary, .btn.primary { background: var(--gold); color: #000; border-color: var(--gold); font-weight: 700; }
button.primary:hover, .btn.primary:hover { background: var(--gold-hi); }
button:disabled { opacity: .45; cursor: not-allowed; }
button.on { background: var(--gold); color: #000; }
label { color: var(--muted); font-size: 14px; text-transform: uppercase; }
input[type=range] { accent-color: var(--gold); }
.muted { color: var(--muted); }
.status { color: var(--muted); font-size: 14px; min-height: 1.4em; margin-top: 10px; }
.status.err { color: var(--red); }
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.apps a.card { text-decoration: none; color: var(--text); display: block; }
.apps a.card:hover { border-color: var(--gold); }
.apps a.card b { display: block; color: var(--gold); font-size: 22px; text-transform: uppercase; }
.apps a.card span { color: var(--muted); font-size: 14px; }
.esc-foot { border-top: 1px solid var(--line); padding: 14px 18px; color: var(--muted); font-size: 13px; text-align: center; line-height: 1.6; }
.esc-foot b { color: var(--gold); }
.notice-list li { margin-bottom: 10px; }
.notice-list code { color: var(--gold-hi); }
@media (max-width: 600px) {
  .esc-top { flex-wrap: wrap; }
  .esc-top nav { margin-left: 0; width: 100%; }
  main { padding: 14px 10px 30px; }
}
.hero-logo { display:block; width:160px; height:auto; margin: 4px 0 8px; }
