/* Boulder Tech Lab: Bootstrap 5, in the logo's blues on a deep navy, with plenty of air. */

:root {
  --btl-navy: #0a1426;
  --btl-navy-2: #101d36;
  --btl-blue: #0b57d0;
  --btl-sky: #1aa3f5;
  --btl-ink: #1b2433;
  --btl-muted: #5b6678;
  --btl-line: #e3e8f0;
  --btl-paper: #f5f8fc;
  --bs-primary: var(--btl-blue);
  --bs-link-color: var(--btl-blue);
  --bs-link-hover-color: #0846a8;
  --bs-body-color: var(--btl-ink);
  --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  font-size: 16px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fff;
}

main {
  flex: 1 0 auto;
}

h1, h2, h3, .display-5 {
  letter-spacing: -0.02em;
  font-weight: 700;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  z-index: 1100;
  background: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
}

:focus-visible {
  outline: 3px solid var(--btl-sky);
  outline-offset: 2px;
}

/* ---- Buttons ---- */

.btn-primary {
  --bs-btn-bg: var(--btl-blue);
  --bs-btn-border-color: var(--btl-blue);
  --bs-btn-hover-bg: #0846a8;
  --bs-btn-hover-border-color: #0846a8;
  --bs-btn-active-bg: #073c90;
}

.btn-accent {
  color: #fff;
  background: linear-gradient(135deg, var(--btl-blue), var(--btl-sky));
  border: 0;
}

.btn-accent:hover, .btn-accent:focus-visible {
  color: #fff;
  filter: brightness(1.08);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover, .btn-ghost:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ---- Navigation ---- */

.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--btl-line);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.site-nav .navbar-brand {
  color: var(--btl-navy);
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-nav .navbar-brand:hover, .site-nav .navbar-brand:focus-visible {
  color: var(--btl-blue);
}

/* ---- The dark bands: the home page's hero, the other pages' headers ---- */

.hero, .page-header {
  color: #fff;
  background:
    radial-gradient(60rem 30rem at 85% 20%, rgba(26, 163, 245, 0.18), transparent 60%),
    radial-gradient(40rem 25rem at 10% 90%, rgba(11, 87, 208, 0.25), transparent 60%),
    var(--btl-navy);
}

.hero {
  padding: 5rem 0 5.5rem;
}

.hero .lead, .page-header .lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2rem;
}

.hero-logo {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 0 60px rgba(26, 163, 245, 0.35));
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--btl-sky);
  margin-bottom: 0.75rem;
}

.page-header {
  padding: 3.5rem 0 3rem;
}

/* ---- The home page: a few words, with room around them ---- */

.home-intro {
  padding: 6rem 0;
}

/* The photo beside the words on wide screens; above them on narrow ones. */
.home-row {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.home-photo {
  flex: 0 0 auto;
  width: 22.5rem;
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

@media (max-width: 767.98px) {
  .home-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

.home-lead {
  max-width: 22.5rem; /* as wide as the photo beside it */
  margin-bottom: 0.75rem;
  font-size: 1.04rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--btl-navy);
}

.home-tagline {
  margin-bottom: 0;
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--btl-blue);
}

/* "Brighter colors": the letters filled with a rainbow. */
.tagline-colors {
  background: linear-gradient(90deg, #e5352b, #f28c18, #f2c40f, #2fae4f, #1a8fe3, #5b4fd8, #a23ccf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* "whiter whites": pure white letters, drawn round with a thin navy line so they show on the white page. */
.tagline-whites {
  color: #fff;
  -webkit-text-stroke: 1px var(--btl-navy);
  paint-order: stroke fill;
}

@media (max-width: 575.98px) {
  .home-intro {
    padding: 3.5rem 0;
  }

  .home-lead {
    font-size: 1.04rem;
  }
}

/* ---- Sections ---- */

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--btl-paper);
  border-top: 1px solid var(--btl-line);
  border-bottom: 1px solid var(--btl-line);
}

.section-intro {
  max-width: 46rem;
  color: var(--btl-muted);
  font-size: 1.1rem;
}

.quote-band {
  background: var(--btl-navy-2);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.quote-band p {
  font-size: 1.35rem;
  max-width: 44rem;
  margin: 0 auto;
}

.quote-band em {
  color: var(--btl-sky);
  font-style: normal;
}

/* ---- Cards ---- */

.feature {
  height: 100%;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--btl-line);
  border-radius: 0.9rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 2rem rgba(10, 20, 38, 0.08);
}

.feature h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature p {
  color: var(--btl-muted);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 0.7rem;
  color: #fff;
  background: linear-gradient(135deg, var(--btl-blue), var(--btl-sky));
}

.feature-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.checks {
  list-style: none;
  padding-left: 0;
}

.checks li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.45rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.85rem;
  height: 0.5rem;
  border-left: 2px solid var(--btl-blue);
  border-bottom: 2px solid var(--btl-blue);
  transform: rotate(-45deg);
}

.badge-soon {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--btl-blue);
  background: rgba(11, 87, 208, 0.1);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}

/* ---- Call to action ---- */

.cta {
  border-radius: 1.25rem;
  padding: 3rem;
  color: #fff;
  background:
    radial-gradient(30rem 18rem at 90% 10%, rgba(26, 163, 245, 0.3), transparent 60%),
    var(--btl-navy);
}

.cta p {
  color: rgba(255, 255, 255, 0.82);
}

/* ---- Footer ---- */

.site-footer {
  flex-shrink: 0;
  padding: 3.5rem 0 2rem;
  color: var(--btl-muted);
  background: #fff;
  border-top: 1px solid var(--btl-line);
}

.site-footer strong {
  color: var(--btl-navy);
}

.site-footer a {
  color: var(--btl-ink);
  text-decoration: none;
}

.site-footer a:hover, .site-footer a:focus-visible {
  color: var(--btl-blue);
  text-decoration: underline;
}

.footer-legal {
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--btl-line);
  font-size: 0.6875rem; /* 11 px: fine print, the smallest that still reads comfortably */
  color: var(--btl-muted);
}

@media (prefers-reduced-motion: reduce) {
  .feature, .feature:hover {
    transition: none;
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding: 3.5rem 0 4rem;
  }

  .cta {
    padding: 2rem 1.5rem;
  }
}

/* Cards stacked in a sidebar keep their own height (cards side by side in a row fill it). */
.feature-stack .feature {
  height: auto;
}

/* Stacked under the text on narrower screens, the logo needn't fill the screen. */
@media (max-width: 991.98px) {
  .hero-logo {
    max-width: 220px;
  }
}
