/* Neural Metrics — single-screen landing */

:root {
  --paper: #fafaf8;
  --ink: #23272f;
  --blue: #4472c4;
  --grey: #808080;
  --muted: #6d7178;
  --rule: #e7e7e3;
  --max: 1020px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; width: 100%; }

a { color: inherit; }

/* Header */
header { padding: 24px 0 8px; }

.header-inner { display: flex; justify-content: space-between; align-items: center; }

.wordmark {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.wordmark .n { color: var(--blue); }
.wordmark .m { color: var(--grey); }

/* Main — fills the space between header and footer, content centred */
main { flex: 1; display: flex; align-items: center; }

.main-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: center;
}

h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  max-width: 12em;
}

.field { width: 100%; height: auto; display: block; }

/* Software list */
.software { margin-top: 40px; }

.sw-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 6px 24px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
}

.sw-row h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  grid-row: span 2;
}

.sw-row .desc { color: var(--muted); font-size: 14.5px; }

.sw-row .action {
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
}

.sw-row .action:hover { text-decoration: underline; }

.sw-row .action.quiet { color: var(--grey); }

.access-note {
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--muted);
}

/* Footer */
footer { padding: 8px 0 22px; }

.footer-inner { font-size: 12.5px; color: var(--grey); }

/* Narrow screens — allow natural scrolling */
@media (max-width: 860px) {
  .main-grid { grid-template-columns: 1fr; gap: 36px; padding: 24px 28px; }
  .field { max-width: 300px; margin: 0 auto; order: -1; }
  .software { margin-top: 28px; }
}
