/* css/base.css */
:root {
  --color-marine:   #0d2b4e;
  --color-red:      #d92519;
  --color-red-dark: #b41c12;
  --color-white:    #ffffff;
  --color-light:    #f4f6f8;
  --color-text:     #1a1a1a;
  --color-white-10: rgba(255, 255, 255, 0.1);
  --color-white-80: rgba(255, 255, 255, 0.8);
  --color-overlay:  rgba(0, 0, 0, 0.45);
  --color-shadow:   rgba(0, 0, 0, 0.08);
  --max-width:      1200px;
  --nav-height:     3rem;

  --space-s:  0.5rem;
  --space-m:  1rem;
  --space-l:  2rem;
  --space-xl: 4rem;
}

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

body {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--color-red);
  text-decoration: none;
}

a:hover {
  color: var(--color-red-dark);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
  border-radius: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}