/* TutorsLit public-site visual refresh
   Shared by the home page and Learning Tips landing page.
   The visual source of truth is the redesigned searchable Tips page. */

:root {
  --brand-navy: #3d5c9d;
  --brand-blue: #377dc0;
  --brand-deep: #223b72;
  --brand-ink: #14213d;
  --brand-pale: #eef5fc;
  --brand-soft: #dceafb;
  --page-bg: #f2f5fa;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --text-strong: #17233a;
  --text-muted: #61708a;
  --line: #d9e2ee;
  --line-strong: #c5d3e4;
  --shadow-sm: 0 8px 24px rgba(34, 59, 114, .08);
  --shadow: 0 20px 55px rgba(34, 59, 114, .13);
  --shadow-hover: 0 28px 68px rgba(34, 59, 114, .18);
  --radius-lg: 22px;
  --radius-md: 14px;
  --site-max: 1240px;
}

.site-home,
.site-learning-tips {
  margin: 0;
  min-height: 100vh;
  color: var(--text-strong);
  background:
    radial-gradient(circle at 7% 20%, rgba(55, 125, 192, .08), transparent 25rem),
    linear-gradient(180deg, #f8fafd 0%, var(--page-bg) 48%, #edf2f8 100%);
}

.site-home *,
.site-learning-tips * { box-sizing: border-box; }

.site-home .container,
.site-learning-tips .container {
  width: min(var(--site-max), calc(100% - 40px));
  margin-inline: auto;
}

.site-home a,
.site-learning-tips a { text-underline-offset: 3px; }

/* Shared navigation */
.site-home .header,
.site-learning-tips .header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(197, 211, 228, .78);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 6px 22px rgba(34, 59, 114, .06);
  backdrop-filter: blur(16px);
}

.site-home .nav,
.site-learning-tips .nav {
  min-height: 78px;
  gap: 18px;
}

.site-home .logo-img,
.site-learning-tips .logo-img {
  width: auto;
  height: 46px;
  display: block;
}

.site-home .nav-links,
.site-learning-tips .nav-links,
.site-home .nav-right,
.site-learning-tips .nav-right {
  gap: 14px;
}

.site-home .nav-links a,
.site-learning-tips .nav-links a,
.site-home .tips-link,
.site-learning-tips .tips-link {
  position: relative;
  padding-block: 10px;
  color: #40506b;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-home .nav-links a::after,
.site-learning-tips .nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-blue));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.site-home .nav-links a:hover,
.site-learning-tips .nav-links a:hover,
.site-home .tips-link:hover,
.site-learning-tips .tips-link:hover { color: var(--brand-deep); }

.site-home .nav-links a:hover::after,
.site-learning-tips .nav-links a:hover::after { transform: scaleX(1); }

.site-home .tips-link,
.site-learning-tips .tips-link {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--brand-pale);
  color: var(--brand-deep);
}

.site-home .social-icon,
.site-learning-tips .social-icon {
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 50%;
  color: #52637e;
  transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease;
}

.site-home .social-icon:hover,
.site-learning-tips .social-icon:hover {
  color: #fff;
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  transform: translateY(-2px);
}

.site-home .nav-right > .btn,
.site-learning-tips .nav-right > .btn {
  min-height: 42px;
  margin: 0;
  padding: 10px 16px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  box-shadow: 0 11px 24px rgba(55, 125, 192, .24);
}

.site-home .hamburger,
.site-learning-tips .hamburger {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.site-home .mobile-nav,
.site-learning-tips .mobile-nav {
  z-index: 99;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .98);
  box-shadow: var(--shadow-sm);
}

.site-home .mobile-link,
.site-learning-tips .mobile-link {
  color: var(--text-strong);
  font-weight: 700;
}

/* Shared button language */
.site-home .btn,
.site-learning-tips .btn,
.site-learning-tips .tips-hero-action {
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  box-shadow: 0 11px 24px rgba(55, 125, 192, .25);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.site-home .btn:hover,
.site-learning-tips .btn:hover,
.site-learning-tips .tips-hero-action:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(55, 125, 192, .32);
}

.site-home .btn-outline {
  border-color: rgba(255, 255, 255, .42);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.site-home .btn-outline:hover {
  border-color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .16);
}

/* Shared typography and section rhythm */
.site-home section:not(.hero),
.site-learning-tips main > section:not(.tips-hero) {
  position: relative;
  padding: 48px 0;
}

.site-home section.alt,
.site-learning-tips section.alt {
  border-block: 1px solid rgba(197, 211, 228, .52);
  background:
    radial-gradient(circle at 88% 18%, rgba(55, 125, 192, .08), transparent 23rem),
    linear-gradient(180deg, #f7f9fc 0%, #edf3fa 100%);
}

.site-home .h2,
.site-learning-tips .h2 {
  margin: 0;
  max-width: 820px;
  color: var(--brand-ink);
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.site-home .h2::before,
.site-learning-tips .h2::before {
  display: block;
  margin-bottom: 12px;
  color: var(--brand-blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-home #products .h2::before { content: "Curriculum"; }
.site-home #how .h2::before { content: "Learning Model"; }
.site-home #platform .h2::before { content: "Built to Scale"; }
.site-home #why .h2::before { content: "The Difference"; }
.site-home #team .h2::before { content: "People Behind the Platform"; }
.site-home #cta .h2::before { content: "Start a Conversation"; color: #9ed0f7; }
.site-learning-tips main > section:nth-of-type(2) .h2::before { content: "The Need"; }
.site-learning-tips main > section:nth-of-type(3) .h2::before { content: "Learning Science"; }
.site-learning-tips #example-tips .h2::before { content: "See Them in Action"; }
.site-learning-tips main > section:nth-of-type(5) .h2::before { content: "Put Tips to Work"; }
.site-learning-tips #collections .h2::before { content: "Search by Classroom Need"; }
.site-learning-tips .cta .h2::before { content: "Connect with TutorsLit"; color: #9ed0f7; }

.site-home .lead,
.site-learning-tips main > section:not(.tips-hero) .lead {
  max-width: 960px;
  color: var(--text-muted);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.72;
}

.site-home section p,
.site-home section li,
.site-learning-tips main > section:not(.tips-hero) p,
.site-learning-tips main > section:not(.tips-hero) li {
  line-height: 1.7;
}

/* Shared cards */
.site-home .card,
.site-learning-tips .card,
.site-learning-tips .collection-card,
.site-learning-tips .resource-box,
.site-learning-tips .use-case,
.site-learning-tips .video-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(197, 211, 228, .82);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.site-home .card::before,
.site-learning-tips .card::before,
.site-learning-tips .collection-card::before,
.site-learning-tips .resource-box::before,
.site-learning-tips .use-case::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--brand-navy), var(--brand-blue));
}

.site-home .card:hover,
.site-learning-tips .card:hover,
.site-learning-tips .collection-card:hover,
.site-learning-tips .resource-box:hover,
.site-learning-tips .use-case:hover,
.site-learning-tips .video-card:hover {
  border-color: #b8cce3;
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.site-home .card-body,
.site-learning-tips .card-body { padding: 26px; }

.site-home .card-title,
.site-learning-tips .card-title {
  color: var(--brand-ink);
  font-size: 19px;
  line-height: 1.28;
  letter-spacing: -.015em;
}

.site-home .muted,
.site-learning-tips main .muted { color: var(--text-muted); }

.site-home .icon-box {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border: 1px solid #c8d9ec;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  box-shadow: 0 10px 22px rgba(55, 125, 192, .2);
}

/* Home hero */
.site-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 565px;
  padding: 36px 0 42px;
  color: #fff;
  background: linear-gradient(128deg, #263f7b 0%, var(--brand-navy) 49%, #2f6eae 100%);
}

.site-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .42;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.site-home .hero-bg {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -3;
  width: 53%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;

  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.site-home .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .98;
  background:
    linear-gradient(90deg, rgba(38, 63, 123, 1) 0%, rgba(61, 92, 157, .98) 48%, rgba(47, 110, 174, .74) 72%, rgba(20, 33, 61, .34) 100%), linear-gradient(180deg, rgba(20, 33, 61, .06), rgba(20, 33, 61, .28));
}

.site-home .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.site-home .chip,
.site-learning-tips .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: rgba(255, 255, 255, .88);
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 8px 24px rgba(13, 28, 61, .12);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.site-home .hero .h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.01;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.site-home .hero .underline {
  position: relative;
  color: #d9eeff;
}

.site-home .hero .underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.08em;
  height: .12em;
  border-radius: 999px;
  background: #8ec5f4;
  box-shadow: 0 0 20px rgba(142, 197, 244, .55);
}

.site-home .hero .lead {
  max-width: 700px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.62;
}

.site-home .hero .buttons { gap: 12px; }
.site-home .hero .btn-lg { min-height: 50px; padding: 13px 19px; }

.site-home .hero .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-home .hero .pill {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  color: rgba(255, 255, 255, .82);
  background: rgba(20, 33, 61, .18);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(7px);
}

.site-home .aspect {
  filter: drop-shadow(0 28px 54px rgba(9, 26, 58, .35));
}

.site-home .demo-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(12, 29, 63, .38);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.site-home .demo-inner {
  color: var(--brand-ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(238, 245, 252, .96));
}

.site-home .demo-inner svg { color: var(--brand-blue); }

/* Home content */
.site-home .works-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.site-home .works-img {
  width: 100%;
  border: 1px solid #c8d7e8;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(34, 59, 114, .13);
  transition: transform .22s ease, box-shadow .22s ease;
}

.site-home .works-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(34, 59, 114, .18);
}

.site-home .grid-3 {
  gap: 20px;
}

.site-home #products .card {
  min-height: 100%;
}

.site-home .product-img {
  display: block;
  width: 100%;
  margin-top: 20px;
  border: 1px solid #d1deec;
  border-radius: 15px;
  box-shadow: 0 12px 28px rgba(34, 59, 114, .1);
}

.site-home #how .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-home #how .pill {
  padding: 9px 13px;
  border: 1px solid #c8d9ec;
  border-radius: 999px;
  color: var(--brand-deep);
  background: var(--brand-pale);
  font-size: 13px;
  font-weight: 750;
}

.site-home #why .two-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-home #team .carousel {
  margin-top: 34px;
  padding: 10px 54px;
}

.site-home .member-card {
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(197, 211, 228, .82);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.site-home .avatar {
  width: 116px;
  height: 116px;
  border: 5px solid #fff;
  outline: 2px solid #c9d9eb;
  box-shadow: 0 16px 34px rgba(34, 59, 114, .16);
}

.site-home .member-name { color: var(--brand-ink); }
.site-home .member-role,
.site-home .member-link { color: var(--brand-blue); font-weight: 750; }

.site-home .carousel-btn,
.site-learning-tips .carousel-btn {
  width: 44px;
  height: 44px;
  border: 1px solid #bfd1e5;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  box-shadow: 0 10px 24px rgba(55, 125, 192, .24);
}

.site-home .dot.active,
.site-home .dots button.active,
.site-learning-tips .carousel-dot.active {
  background: var(--brand-blue);
}

/* Learning Tips hero */
.site-learning-tips .tips-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 44px 0 68px;
  color: #fff;
  background: linear-gradient(128deg, #263f7b 0%, var(--brand-navy) 52%, #2f6eae 100%);
}

.site-learning-tips .tips-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .4;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
}

.site-learning-tips .tips-hero-bg {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 1;
  width: 43%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .88;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.site-learning-tips .tips-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(38, 63, 123, 1) 0%, rgba(61, 92, 157, .98) 48%, rgba(47, 110, 174, .72) 72%, rgba(20, 33, 61, .35) 100%),
    linear-gradient(180deg, rgba(20, 33, 61, .04), rgba(20, 33, 61, .3));
}

.site-learning-tips .tips-hero .container { z-index: 3; }

.site-learning-tips .back-link {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 750;
}

.site-learning-tips .back-link:hover { color: #fff; }

.site-learning-tips .tips-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.site-learning-tips .tips-hero .h1 {
  max-width: 730px;
  margin: 14px 0 16px;
  color: #fff;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.02;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.site-learning-tips .tips-hero .lead {
  max-width: 710px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.65;
}

.site-learning-tips .tips-hero p {
  color: rgba(255, 255, 255, .78);
  line-height: 1.65;
}

.site-learning-tips .tips-social-links { gap: 9px; }

.site-learning-tips .tips-social-link {
  min-height: 39px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
}

.site-learning-tips .tips-social-link:hover {
  border-color: rgba(255, 255, 255, .68);
  color: #fff;
  background: rgba(255, 255, 255, .16);
}

.site-learning-tips .tips-hero-actions { margin-top: 24px; }

.site-learning-tips .tips-hero-action.primary {
  border-color: #fff;
  color: var(--brand-deep);
  background: #fff;
  box-shadow: 0 14px 30px rgba(17, 35, 73, .24);
}

.site-learning-tips .tips-hero-action.primary:hover {
  color: var(--brand-deep);
  background: #f6fbff;
}

.site-learning-tips .tips-hero-action:not(.primary) {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.site-learning-tips .tips-highlight {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 24px;
  background: rgba(15, 31, 67, .3);
  box-shadow: 0 26px 60px rgba(8, 25, 58, .26);
  backdrop-filter: blur(14px);
}

.site-learning-tips .tips-highlight .card-title,
.site-learning-tips .tips-highlight p { color: #fff; }

.site-learning-tips .tips-stat-grid { gap: 11px; }

.site-learning-tips .tips-stat {
  min-height: 156px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 17px;
  box-shadow: 0 14px 34px rgba(8, 25, 58, .22);
}

.site-learning-tips .tips-stat::before {
  background: linear-gradient(180deg, rgba(20, 33, 61, .08), rgba(20, 33, 61, .82));
}

/* Learning Tips content */
.site-learning-tips .video-carousel { margin-top: 28px; }

.site-learning-tips .video-carousel-window {
  overflow: visible;
  border-radius: 0;
}

.site-learning-tips .video-carousel-track { padding: 6px 6px 22px; }

.site-learning-tips .video-card {
  border-top: 5px solid var(--brand-blue);
}

.site-learning-tips .tips-video { background: var(--brand-ink); }

.site-learning-tips .video-body { padding: 18px; }

.site-learning-tips .video-body h3 {
  color: var(--brand-ink);
  font-size: 16px;
  line-height: 1.38;
}

.site-learning-tips .collection-grid,
.site-learning-tips .resource-grid { gap: 20px; }

.site-learning-tips .collection-card,
.site-learning-tips .resource-box { padding: 28px; }

.site-learning-tips .collection-card::before,
.site-learning-tips .collection-card.financial::before,
.site-learning-tips .resource-box::before {
  width: 5px;
  background: linear-gradient(180deg, var(--brand-navy), var(--brand-blue));
}

.site-learning-tips .collection-card.financial {
  background: linear-gradient(145deg, #fff 0%, #f4f9fe 100%);
}

.site-learning-tips .collection-tag {
  padding: 6px 9px;
  border: 1px solid #c9d9eb;
  color: var(--brand-deep);
  background: var(--brand-pale);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.site-learning-tips .text-link { color: var(--brand-blue); }

.site-learning-tips .resource-list li::marker { color: var(--brand-blue); }

.site-learning-tips .use-case-grid { gap: 16px; }

.site-learning-tips .use-case { padding: 22px; }

.site-learning-tips .carousel-controls { margin-top: 6px; }

.site-learning-tips .carousel-dot {
  width: 10px;
  height: 10px;
  background: #becde0;
}

.site-learning-tips .carousel-dot.active {
  width: 30px;
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-blue));
}

/* Shared CTA and footer */
.site-home .cta,
.site-learning-tips .cta {
  overflow: hidden;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 16% 0, rgba(142, 197, 244, .24), transparent 26rem),
    radial-gradient(circle at 84% 110%, rgba(55, 125, 192, .48), transparent 28rem),
    linear-gradient(135deg, #263f7b, var(--brand-navy) 52%, #2f6eae);
}

.site-home .cta::before,
.site-learning-tips .cta::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .3;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 34px 34px;
}

.site-home .cta .container,
.site-learning-tips .cta .container { position: relative; z-index: 1; }

.site-home .cta .h2,
.site-learning-tips .cta .h2 {
  margin-inline: auto;
  color: #fff;
}

.site-home .cta .lead,
.site-learning-tips .cta .lead { color: rgba(255, 255, 255, .82) !important; }

.site-home .cta .btn,
.site-learning-tips .cta .btn {
  color: var(--brand-deep);
  background: #fff;
  box-shadow: 0 14px 30px rgba(13, 28, 61, .24);
}

.site-home .cta .btn:hover,
.site-learning-tips .cta .btn:hover {
  color: var(--brand-deep);
  background: #f4f9fe;
}

.site-home .footer,
.site-learning-tips .footer {
  border-top: 4px solid var(--brand-blue);
  color: rgba(255, 255, 255, .75);
  background:
    radial-gradient(circle at 15% 0, rgba(55, 125, 192, .26), transparent 24rem),
    var(--brand-ink);
}

.site-home .footer-grid,
.site-learning-tips .footer-grid {
  min-height: 150px;
  padding-block: 34px;
}

.site-home .footer .logo,
.site-learning-tips .footer .logo {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
}

.site-home .footer .logo-img1,
.site-learning-tips .footer .logo-img1 { height: 42px; width: auto; }

.site-home .footer .muted,
.site-learning-tips .footer .muted { color: rgba(255, 255, 255, .56); }

.site-home .footer-links,
.site-learning-tips .footer-links { gap: 10px 18px; }

.site-home .footer-links a,
.site-learning-tips .footer-links a {
  color: rgba(255, 255, 255, .74);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.site-home .footer-links a:hover,
.site-learning-tips .footer-links a:hover { color: #fff; }

/* Responsive */
@media (max-width: 1080px) {
  .site-home .hero-grid,
  .site-learning-tips .tips-layout {
    grid-template-columns: 1fr;
  }

  .site-home .hero-bg {
    width: 56%;
    opacity: .42;
  }

  .site-home .demo-card {
    max-width: 760px;
    transform: none;
  }

  .site-learning-tips .tips-hero-bg {
    width: 52%;
    opacity: .48;
  }

  .site-learning-tips .tips-highlight { max-width: 780px; }
  .site-home #why .two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .site-home section:not(.hero),
  .site-learning-tips main > section:not(.tips-hero) { padding: 70px 0; }

  .site-home .hero {
    min-height: auto;
    padding: 52px 0 60px;
  }

  .site-home .hero-bg,
  .site-learning-tips .tips-hero-bg {
    inset: auto 0 0;
    width: 100%;
    height: 230px;
    opacity: .72;
    clip-path: polygon(0 16%, 100% 0, 100% 100%, 0 100%);
  }

  .site-home .hero-overlay,
  .site-learning-tips .tips-hero-overlay {
    background: linear-gradient(180deg, rgba(38, 63, 123, 1) 0%, rgba(61, 92, 157, .98) 62%, rgba(20, 33, 61, .55) 100%);
  }

  .site-home .hero-grid { padding-bottom: 175px; }
  .site-learning-tips .tips-hero { padding-bottom: 230px; }
  .site-home .works-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .site-home .container,
  .site-learning-tips .container { width: min(var(--site-max), calc(100% - 24px)); }

  .site-home .nav,
  .site-learning-tips .nav { min-height: 68px; }

  .site-home .logo-img,
  .site-learning-tips .logo-img { height: 40px; }

  .site-home .hero .h1,
  .site-learning-tips .tips-hero .h1 { font-size: clamp(36px, 11vw, 48px); }

  .site-home .hero .lead,
  .site-learning-tips .tips-hero .lead { font-size: 16px; }

  .site-home .hero .buttons,
  .site-learning-tips .tips-hero-actions { align-items: stretch; }

  .site-home .hero .buttons .btn,
  .site-learning-tips .tips-hero-action { width: 100%; }

  .site-home .grid-3,
  .site-home #why .two-cols,
  .site-learning-tips .tips-stat-grid,
  .site-learning-tips .use-case-grid { grid-template-columns: 1fr; }

  .site-home .card-body,
  .site-learning-tips .card-body,
  .site-learning-tips .collection-card,
  .site-learning-tips .resource-box { padding: 21px; }

  .site-home #team .carousel { padding-inline: 0; }
  .site-home .carousel-btn { display: none; }

  .site-learning-tips .video-card { flex-basis: min(84vw, 350px); }

  .site-home .footer-grid,
  .site-learning-tips .footer-grid { align-items: flex-start; }

  .site-home .footer-links,
  .site-learning-tips .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .site-home *,
  .site-home *::before,
  .site-home *::after,
  .site-learning-tips *,
  .site-learning-tips *::before,
  .site-learning-tips *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* Split Team section: administrative team and tutors */
.site-home #team .team-group {
  margin-top: 34px;
}

.site-home #team .team-group + .team-group {
  margin-top: 58px;
  padding-top: 46px;
  border-top: 1px solid rgba(197, 211, 228, .9);
}

.site-home #team .team-group-header {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.site-home #team .team-group-kicker {
  margin: 0 0 8px;
  color: var(--brand-blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.site-home #team .team-group-title {
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.site-home #team .team-group-description {
  margin: 10px auto 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
}

.site-home #team .team-group .carousel {
  margin-top: 20px;
}

.site-home #team .dots button.is-active {
  background: var(--brand-blue);
}

.site-home #team .team-carousel:focus-visible {
  outline: 3px solid rgba(55, 125, 192, .32);
  outline-offset: 6px;
  border-radius: 24px;
}

@media (max-width: 700px) {
  .site-home #team .team-group + .team-group {
    margin-top: 42px;
    padding-top: 36px;
  }

  .site-home #team .team-group-description {
    font-size: 15px;
  }
}

