/* =========================================================
   Intercollegiate Sports Insurance — HTML + CSS only
   Colors taken from the original site build
   ========================================================= */
:root {
  --navy: #0b223b;
  --navy-2: #19354c;
  --steel: #6598a8;
  --ice: #b9e4ec;
  --red: #c03632;
  --yellow: #ffc40d;
  --white: #ffffff;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body { background: var(--navy); color: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Type helpers ---------- */
.accent-yellow { color: var(--yellow); }
.accent-steel { color: var(--steel); }

.heading-xl, .heading-lg, .heading-md, .heading-sm {
  font-weight: 400;
  line-height: 1.2;
  color: var(--ice);
}
.heading-xl { font-size: clamp(2rem, 4.5vw, 3rem); padding-bottom: 1.5rem; }
.heading-lg { font-size: clamp(1.75rem, 3.5vw, 2.25rem); padding: 1.5rem 0; color: var(--white); }
.heading-md { font-size: clamp(1.5rem, 3vw, 1.875rem); padding-bottom: .75rem; }
.heading-sm { font-size: 1.5rem; padding-bottom: .75rem; }

.slash { display: inline-block; margin-right: .15em; }
@media (min-width: 1024px) { .slash { margin-left: -40px; } }

p + p, p + .heading-sm, p + .heading-md { margin-top: 1.5rem; }
.mb-lg { margin-bottom: 3rem; }
.lead { font-size: 1.5rem; line-height: 1.35; margin-bottom: 1.5rem; }

/* ---------- Scroll arrow (pure CSS chevron) ---------- */
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 1.5rem 0;
  font-weight: 200;
  letter-spacing: .05em;
  text-transform: uppercase;
  position: relative;
  z-index: 5;
}
.arrow {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--white);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: grid;
  place-items: center;
  transition: background-color .3s ease;
}
.arrow::after {
  content: "";
  width: .6rem;
  height: .6rem;
  border-right: 3px solid var(--white);
  border-bottom: 3px solid var(--white);
  transform: translateY(-2px) rotate(45deg);
}
.arrow:hover, .arrow:focus-visible { background: rgba(255,255,255,.5); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  background: var(--navy) url("images/hero-bg.jpg") center / cover no-repeat;
}
.hero__pyramid {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: url("images/hero-pyramid.png") left center / contain no-repeat;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem 0 1.5rem;
}
.topbar__logo img { height: clamp(3rem, 6vw, 4rem); width: auto; }

.btn-login {
  color: var(--yellow);
  border: 1px solid var(--yellow);
  text-decoration: none;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  padding: .4rem clamp(1.5rem, 3vw, 3rem);
  transition: background-color .3s ease-in;
}
.btn-login:hover, .btn-login:focus-visible { background: rgba(255,196,13,.25); }

.hero__content {
  flex: 1;
  padding-top: 6rem;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}
.hero__title {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.15;
  font-size: clamp(2.25rem, 7vw, 5rem);
  padding-left: clamp(1.5rem, 10vw, 10rem);
}
.hero__tagline {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: clamp(1.75rem, 5vw, 4rem);
  padding-left: clamp(3rem, 16vw, 16rem);
  margin-top: .25rem;
}

/* ---------- Content panels ---------- */
.panel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.panel--blue { background: var(--steel); }
.panel--red  { background: var(--red); }

.panel__art {
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
  max-width: 50%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.panel__art--right { right: 0; object-position: left; }
.panel__art--left  { left: 0;  object-position: right; }

.panel__inner {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.panel__body { padding-top: clamp(1.5rem, 8vw, 8rem); max-width: 1000px; }

/* Two-column layout for "So Much More" */
.columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 3rem;
  margin-bottom: 1.5rem;
}
.columns > div { padding-bottom: 1.5rem; }
@media (min-width: 768px) { .columns { grid-template-columns: 1fr 1fr; } }

/* ---------- Checklists ---------- */
.checklist {
  list-style: none;
  display: grid;
  gap: .5rem 3rem;
  margin-bottom: 1.5rem;
}
.checklist--two-col { grid-template-columns: 1fr; }
@media (min-width: 768px) { .checklist--two-col { grid-template-columns: 1fr 1fr; } }

.checklist li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .3rem .5rem;
  font-size: .875rem;
  line-height: 1.4;
}
.checklist li::before {
  content: "";
  flex: 0 0 1rem;
  height: 1rem;
  background: center / contain no-repeat;
}
.checklist--blue li { background: linear-gradient(90deg, var(--navy-2) 35%, rgba(255,255,255,0)); }
.checklist--blue li::before { background-image: url("images/check-blue.png"); }
.checklist--white li { background: linear-gradient(90deg, rgba(255,255,255,.25) 35%, rgba(255,255,255,0)); }
.checklist--white li::before { background-image: url("images/check-red.png"); }

/* ---------- Closing section ---------- */
.closing {
  background: var(--navy) url("images/footer-bg.png") right center / cover no-repeat;
  padding: 5rem 0 6rem;
}
.closing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 1rem;
}
@media (min-width: 1024px) { .closing__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .closing__grid { grid-template-columns: 1fr 2fr; } }

.stack {
  display: flex;
  flex-direction: column;
  font-size: 1.5rem;
  line-height: 1.35;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.phone {
  display: inline-block;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  padding: 1.5rem 0;
  text-decoration: none;
}
.phone:hover { color: var(--yellow); }

.closing__partners {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}
.partners__label { font-size: 1.25rem; font-style: italic; }
.closing__partners img { width: 16rem; height: auto; }

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .5rem 1rem;
  padding: 1.25rem var(--gutter);
  font-size: .875rem;
  background: #071628;
}
.site-footer a { text-decoration: none; opacity: .85; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.back-to-top { margin-left: auto; }
@media (max-width: 600px) { .back-to-top { margin-left: 0; width: 100%; text-align: center; } }

/* ---------- OneTrust "Cookie Settings" button ----------
   OneTrust injects its own styles for #ot-sdk-btn, so these use
   !important to keep the button looking like the other footer links. */
.site-footer #ot-sdk-btn.ot-sdk-show-settings {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  color: var(--white) !important;
  font: inherit !important;
  font-size: .875rem !important;
  line-height: inherit !important;
  opacity: .85;
  cursor: pointer;
  white-space: nowrap;
}
.site-footer #ot-sdk-btn.ot-sdk-show-settings:hover {
  background: none !important;
  color: var(--white) !important;
  opacity: 1;
  text-decoration: underline;
}

/* ---------- Small screens ---------- */
@media (max-width: 767px) {
  .topbar { padding: 1rem var(--gutter) 0; }
  .hero__content { padding-top: 4rem; }
  .panel__art { opacity: .35; }
}
