/* Ops-console look shared with the desktop apps: dark first, hairline borders, one amber accent. */
:root {
  --bg: #0b0c10; --elevated: #111218; --panel: rgba(255,255,255,.02); --hover: rgba(255,255,255,.04);
  --line: rgba(255,255,255,.08); --text: #e6e7eb; --text-2: #9a9ca6; --muted: #6f7280;
  --accent: #f5b400;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: "Cascadia Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f5f5f7; --elevated: #fff; --panel: rgba(0,0,0,.02); --hover: rgba(0,0,0,.04); --line: rgba(0,0,0,.09);
    --text: #16171d; --text-2: #4d505b; --muted: #7a7d89; --accent: #8f6700; color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f5f5f7; --elevated: #fff; --panel: rgba(0,0,0,.02); --hover: rgba(0,0,0,.04); --line: rgba(0,0,0,.09);
  --text: #16171d; --text-2: #4d505b; --muted: #7a7d89; --accent: #8f6700; color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.55 var(--font); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.mono { font-family: var(--mono); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 15px; min-height: 40px; }
.brand:hover { text-decoration: none; }

.ctl { display: flex; align-items: center; gap: 8px; }
.theme { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.theme button { background: none; border: 0; border-right: 1px solid var(--line); color: var(--text-2); font: inherit; font-size: 12px; padding: 0 12px; min-height: 40px; cursor: pointer; transition: background .12s; }
.theme button:last-child { border-right: 0; }
.theme button:hover { background: var(--hover); }
.theme button[aria-pressed="true"] { color: var(--text); background: var(--hover); box-shadow: inset 0 -2px 0 var(--accent); }

main { flex: 1; width: 100%; max-width: 980px; margin: 0 auto; padding: 32px 16px 24px; }
.label { margin: 0 0 6px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.hero { display: flex; align-items: center; gap: 32px; padding: 16px 0 36px; }
.hero-logo { width: 200px; height: auto; flex: none; }
h1 { margin: 0 0 10px; font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.lead { margin: 0; color: var(--text-2); font-size: 15px; max-width: 52ch; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; color: var(--text); position: relative; transition: background .12s, border-color .12s; }
.card::before { content: ""; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 2px; background: var(--accent); border-radius: 2px; opacity: 0; transition: opacity .12s; }
.card:hover { background: var(--hover); text-decoration: none; }
.card:hover::before { opacity: 1; }
.card h2 { margin: 0; font-size: 17px; font-weight: 600; }
.card p { margin: 0; color: var(--text-2); flex: 1; }
.card-label { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.go { margin-top: 8px; font-family: var(--mono); font-size: 12px; color: var(--accent); overflow-wrap: anywhere; }
.chip { font-weight: 500; font-size: 10px; letter-spacing: .06em; padding: 1px 7px; border: 1px solid var(--accent); color: var(--accent); border-radius: 999px; }

.contact { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.links a { display: inline-flex; align-items: center; min-height: 40px; }

.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.foot a { color: var(--text-2); display: inline-flex; align-items: center; min-height: 40px; margin-left: auto; }

.fade { animation: fade-up .25s ease-out both; }
.d1 { animation-delay: 40ms; } .d2 { animation-delay: 80ms; } .d3 { animation-delay: 120ms; } .d4 { animation-delay: 160ms; }
@keyframes fade-up { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade { animation: none; } .card, .card::before, .theme button { transition: none; } }

@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .hero { flex-direction: column; text-align: center; gap: 16px; padding-bottom: 28px; }
  .hero-logo { width: 140px; }
  h1 { font-size: 22px; }
  .lead { margin: 0 auto; }
  .theme button { padding: 0 10px; }
}
