/* ============================================================
   AEGIS Financial Group — Design Tokens & Reset
   ============================================================ */

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

:root {
  /* Brand */
  --navy:        #102668;
  --navy-dark:   #0b1a4a;
  --navy-deeper: #070f2e;
  --navy-light:  #1a3580;
  --gold:        #c3966e;
  --gold-light:  #d5ae86;
  --gold-dark:   #b07d55;
  --cream:       #faf9f6;
  --white:       #ffffff;

  /* Text */
  --text-primary:   #1a1a2e;
  --text-secondary: #3a3a4a;
  --text-light:     #6a6a7a;
  --text-on-dark:   #ffffff;
  --text-on-dark-s: rgba(255,255,255,.7);

  /* Layout */
  --max-w:      1200px;
  --max-w-narrow: 900px;
  --nav-h:      72px;
  --section-py:  88px;
  --section-px:  24px;

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.15);

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 400ms;

  /* Z-index */
  --z-nav:     100;
  --z-dropdown: 200;
  --z-overlay:  500;
  --z-modal:    600;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: 'Noto Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* Focus-visible for keyboard accessibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Selection color */
::selection {
  background: var(--gold);
  color: var(--navy);
}
