/**
 * styles_index.css — sCAFfold index page styles
 *
 * Requires: /css/styles_global.css (loaded first in <head>)
 * Variables, navbar, shared utilities all live in styles_global.css.
 *
 * Structure:
 *  1. Legacy styles (kept for reference, not used on scaffold-new pages)
 *  2. Index page specific styles (sc- prefixed)
 */


/* ============================================================
   1. LEGACY STYLES (reference only — not active on scaffold-new pages)
   ============================================================ */
html > body {
  animation: none;
  animation-delay: 0;
  animation-direction: normal;
  animation-duration: 0;
  animation-fill-mode: none;
  animation-iteration-count: 1;
  animation-name: none;
  animation-play-state: running;
  animation-timing-function: ease;
  backface-visibility: visible;
  background: 0;
  background-attachment: scroll;
  background-clip: border-box;
  background-color: transparent;
  background-image: none;
  background-origin: padding-box;
  background-position: 0 0;
  background-position-x: 0;
  background-position-y: 0;
  background-repeat: repeat;
  background-size: auto auto;
  border: 0;
  border-style: none;
  border-width: medium;
  border-color: inherit;
  border-bottom: 0;
  border-bottom-color: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-style: none;
  border-bottom-width: medium;
  border-collapse: separate;
  border-image: none;
  border-left: 0;
  border-left-color: inherit;
  border-left-style: none;
  border-left-width: medium;
  border-radius: 0;
  border-right: 0;
  border-right-color: inherit;
  border-right-style: none;
  border-right-width: medium;
  border-spacing: 0;
  border-top: 0;
  border-top-color: inherit;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top-style: none;
  border-top-width: medium;
  bottom: auto;
  box-shadow: none;
  box-sizing: content-box;
  caption-side: top;
  clear: none;
  clip: auto;
  color: inherit;
  columns: auto;
  column-count: auto;
  column-fill: balance;
  column-gap: normal;
  column-rule: medium none currentColor;
  column-rule-color: currentColor;
  column-rule-style: none;
  column-rule-width: none;
  column-span: 1;
  column-width: auto;
  content: normal;
  counter-increment: none;
  counter-reset: none;
  cursor: auto;
  direction: ltr;
  display: inline;
  empty-cells: show;
  float: none;
  font: normal;
  font-family: inherit;
  font-size: medium;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  height: auto;
  hyphens: none;
  left: auto;
  letter-spacing: normal;
  line-height: normal;
  list-style: none;
  list-style-image: none;
  list-style-position: outside;
  list-style-type: disc;
  margin: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  max-height: none;
  max-width: none;
  min-height: 0;
  min-width: 0;
  opacity: 1;
  orphans: 0;
  outline: 0;
  outline-color: invert;
  outline-style: none;
  outline-width: medium;
  overflow: visible;
  overflow-x: visible;
  overflow-y: visible;
  padding: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  page-break-after: auto;
  page-break-before: auto;
  page-break-inside: auto;
  perspective: none;
  perspective-origin: 50% 50%;
  position: static;
  quotes: '\201C' '\201D' '\2018' '\2019';
  right: auto;
  tab-size: 8;
  table-layout: auto;
  text-align: inherit;
  text-align-last: auto;
  text-decoration: none;
  text-decoration-color: inherit;
  text-decoration-line: none;
  text-decoration-style: solid;
  text-indent: 0;
  text-shadow: none;
  text-transform: none;
  top: auto;
  transform: none;
  transform-style: flat;
  transition: none;
  transition-delay: 0s;
  transition-duration: 0s;
  transition-property: none;
  transition-timing-function: ease;
  unicode-bidi: normal;
  vertical-align: baseline;
  visibility: visible;
  white-space: normal;
  widows: 0;
  width: auto;
  word-spacing: normal;
  z-index: auto;
  font-family: "Open Sans", 'PT Serif Caption', 'Helvetica', 'Arial', sans-serif !important;
}

#reset-this-root {
  all: initial;
  * { all: unset; }
}

.hidden { display: none; }

#bigEVOKE {
  height: 63vh;
  position: relative;
  background-color: color(srgb 0.9163 0.9163 0.9176);
}

#bigEvoke img { height: inherit; object-fit: scale-down; }
#bigEvoke video { height: inherit; object-fit: cover; }

.center_img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-top: 4vh;
  height: 60vh;
  width: 40%;
  object-fit: contain;
}

.header {
  position: fixed;
  top: 0;
  padding: 10px 16px;
  background: white;
  color: color(srgb 0.2686 0.3119 0.3572);
  height: 100px;
  max-height: 100px;
  width: 99%;
  box-shadow: 0px 2px 7px 1px grey;
  z-index: 9;
}

.header-nonstick {
  position: absolute;
  float: left;
  top: 0;
  padding: 10px 16px;
  background: none;
  color: color(srgb 0.2686 0.3119 0.3572);
  height: 100px;
  width: 98%;
  z-index: 9;
}

.center_left { float: left; margin-top: auto; margin-bottom: auto; }
.bottom_right { float: right; margin-top: auto; margin-bottom: 10px; height: inherit; }
.banner_img { height: inherit; object-fit: scale-down; }

.nav-button {
  text-decoration: none;
  color: color(srgb 0.2686 0.3119 0.3572);
}

nav {
  position: absolute;
  bottom: 0;
  right: 0px;
  margin-right: 40px;
  margin-bottom: 10px;
  padding-bottom: 0.7%;
  height: inherit;
  width: 20%;
}
nav.smol { width: 5%; }
nav a { height: inherit; width: 100%; text-align: center; overflow: hidden; margin-bottom: 10px; }
nav div { width: 28%; height: inherit; display: inline-block; }

.nav_logo_half {
  position: relative;
  top: 22px;
  left: 12%;
  height: 90%;
  object-fit: scale-down;
  margin: auto;
}

nav .nav-txt { width: 100%; margin-bottom: 1px; position: relative; top: -25px; left: 0.70vw; }
nav.smol .nav-txt { left: 3.15vh; }

#body-text { width: 80%; margin-left: 10%; }

h1.titles { font-size: 38px; line-height: 1.2; text-align: left; }
h1 { display: inline-block; }
h1.titles::before {
  content: "";
  display: inline-block;
  position: relative;
  top: calc(-.1 * 1em);
  vertical-align: middle;
  height: calc(4px + 0.7em);
  margin-right: calc(4px + .1em);
  border-left: calc(5px + .1em) solid #3E92CC;
}

.headed-paragraph { position: relative; margin-top: 2vh; padding-bottom: 1vh; color: color(srgb 0.2686 0.3119 0.3572); }
.paragraph-head { height: 100%; width: 20%; display: inline-block; position: relative; margin-top: 15px; top: 0px; left: 0px; vertical-align: top; }
.paragraph-text { margin-left: 2%; padding-top: 28px; height: 100%; width: 75%; display: inline-block; margin: auto; vertical-align: top; }
.paragraph-text bold { font-weight: 600; }

.wrap { width: 75%; margin: 0 auto; overflow: hidden; display: inline-block; margin-left: 2%; padding-top: 28px; }
.carousel { display: flex; left: -100%; list-style: none; margin: 0; padding: 0; position: relative; transform: translateX(100%); }

@media (min-width: 30em) { .carousel { left: -50%; transform: translateX(50%); } }
@media (min-width: 40em) { .carousel { left: -33.33333%; transform: translateX(33.33333%); } }
.carousel.is-reversing { transform: translateX(-100%); }
@media (min-width: 30em) { .carousel.is-reversing { transform: translateX(-50%); } }
@media (min-width: 40em) { .carousel.is-reversing { transform: translateX(-33.33333%); } }

.not-visible { padding-top: 0%; margin-top: 0%; height: 0%; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s ease; }
.hidden-fade.visible { opacity: 1; visibility: visible; height: 45%; }
.hidden-fade { -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease; }

.card-list { list-style: none; margin-bottom: 30px; }
.prep-card { position: relative; top: 0vh; left: -1vw; font-size: 13px; }
.source-card { position: relative; top: 3.5vh; left: -1vw; font-size: 20px; }
.char-card { position: relative; top: 1.5vh; left: -1vw; font-size: 17px; }
.principle-card { position: relative; top: 1.5vh; left: -1vw; font-size: 20px; }
.stat-list-spacing.visible { margin-bottom: 35px; }
.stat-list-spacing.not-visible { margin-bottom: 10px; }

.stat-box img { height: 100%; object-fit: scale-down; }
.icon-box { height: 25%; padding-top: 1vh; padding-bottom: 1vh; }

.link_logo a { height: 230px; text-decoration: none; color: #000; text-align: center; }
.link_logo { padding-top: 50px; }
.link_logo .button-text { position: relative; top: -46%; left: 12px; width: 100%; font-size: 22px; font-weight: 500; font-family: "Open Sans","PT Serif Caption","Helvetica","Arial",sans-serif; color: #000; }
.link_logo img { height: inherit; object-fit: scale-down; position: relative; margin: auto; }
.link_logo div { height: inherit; }

.button-spacer { width: 5%; display: inline-block; }
.button-center { width: 14.5%; display: inline-block; }
.button-holder { margin-top: 5vh; padding-bottom: 5vh; }
.button-box { width: 50%; height: 5vh; margin: auto; display: table-cell; vertical-align: middle; text-align: center; }
.button { cursor: pointer; }

.unmarked-list { display: inline-block; list-style: none; }
.names { display: inline-block; position: relative; top: 4px; left: 10px; }
.spacer-20 { width: 10%; display: inline-block; }
.explain { position: relative; top: -23%; left: 1%; }

footer { background-color: #7EB5DD; color: white; height: 80px; font-size: 10px; }
.footer-image { margin-top: 10px; height: 50px; display: inline-block; position: relative; top: 4%; }
.footer-image img { height: inherit; object-fit: scale-down; }
.footer-right { position: relative; right: -57vw; top: -15px; }
.footer-right a { font-size: 15px; text-decoration: none; color: #fff; }
footer div { display: inline-block; }

.mdl-layout__header { box-shadow: 0px 2px 7px 1px grey; background-color: white; }

.row-5 { display: inline-block; width: 14%; }


/* ============================================================
   3. INDEX PAGE STYLES
   Variables, navbar, shared utilities → styles_global.css
   Only index-specific styles live here.
   ============================================================ */

/* ---------- HERO ---------- */
.sc-hero {
  margin-top: var(--sc-navbar-h);
  position: relative;
  height: 380px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(120deg, var(--sc-blue-deep) 0%, var(--sc-blue-mid) 50%, #8b3a4a 100%);
}

.sc-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}

.sc-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 30, 60, 0.82) 0%,
    rgba(10, 30, 60, 0.55) 55%,
    rgba(10, 30, 60, 0.18) 100%
  );
  z-index: 1;
}

.sc-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 64px 52px 64px;
  max-width: 640px;
}

.sc-hero__title {
  font-family: var(--sc-font);
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1.15;
  display: block;
}

/* Gradient underline beneath hero title */
.sc-hero__title::after {
  content: "";
  display: block;
  height: 3px;
  width: 100%;
  margin-top: 8px;
  border-radius: 2px;
  background: linear-gradient(to right, #7ec8e3, #a8d8ea, rgba(174,214,241,0));
}

.sc-hero__subtitle {
  font-family: var(--sc-font);
  font-size: 17px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin: 0 0 26px 0;
  line-height: 1.4;
  display: block;
}

/* ---------- SHARED BUTTON ---------- */
.sc-btn {
  display: inline-block;
  font-family: var(--sc-font);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 32px;
  border-radius: 6px;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
  margin-top:10px;
}

.sc-btn--orange {
  background: var(--sc-orange);
  color: #ffffff;
}

.sc-btn--orange:hover {
  background: var(--sc-orange-hover);
  transform: translateY(-1px);
}

/* ---------- BANDS ---------- */
.sc-band {
  width: 100%;
  padding: 64px 0;
}

.sc-band--light {
  background: var(--sc-bg-light);
}

.sc-band--dark {
  background: linear-gradient(135deg, var(--sc-blue-deep) 0%, var(--sc-blue-mid) 100%);
}

.sc-band__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.sc-band--centered {
  text-align: center;
}

/* ---------- SECTION TITLES ---------- */
.sc-section-title {
  font-family: var(--sc-font);
  font-size: 28px;
  font-weight: 800;
  color: var(--sc-blue-mid);
  margin: 0 0 32px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  /* Center by default — overridden per variant below */
  justify-content: center;
}

/* Remove the old ::after blob — lines are done via flex pseudo-elements */
.sc-section-title::before,
.sc-section-title::after {
  content: "";
  flex: 1;
  height: 2px;
  border-radius: 1px;
  display: block;
}

.sc-section-title--light {

  color: #ffffff;
}

/* ── Key Features: lines on BOTH sides ── */
.sc-section-title--both-lines{
  padding-bottom:15px;
}
.sc-section-title--both-lines::before {
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.45));
}
.sc-section-title--both-lines::after {
  background: linear-gradient(to left, rgba(255,255,255,0), rgba(255,255,255,0.45));
}

/* ── Get Started: line on RIGHT side only ── */
.sc-section-title--right-line {
  justify-content: flex-start;
  padding-bottom: 4px;
}
.sc-section-title--right-line::before {
  display: none;
}
.sc-section-title--right-line::after {
  background: linear-gradient(to right, var(--sc-orange), rgba(224,120,32,0));
  max-width: 300px;
}

/* ── Reference: left border accent + line extending right ── */
.sc-section-title--left {
  justify-content: flex-start;
  /*padding-left: 14px;*/
  display: flex;
}
.sc-section-title--left::before {
  display: none;
}
.sc-section-title--left::after {
  display: block;
  background: linear-gradient(to right, rgba(126,197,221,0.6), rgba(126,197,221,0));
  max-width: 400px;
}

/* ---------- ABOUT SECTION ---------- */
.sc-about__lead {
  font-family: var(--sc-font);
  font-size: 17px;
  color: var(--sc-text-dark);
  margin: 0 0 10px 0;
  line-height: 1.65;
  display: block;
}

.sc-about__sub {
  font-family: var(--sc-font);
  font-size: 15px;
  color: var(--sc-text-mid);
  margin: 0 0 28px 0;
  display: block;
}

/* ---------- FEATURES GRID ---------- */
.sc-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sc-feature-card {
  background: var(--sc-card-bg);
  border: 1px solid var(--sc-card-border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sc-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.22);
}

.sc-feature-card__img-wrap {
  width: 100%;
  height: 160px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--sc-card-border);
}

.sc-feature-card__img-wrap img {
  height: 110px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18));
}

.sc-feature-card__title {
  font-family: var(--sc-font);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  padding: 16px 18px 8px;
  margin: 0;
  display: block;
}

.sc-feature-card__list {
  list-style: none;
  margin: 0;
  padding: 0 18px 18px;
}

.sc-feature-card__list li {
  font-family: var(--sc-font);
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.sc-check {
  color: var(--sc-orange);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- GET STARTED GRID ---------- */
.sc-getstarted-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sc-gs-card {
  background: var(--sc-bg-white);
  border: 1.5px solid #d0dce8;
  border-radius: 10px;
  padding: 32px 20px 24px;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 2px 8px rgba(26,74,122,0.06);
}

.sc-gs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(26,74,122,0.14);
  border-color: var(--sc-blue-light);
}

.sc-gs-card--disabled {
  opacity: 0.65;
  pointer-events: none;
}

.sc-gs-card__icon {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-gs-card__icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sc-gs-card__label {
  font-family: var(--sc-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--sc-blue-mid);
  line-height: 1.35;
}

.sc-gs-card__label small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #888;
  margin-top: 3px;
}

/* ---------- REFERENCE ---------- */
.sc-band--reference {
  padding: 40px 0;
}

.sc-reference {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 18px;
  background: rgba(224,120,32,0.07);
  border: 2px solid rgba(224,120,32,0.15);
  border-radius: 8px;
  padding: 20px 24px;
}

.sc-reference__icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  padding: 4px;
}

.sc-reference__text {
  font-family: var(--sc-font);
  font-size: 14px;
  /*color: rgba(255,255,255,0.88);*/
  line-height: 1.65;
  margin: 0;
  font-style: italic;
}

.sc-reference__text small {
  font-style: normal;
  /*color: rgba(255,255,255,0.55);*/
}

/* ---------- FOOTER DECO BAND ---------- */
.sc-footer-deco {
  height: 80px;
  background: linear-gradient(
    to bottom right,
    rgba(180,60,80,0.35) 0%,
    rgba(10,30,60,0.0) 100%
  ),
  linear-gradient(135deg, var(--sc-blue-deep) 0%, #7a1a2a 100%);
}

/* ---------- FOOTER ---------- */
.sc-footer {
  background: var(--sc-blue-deep);
  color: rgba(255,255,255,0.75);
  font-family: var(--sc-font);
  font-size: 13px;
  padding: 2px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.sc-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.sc-footer__logo {
  height: 40px;
}

.sc-footer__logo img {
  height: 100%;
  object-fit: contain;
}

.sc-footer__copy {
  flex: 1;
}

.sc-footer__names ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sc-footer__names li {
  line-height: 1.5;
}

.sc-footer__link a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.sc-footer__link a:hover {
  color: #ffffff;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .sc-features-grid,
  .sc-getstarted-grid {
    grid-template-columns: 1fr;
  }

  .sc-hero__content {
    padding: 0 28px 36px;
  }

  .sc-hero__title {
    font-size: 28px;
  }

  .sc-navbar__nav {
    gap: 2px;
  }

  .sc-navbar__link {
    font-size: 13px;
    padding: 5px 10px;
  }
}

@media (max-width: 600px) {
  .sc-navbar__wordmark { display: none; }
  .sc-hero { height: 300px; }
  .sc-band { padding: 40px 0; }
  .sc-band__inner { padding: 0 20px; }
}
