/* comcove.itmail.dk: a small centered landing page in the app's Cove colours (ocean blue, turquoise), square corners. */
:root {
  --bg: #04182b;
  --border: rgba(101, 227, 241, 0.22);
  --text: #e8f6fb;
  --text-dim: #8fb3c7;
  --accent: #48d5e3;
  --accent-strong: #1299b8;
  --warm: #e0a96d;
  --on-accent: #04182b;
  --radius: 3px;
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 0; }

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(ellipse at 50% 0%, #0d3557 0, transparent 60%), var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}
a { color: var(--accent); }
code { font-family: ui-monospace, "JetBrains Mono", Menlo, monospace; font-size: 0.92em; }

.lang { position: fixed; top: 16px; right: 16px; display: flex; gap: 4px; }
.lang button {
  height: 30px; padding: 0 11px; border: 1px solid var(--border); border-radius: var(--radius);
  background: transparent; color: var(--text-dim); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
}
.lang button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }

.land { width: min(560px, 100%); text-align: center; }
h1 { margin: 0 0 14px; font-size: clamp(34px, 6vw, 48px); letter-spacing: 0.01em; }
.lead { margin: 0 auto 30px; color: var(--text-dim); font-size: 17px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 220px; height: 48px; padding: 0 26px;
  border-radius: var(--radius); background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none;
}
.btn:hover { background: var(--accent-strong); color: var(--text); }
.btn[hidden], [hidden] { display: none !important; }

.small { font-size: 13px; }
.dim, .meta { color: var(--text-dim); }
.meta { margin: 16px 0 0; }
.warn { color: var(--warm); }
.sha { margin: 10px 0 0; color: var(--text-dim); opacity: 0.75; }
.sha code { overflow-wrap: anywhere; }

@media (max-width: 480px) { .btn { width: 100%; } }
