/* LabMon project site. Same palette as the dashboard; dark by default. */
:root {
  --bg: #0f1114;
  --surface: #16191d;
  --surface-2: #1c2025;
  --line: #262b31;
  --text: #e7e9ec;
  --text-2: #a4abb4;
  --text-3: #727a84;
  --accent: #6cb6ff;
  --accent-ink: #0b1a29;
  --ok: #3fb950;
  --radius: 12px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f7f9;
    --surface: #ffffff;
    --surface-2: #f1f3f5;
    --line: #e3e6ea;
    --text: #1b1f24;
    --text-2: #545d68;
    --text-3: #7d8590;
    --accent: #0a69da;
    --accent-ink: #ffffff;
    --ok: #1a7f37;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font: 0.9em var(--mono); }
h1, h2, h3 { line-height: 1.2; margin: 0; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(20px, calc((100% - 1080px) / 2)); background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 18px; }
.brand:hover { text-decoration: none; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top nav a:not(.button) { color: var(--text-2); }
.top nav a:not(.button):hover { color: var(--text); text-decoration: none; }

main { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.hero { padding: 88px 0 40px; text-align: center; }
.eyebrow { margin: 0 0 18px; color: var(--text-3); font-size: 14px; letter-spacing: 0.02em; }
.hero h1 { font-size: clamp(34px, 5.5vw, 58px); font-weight: 720; letter-spacing: -0.02em; }
.hero h1 span { color: var(--text-2); }
.lede { max-width: 720px; margin: 24px auto 0; color: var(--text-2); font-size: 19px; }
.actions { display: flex; justify-content: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.button { display: inline-block; padding: 11px 20px; border-radius: 8px; background: var(--accent); color: var(--accent-ink);
  font-weight: 600; border: 1px solid var(--accent); }
.button:hover { text-decoration: none; filter: brightness(1.08); }
.button.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.button.small { padding: 6px 14px; font-size: 14px; }

.preview { margin: 32px 0 0; }
.preview img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }

.section { padding: 88px 0 0; }
.section > h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--text-2); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.split h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; margin-bottom: 16px; }
.split p { color: var(--text-2); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { position: relative; padding-left: 28px; margin: 12px 0; color: var(--text-2); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.checks strong { color: var(--text); }

.terminal { background: #0b0d10; color: #d7dbe0; border: 1px solid #262b31; border-radius: var(--radius); padding: 20px 22px;
  font: 14px/1.7 var(--mono); }
.terminal p { margin: 0 0 6px; color: #d7dbe0; }
.terminal .prompt { color: #ffffff; font-weight: 600; margin-top: 10px; }
.terminal .prompt:first-child { margin-top: 0; }
.terminal .muted { color: #727a84; }
.terminal .ok { color: #3fb950; }
.terminal .link { color: #6cb6ff; overflow-wrap: anywhere; }
.terminal code { color: #f0c674; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px 22px 70px; }
.steps li::before { content: counter(step); position: absolute; left: 24px; top: 20px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface-2); color: var(--accent); font-weight: 700; }
.steps h3 { font-size: 17px; margin-bottom: 10px; }
.steps p { margin: 10px 0 0; color: var(--text-2); }
pre { margin: 0; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; overflow-x: auto; }
pre code { font-size: 13.5px; line-height: 1.6; color: var(--text); white-space: pre; }

.foot { max-width: 1080px; margin: 96px auto 0; padding: 28px 20px 48px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }
.foot p { margin: 0; }

@media (max-width: 820px) {
  .top nav a:not(.button) { display: none; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 56px; }
  .section { padding-top: 64px; }
}
