:root {
     --font-1-heading: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
     --font-2-subheading: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
     --font-3-body: 'Work Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
     --font-4-script: 'Dancing Script', cursive;

     --color-1: #003480;
     --color-2: #006eba;
     --color-3: #008ccf;
     --color-4: #5fbee5;
     --color-5: #acddf2;
     --color-6: #e3eff8;

     --bg-1: #f5f7fb;
     --bg-2: #f5f7fb;
     --bg-footer: #00408c;

     --accent-1: #ff8200;
     --accent-2: #ffb400;
     --accent-3: #ffda01;
     --accent-4: #ffef00;
     --accent-5: #fffe80;
     --accent-6: #fffeaa;
     --accent-7: #ffffe1;

     --shade-1: #060d30;
     --shade-2: #2e3651;
     --shade-3: #495266;
     --shade-4: #5b6475;
     --shade-5: #999;
     --shade-6: #ccc;
     --shade-7: #f6f6f6;

     --light-1: #fff;
     --light-2: #f6fafd;

     --red-1: #ff0000;
     --red-2: #bf0000;
     --red-3: #ff3300;

     --radius: 24px;
     --radius-xl: 32px;

     --shadow:
          0 6px 16px rgba(9, 37, 77, 0.18),
          0 14px 36px rgba(9, 37, 77, 0.10);
     --shadow-btn:
          0 2px 4px rgba(0, 0, 0, 0.20),
          0 4px 8px rgba(0, 0, 0, 0.15);
     --shadow-btn-hover:
          0 4px 8px rgba(0, 0, 0, 0.22),
          0 8px 16px rgba(0, 0, 0, 0.18);

     --shadow-btn-xl:
          0 4px 8px rgba(0, 0, 0, 0.18),
          0 10px 25px rgba(0, 0, 0, 0.20);
     --shadow-btn-xl-hover:
          0 6px 12px rgba(0, 0, 0, 0.20),
          0 14px 32px rgba(0, 0, 0, 0.22);
}

*,
*::before,
*::after {
     box-sizing: border-box;
     margin: 0;
     padding: 0;
     text-decoration: none;
}

html,
body {
     height: 100%;
     margin: 0;
     padding: 0;
     font-family: var(--font-3-body);
     color: var(--color-text);
     font-size: 1rem;
     background-color: var(--bg-1);
}

h1 {
     font-family: var(--font-1-heading);
     font-size: clamp(2.1rem, 3vw, 2.6rem);
     line-height: 1.2;
     color: var(--color-1);
     margin: 0;
}

h2 {
     font-family: var(--font-2-subheading);
     font-size: clamp(1.4rem, 2.2vw, 1.9rem);
     font-weight: 600;
     line-height: 1.3;
     color: var(--color-1);
     margin: 0 0 0.75rem 0;
}

h3 {
     font-family: var(--font-2-subheading);
     font-size: clamp(1.1rem, 1.6vw, 1.35rem);
     font-weight: 600;
     line-height: 1.35;
     color: var(--color-2);
     margin: 0 0 0.5rem 0;
}

h4 {
     font-family: var(--font-4-script);
}

img {
     width: 100%;
     height: auto;
     display: block;
}

.red {
     color: var(--red-1);
}

.red-2 {
     color: var(--red-2);
}

.bold {
     font-weight: 600;
}

.bold-small {
     font-size: 0.8rem;
     font-weight: 600;
}

.read-on {
     margin-top: 0.75rem;
     font-weight: 600;
     color: var(--color-2);
     text-decoration: none;
}

.read-on:hover {
     color: var(--color-3);
     text-decoration: underline;
}

p {
     margin-bottom: 0.7rem
}

hr {
     margin: 1rem 0;
}

ul {
     margin: 0.2rem 0 0 0.5rem;
     padding-left: 1.1rem;
     color: var(--shade-4);
     font-size: 0.96rem;
     line-height: 1.6;
}

ol {
     margin: 0.7rem 0 0.7rem 1.5rem;
}

ol li {
     text-indent: 0.25rem;
     /* Adjust spacing bet. Numbers and Text */
     font-weight: 500;
     line-height: 1.7rem;
}

ol li a {
     color: inherit;
     /* Keeps the default text color */
}


/* =======================
   TABLET
========================== */

@media (max-width: 960px) {}

/* =======================
   MOBILE
========================== */

@media (max-width: 768px) {

     h1 {
          font-size: 1.5rem;
          /* line-height: 1.2; */
     }

}.wrapper-below-header {
     display: grid;
     grid-template-rows: 1fr auto;
     min-height: 100vh;
     padding-top: 7rem;
}

.container {
     display: grid;
     grid-template-columns: repeat(12, 1fr);
     gap: 1.5rem;
     width: 100%;
     max-width: 1280px;
     margin: 0 auto;
     padding: 0 1rem;
}

main {
     width: 100%;
}

.mid {
     grid-column: 4 / span 6;
     margin: 0.5rem 0;
     padding: 1.5rem 3rem;
     /* Optional: subtle card feel for text pages */
     background-color: var(--light-1);
     border-radius: var(--radius-xl);
     box-shadow: var(--shadow);
}

section {
     grid-column: span 3;
     background: var(--light);
     padding: 1rem;
     /* padding: 2.25rem 1.5rem; */
     border-radius: var(--radius);
     box-shadow: var(--shadow);
}

/* =======================
   TABLET
========================== */

@media (max-width: 960px) {
     .mid {
          grid-column: 2 / span 10;
          padding: 1.5rem 1.25rem;
          margin-block: 2rem;
     }

}

/* =======================
   MOBILE
========================== */

@media (max-width: 768px) {
     .wrapper-below-header {
          /* display: grid; */
          /* grid-column: 1 / -1; */
          /* grid-template-rows: 1fr / span 12; */
          padding-top: 5rem;
     }

     .container {
          /* gap: 0.5rem; */
          /* padding: 0; */
          /* padding: 0 0.5rem; */
     }

     main {
          /* margin-bottom: 2rem;
          padding: 0 0.5rem; */
     }

     .mid {
          grid-column: span 12;
          padding: 1.25rem 1rem;
          margin: 0.5rem 0;
     }
}.site-header {
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     width: 100%;
     height: 3.2rem;
     background: linear-gradient(135deg,
               var(--color-1) 0%,
               var(--color-3) 55%,
               var(--color-1) 100%);
}

.site-header>.container {
     /* outline: 4px solid red; */
}

/* .site-header>.container {
   min-height: 6rem;
   align-items: center;
} */

/* .site-header>.container {
   min-height: 6rem;
} */

/* .site-header>.container>* {
   align-self: center;
} */




/* background: linear-gradient(135deg,
               var(--color-1),
               var(--color-2));
     z-index: 1000; */
/* } */

/* width: 100%;
    padding: 1rem 0;
    padding: 0.5rem 1rem;
    background: var(--color-1); */

.logo-wrapper {
     grid-column: span 2;
     /* align-self: center; */
     padding: 0.5rem 0;
}

/* .vcenter {
     align-items: center;
     padding: 0.4rem 0 0 0;
} */

.logo {
     width: 7rem;
     align-self: center;
}

.icon-wrapper {
     grid-column: span 2;
     justify-self: end;
     align-self: center;
}

.icon {
     width: 1.9rem;
}

.icon:hover {
     opacity: 0.7;
}


/* MOBILE ======================= */
/* MOBILE ======================= */
/* MOBILE ======================= */

@media (max-width: 960px) {
     .site-header .logo-wrapper {
          grid-column: span 4;
     }

     .site-header .logo {
          width: 8rem;
          height: auto;
     }

     .site-header .icon-wrapper {
          grid-column: span 4;
          justify-self: end;
     }

     .site-header .icon {
          width: 2.5rem;
          height: auto;
     }

}


/* MOBILE ======================= */
/* MOBILE ======================= */

@media (max-width: 768px) {
     .site-header .logo {
          width: 7rem;
          height: auto;
     }

     .site-header .icon {
          width: 2.3rem;
          height: auto;
     }
}header nav {
     grid-column: 3 / span 8;
     display: grid;
     grid-auto-flow: column;
     grid-auto-columns: max-content;
     justify-content: center;
     align-items: center;
     gap: 1rem;
}

header nav a {
     color: var(--light-1);
     font-size: 0.9rem;
     font-weight: 500;
     text-decoration: none;
     background: transparent;
     padding: 0.3rem 1rem;
     border: 1px solid var(--light-1);
     border-radius: 999px;
     transition: background-color 0.45s;
}

header nav a:hover {
     background-color: var(--color-2);
     color: var(--light-1);
}

header nav a:nth-child(5) {
     color: var(--accent-3);
     border: 1px solid var(--accent-3);
}

header nav a:nth-child(5):hover {
     background-color: var(--color-2);
}

/* TOGGLE =================== */
#menu-icon {
     grid-column: span 1;
     font-size: 40px;
     color: var(--light-1);
     z-index: 10001;
     cursor: pointer;
     display: none;
}

/* TOGGLE =================== */


/* MOBILE =================== */
/* MOBILE =================== */
/* MOBILE =================== */

@media (max-width: 960px) {
     header nav {
          /* grid-column: 3 / span 8; */
          display: grid;
          grid-template-columns: 1fr;
          justify-self: center;
          align-self: center;
          position: absolute;
          top: -800px;
          left: 0;
          right: 0;
          text-align: left;
          background: var(--color-2);
          transition: all .50s ease;
          margin: 1rem;
          padding: 1rem;
          border: 1px solid var(--light-1);
          border-radius: 5px;
     }

     header nav a {
          /* grid-column: span 4; */
          display: block;
          font-size: 1rem;
          font-weight: 600;
          color: var(--light-1);
          background: var(--color-1);
          margin: 0.25rem;
          padding: 0.5rem 1.5rem;
          border: 1px solid var(--light-1);
          border-radius: 20px;
     }

     header nav a:hover {
          background: var(--color-3);
     }

     header nav a:nth-child(5):hover {
          background: var(--color-3);
     }

     /* TOGGLE =================== */
     #menu-icon {
          grid-column: span 4;
          justify-self: center;
          display: block;
     }

     nav.open {
          grid-column: 4 / span 6;
          top: 100%;
          right: 2%;
     }

     /* TOGGLE =================== */
}


/* MOBILE 2 =================== */
/* MOBILE 2 =================== */

@media (max-width: 768px) {

     /* show the hamburger icon on mobile and center it */
     #menu-icon {
          display: block;
          grid-column: 5 / span 4;
          /* centered block in a 12-col grid */
          justify-self: center;
          align-self: center;
          z-index: 10001;
     }

     /* make nav dropdown sit below the header row */
     header nav {
          grid-column: 1 / -1;
          display: none;

          grid-auto-flow: row;
          grid-auto-columns: 1fr;
          grid-template-columns: 1fr;

          justify-content: start;
          justify-items: start;

          margin-top: 0.75rem;

          outline: 3px solid red;

     }

     /* @media (max-width: 768px) { */
     header nav a {
          display: block;
          width: 100%;
          box-sizing: border-box;

          text-align: center;
          /* or left if you prefer */
          /* padding: 0.75rem 1rem; */
          border-radius: 12px;

          outline: 3px solid green;

     }

     /* } */

     header nav.open {
          display: grid;
     }
}