/* Brand stylesheet – premium minimalist tech aesthetic */
:root {
  /* Primary palette */
  --color-primary: #082F49;   /* deep navy */
  --color-primary-light: #0a3d5c; /* lighter navy for hover */
  --color-accent: #18B6C9;   /* teal accent */
  --color-bg: #ffffff;       /* white background */
  --color-bg-dark: #F3F2F8; /* subtle off‑white for sections */
  --color-text: #182B3A;    /* strong dark text */
  --color-muted: #6c757d;   /* muted secondary text */
  --color-success: #28a745;   /* success messages */
}

/* Typography – modern, legible, premium */
html {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  /* background-color removed — set per-section or by redesign.css */
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  /* color intentionally NOT set here — each design system (aih-*, nr-*, ent-*) sets its own heading colour */
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.85rem; }

p { margin-bottom: 1rem; }

/* Utility spacing */
.u-mt-1 { margin-top: 0.5rem; }
.u-mb-1 { margin-bottom: 0.5rem; }
.u-py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.u-px-2 { padding-left: 1rem; padding-right: 1rem; }

/* Buttons – minimal, high‑contrast */
.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--color-primary-light);
}
.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover {
  background-color: var(--color-primary-light);
  color: #fff;
}

/* Cards – clean and elevated */
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Grid system – simple flex */
.row { display: flex; flex-wrap: wrap; margin-left: -0.5rem; margin-right: -0.5rem; }
.col { flex: 1 0 0%; padding: 0.5rem; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }

/* Accessibility – focus outlines */
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* Subtle motion – respects prefers-reduced-motion */

/* Hero section – premium solid background */
.hero {
  background-color: var(--color-primary);
  color: #fff;
  padding: 6rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}
.hero p {
  color: #e0e0e0;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.hero .btn-primary {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    animation: fadeIn 0.6s forwards;
  }
}
@keyframes fadeIn { to { opacity: 1; } }
