/* LST Software support site — "Night Contour" design system
   Per-app pages override --accent / --accent-ink / --tint / --deep / --line / --muted on <body>. */
:root {
  --bg: #0E1419;
  --fg: #E6ECEF;
  --fg-2: #B9C5CE;
  --fg-3: #9BAAB5;
  --fg-4: #7D8C97;
  --rule: #26323B;
  --chip: #33424D;
  --accent: #E6ECEF;
  --accent-ink: #0E1419;
  --tint: #16202A;
  --deep: #0E1419;
  --line: #26323B;
  --muted: #9BAAB5;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --pad-x: 64px;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); line-height: 1.5; }
a { color: var(--fg); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.display { font-family: var(--font-display); letter-spacing: -0.02em; }
.wrap { padding-inline: var(--pad-x); max-width: 1440px; margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--fg); color: var(--bg); padding: 8px 12px; z-index: 10; }

/* Header / hero */
.contour { background: url(/assets/contour-dark.svg) center / cover no-repeat; }
.site-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; }
.nav a { color: var(--fg-3); text-decoration: none; }
.nav a:hover { color: var(--fg); }
.hero { padding-block: 120px 140px; }
.eyebrow { margin: 0 0 20px; font-size: 14px; color: var(--fg-3); letter-spacing: 0.04em; }
.hero h1 { margin: 0; font-size: clamp(44px, 7vw, 76px); line-height: 1; font-weight: 600; letter-spacing: -0.035em; max-width: 880px; }
.lede { margin: 28px 0 0; font-size: 19px; line-height: 1.55; color: var(--fg-2); max-width: 560px; }

/* App index rows */
.app-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); padding: 0; margin: 0; list-style: none; }
.app-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding: 32px 8px; border-bottom: 1px solid var(--rule); text-decoration: none; }
.app-row:hover { background: rgba(255,255,255,0.04); color: var(--fg); }
.app-row .meta { flex: 999 1 320px; min-width: 0; }
.app-row h2 { margin: 0; font-size: 34px; font-weight: 600; }
.app-row p { margin: 6px 0 0; font-size: 16px; color: var(--fg-3); }
.app-row .go { font-family: var(--font-display); font-size: 16px; }
.app-row.placeholder { border-bottom-style: dashed; color: var(--fg-4); }
.app-row.placeholder h2, .app-row.placeholder p { color: var(--fg-4); }
.icon-tile { width: 72px; height: 72px; border-radius: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid currentColor; }
.icon-tile svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.icon-img { width: 72px; height: 72px; border-radius: 18px; flex-shrink: 0; display: block; }
.icon-img-lg { width: 80px; height: 80px; border-radius: 20px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 13px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--chip); color: var(--fg-2); }

/* App page (themed by per-app vars) */
.app-page { background: var(--deep); }
.app-hero { background: linear-gradient(180deg, var(--tint) 0%, var(--deep) 100%); padding-block: 0 48px; }
.app-hero > .wrap:last-child { padding-top: 32px; }
.crumb { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.crumb a { color: var(--muted); }
.app-title { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.app-title .icon-solid { width: 80px; height: 80px; border-radius: 20px; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; }
.app-title .icon-solid svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.app-title h1 { margin: 0; font-size: clamp(34px, 5vw, 48px); font-weight: 600; letter-spacing: -0.03em; }
.app-title p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.app-body { display: flex; flex-wrap: wrap; gap: 40px; padding-block: 40px 96px; }
.app-main { flex: 999 1 520px; min-width: 0; }
.app-side { flex: 1 1 280px; align-self: flex-start; display: flex; flex-direction: column; gap: 20px; }
.section { margin-bottom: 48px; }
.section h2 { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin: 0 0 16px; letter-spacing: -0.02em; }
.steps { margin: 0; padding-left: 22px; }
.steps li { padding: 6px 0; }
.steps li::marker { color: var(--accent); font-weight: 600; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 18px 0; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 600; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--fg-2); }
.panel { padding: 24px; border-radius: 14px; background: var(--tint); border: 1px solid var(--line); }
.panel h2 { font-family: var(--font-display); margin: 0 0 8px; font-size: 20px; }
.panel p { margin: 0 0 18px; font-size: 15px; color: var(--muted); }
.panel ul { margin: 0; padding: 0; list-style: none; }
.panel li + li { margin-top: 10px; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.btn:hover { color: var(--accent-ink); filter: brightness(1.08); }
.prose { max-width: 720px; }
.prose h2 { font-family: var(--font-display); font-size: 22px; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--fg-2); }

/* Footer */
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 28px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--fg-4); }
.site-footer a { color: var(--fg-4); }

@media (max-width: 720px) {
  :root { --pad-x: 20px; }
  .hero { padding-block: 72px 88px; }
  .app-row { gap: 18px; }
}
