/* 

--- 01 TYPOGRAPHY SYSTEM

- Font sizes (px):
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Font weights:
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700


- Line heights:
Default: 1
Small: 1.05
Medium: 1.2
Paragraph default: 1.6
Large: 1.8

- Letter spacing
0.5px
0.75px

--- 02 COLORS

- Primary:
Main color #003366
Main background #f4f9ff
Text boxes, etc #90adc6

Main text: #333333
Secondary text: #555555

- Tints: 
#335C85 - 20%
#6685A3 - 40%
#99ADC2 - 60%
#CCD6E0 - 80%

- Shades:
#002952 - 20%
#001F3D - 40%
#001429 - 60%
#000A14 - 80%

- Accents:
#172033
#001b3d
#D2DEEA
#EAF3FA

- Greys:
#888
#767676 (lightest grey allowed on #fff)
#6f6f6f (lightest grey allowed on #fdf2e9)
#555
#333

--- 05 SHADOWS

0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);

--- 06 BORDER-RADIUS

Default: 9px
Medium: 11px

--- 07 WHITESPACE

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

 */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Source Sans 3", Arial, sans-serif;
  line-height: 1;
  font-weight: 400;
  background: #f4f9ff;
  color: #172033;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #333;
  line-height: 1.2;
}

input,
select {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.8rem;
  border: 1px solid #cfd8e3;
  border-radius: 0.8rem;
}

ul {
  padding-left: 3.2rem;
  margin-bottom: 1.6rem;
  list-style-type: square;
}

/* You can change the square sizes of the item: */
li::marker {
  font-size: 2.4rem;
}

p,
ul {
  font-size: 1.8rem;
  margin-bottom: 1.6rem;
  color: #555;
  line-height: 1.6;
}

/* Select a <p> that is immediately followed by a sibling <ul> */
p:has(+ ul) {
  margin-bottom: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
select:focus-visible {
  outline: 2px solid #003366;
  outline-offset: 3px;
}

/* Selects all the img elements that don't have alt attribute */
img:not([alt]) {
  outline: 3px solid red;
}

/* Selects all the <p> elements that follow h3 */
.section-clarity-compass h3 + p {
  font-style: italic;
}

.justify-text {
  text-align: justify;
}

/***************************/
/* GENERAL REUSABLE COMPONENTS */
/***************************/
.container {
  /* 1140px; 1200px <-- standard */
  max-width: 120rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  column-gap: 6.4rem;
  row-gap: 9.6rem;
}

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--center-v {
  align-items: center;
}

.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  font-size: 2rem;
  font-weight: 600;
  padding: 2.4rem 3.2rem;
  border-radius: 1000px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s;
  /* margin-bottom: 1.6rem; */
}

.btn--full:link,
.btn--full:visited {
  background-color: #001429;
  color: #fff;
  transition: 0.5s;
}

.btn--full:hover,
.btn--full:active {
  color: #555;
  background-color: #f4f9ff;
  box-shadow: inset 0 0 0 1px #001429;
}

.btn--outline:link,
.btn--outline:visited {
  color: #001429;
  background-color: #fff;
  border: 1px solid #001429;
  box-shadow: 0 0 0 1px;
  transition: 0.5s;
}

.btn--outline:hover,
.btn--outline:active {
  color: #555;
  border-color: #90adc6;
  box-shadow: none;
  background-color: #90adc6;
}

.heading-primary {
  font-size: clamp(4rem, 4vw, 6.2rem);
  font-weight: 600;
  line-height: 1.05;
  color: #333;
  letter-spacing: -0.01em;
  margin-bottom: 3.2rem;
}

.heading-secondary {
  font-size: clamp(3.6rem, 3vw, 4.4rem);
  line-height: 1.2;
  /* margin-bottom: 4.8rem; */
  margin-bottom: clamp(2.4rem, 3vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.heading-tertiary {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 2.4rem;
  color: #333;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #003366;
  line-height: 1.2;
}

/***************************/
/* HELPER/SETTINGS CLASSES */
/***************************/
.margin-right-sm {
  margin-right: 1.6rem !important;
}

.margin-bottom-sm {
  margin-bottom: 1.6rem !important;
}

.margin-bottom-md {
  margin-bottom: 4.8rem !important;
}

.margin-bottom-lrg {
  margin-bottom: 9.6rem !important;
}
