/* ==========================================================
   DEFENSE COMMENTS — global.css

   Stores shared RollCall styles and design variables used across pages.
   Comments explain the purpose of the selectors and properties
   without changing the visual design.
   ========================================================== */
/* ==========================================================
   global.css — shared by every RollCall page.
   Tokens + base rules only. Page-specific styling lives in
   that page's own stylesheet (landing.css, etc.).
   ========================================================== */

/* Defines shared CSS variables used throughout the design. */
:root {
  /* Palette */
  /* Sets the --navy-deep property for the current style rule. */
  --navy-deep:  #03042e;
  /* Sets the --ice property for the current style rule. */
  --ice:        #b9d4ff;
  /* Sets the --ice-soft property for the current style rule. */
  --ice-soft:   #dbe8ff;
  /* Sets the --white property for the current style rule. */
  --white:      #ffffff;
  /* Sets the --ink property for the current style rule. */
  --ink:        #0a1a6b;
  /* Sets the --footer-bg property for the current style rule. */
  --footer-bg:  #fffdf7;
  /* Sets the --footer-ink property for the current style rule. */
  --footer-ink: #10122e;

  /* Type */
  /* Sets the --font-display property for the current style rule. */
  --font-display: "League Spartan", "Poppins", "Segoe UI", sans-serif;
  /* Sets the --font-body property for the current style rule. */
  --font-body:    "Josefin Sans", "Segoe UI", sans-serif;
/* Ends the current CSS rule or responsive block. */
}

*, *::before, *::after {
  /* Sets the box-sizing property for the current style rule. */
  box-sizing: border-box;
/* Ends the current CSS rule or responsive block. */
}

/* Targets these elements for the styles that follow. */
/* Selected text is orange everywhere */
::selection { background: #ff9a0a; color: #120a00; }
::-moz-selection { background: #ff9a0a; color: #120a00; }

html, body {
  /* Sets the margin property for the current style rule. */
  margin: 0;
  /* Sets the padding property for the current style rule. */
  padding: 0;
  /* Sets the width property for the current style rule. */
  width: 100%;
  /* Sets the height property for the current style rule. */
  height: 100%;
  /* Sets the background property for the current style rule. */
  background: transparent; /* Allows the background gradient to show */
/* Ends the current CSS rule or responsive block. */
}

/* Targets these elements for the styles that follow. */
body {
  /* Sets the font-family property for the current style rule. */
  font-family: var(--font-body);
  /* Sets the color property for the current style rule. */
  color: var(--white);
/* Ends the current CSS rule or responsive block. */
}

/* Sets the a property for the current style rule. */
a:focus-visible {
  /* Sets the outline property for the current style rule. */
  outline: 3px solid var(--ice);
  /* Sets the outline-offset property for the current style rule. */
  outline-offset: 3px;
/* Ends the current CSS rule or responsive block. */
}

/* Starts responsive styles for this screen size. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    /* Sets the animation-duration property for the current style rule. */
    animation-duration: 0.01ms !important;
    /* Sets the transition-duration property for the current style rule. */
    transition-duration: 0.01ms !important;
  /* Ends the current CSS rule or responsive block. */
  }
/* Ends the current CSS rule or responsive block. */
}
