/* ==========================================================================
   AASJ MC Ltd — corporate static site
   Single stylesheet. System font stack, no webfonts, no build step.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --surface: #f5f7f9;
  --text: #1b2430;        /* primary text — ~15.7:1 on white (AA) */
  --text-muted: #475569;  /* secondary text — ~7.6:1 on white, ~7.1:1 on footer (AA) */
  --accent: #1f4e79;      /* corporate navy — ~8.7:1 on white (AA) */
  --accent-hover: #15395c;
  --border: #e3e7ec;
  --maxw: 46rem;
}

/* ===== Reset & base ===================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ===== Layout =========================================================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ===== Links ============================================================ */
a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover { color: var(--accent-hover); }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ===== Skip link (a11y) ================================================= */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  z-index: 10;
}
.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

/* ===== Header =========================================================== */
.site-header {
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.wordmark {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}
.tagline {
  margin: 0.4rem 0 0;
  font-size: 1rem;
  color: var(--text-muted);
}

/* ===== Main / sections ================================================== */
main { padding: 3rem 0; }

.section { margin-bottom: 2.75rem; }
.section:last-child { margin-bottom: 0; }

.section h2 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.section p {
  margin: 0 0 1rem;
  max-width: 38rem;
}
.section p:last-child { margin-bottom: 0; }

/* ===== Footer =========================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 0;
}
.legal {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.copyright {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Responsive ======================================================= */
@media (min-width: 40rem) {
  body { font-size: 18px; }
  .wordmark { font-size: 1.95rem; }
  .site-header { padding: 3rem 0; }
  main { padding: 3.5rem 0; }
}

/* ===== Preferences ====================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
