/* Lumencast — landing styles. Minimal, dev-focused, dark-first. */

:root {
  --bg: #0b0d10;
  --surface: #11141a;
  --surface-2: #161a22;
  --border: #1d222c;
  --fg: #e7eaf0;
  --fg-muted: #8a93a3;
  --accent: #f4a020; /* warm light, evokes a beam — "lumen" + "cast" */
  --accent-soft: rgba(244, 160, 32, 0.12);
  --code-bg: #0e1116;
  --max: 760px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) 1.25rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
a:hover {
  border-bottom-color: var(--accent);
}

code {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1em 0.4em;
}

pre {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  margin: 1rem 0;
  font-size: 0.92em;
  line-height: 1.55;
}
pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--fg);
}

abbr {
  text-decoration: none;
  border-bottom: 1px dotted var(--fg-muted);
  cursor: help;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.25rem;
  margin: 3rem 0 1rem;
  color: var(--fg);
}

p {
  margin: 0.6em 0;
}

.muted {
  color: var(--fg-muted);
  font-size: 0.92em;
}

.hero {
  padding: 1rem 0 2rem;
}

.hero h1 {
  margin-bottom: 0.4rem;
}

.tagline {
  font-size: 1.15rem;
  color: var(--fg-muted);
  margin: 0 0 1.6rem;
}

.lede {
  font-size: 1.05rem;
  color: var(--fg);
  max-width: 56ch;
}

.ctas {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.cta {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--fg);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}
.cta:hover {
  background: var(--surface-2);
  border-color: var(--fg-muted);
  border-bottom-color: var(--fg-muted);
}
.cta.primary {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.cta.primary:hover {
  background: rgba(244, 160, 32, 0.2);
}

.features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.features li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--border);
}
.features li:last-child {
  border-bottom: 1px solid var(--border);
}
.features strong {
  color: var(--fg);
  font-weight: 600;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}
th,
td {
  text-align: left;
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th {
  color: var(--fg-muted);
  font-weight: 500;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
td:first-child {
  white-space: nowrap;
}

footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
