/* Novus Technicus — landing page. Modern, serious tech aesthetic. */

:root {
  --bg: #f8f9fa;
  --surface: #ffffff;
  --text: #212529;
  --text-muted: #495057;
  --muted-bg: #e9ecef;
  --border: #dee2e6;
  --footer-bg: #212529;
  --footer-text: #e9ecef;
  --footer-muted: #adb5bd;
  --accent: #0d6efd;
  --max-width: 1200px;
  --space: 1.5rem;
  --font: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space);
}

/* Header */
.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
}
.logo {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}
.logo:hover {
  color: var(--accent);
}
.nav {
  display: flex;
  gap: var(--space);
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}
.nav a:hover {
  color: var(--accent);
}
.nav-parent {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Hero */
.hero {
  background: var(--muted-bg);
  padding: 4rem var(--space);
  text-align: center;
}
.hero-inner {
  max-width: 42rem;
  margin: 0 auto;
}
.hero-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-tagline {
  margin: 0;
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Section */
.section {
  background: var(--surface);
  padding: 3rem var(--space);
  border-bottom: 1px solid var(--border);
}
.section-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}
.section-text {
  margin: 0;
  color: var(--text-muted);
  max-width: 60ch;
}
.section-text a {
  color: var(--accent);
  text-decoration: none;
}
.section-text a:hover {
  text-decoration: underline;
}

/* Company details */
.company-details {
  margin: 0;
  max-width: 42rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 2rem;
  font-size: 0.9375rem;
}
.company-details dt {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}
.company-details dd {
  margin: 0;
  color: var(--text-muted);
}
.company-details dd + dt {
  margin-top: 0.75rem;
}

/* Focus grid */
.focus {
  padding: 3rem var(--space);
}
.focus-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space);
}
.focus-card {
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.focus-card-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}
.focus-card-text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Footer */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 2.5rem var(--space);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
}
.footer-copy {
  margin: 0;
  font-size: 0.9375rem;
}
.footer-links {
  margin: 0;
  font-size: 0.9375rem;
}
.footer-links a {
  color: var(--footer-muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--footer-text);
}
.footer-note {
  color: var(--footer-muted);
  font-size: 0.8125rem;
}

/* Mobile: stack nav if needed */
@media (max-width: 480px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .hero {
    padding: 3rem var(--space);
  }
  .footer-inner {
    flex-direction: column;
  }
}
