/* =========================================================
   Kytra Analytics — Clean Stylesheet
   ========================================================= */



/* Skip link — visually hidden until focused */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--color-primary, #2a6f73);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

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

:root {
  /* Core palette */
  --color-primary: rgb(101, 97, 92);
  --color-secondary: rgb(244, 243, 239);
  --color-background: rgb(255, 255, 255);
  --color-border: rgb(221, 221, 221);
  --color-text: rgb(102, 97, 91);
  --color-title: rgb(37, 36, 34);
  --color-hover: rgb(152, 147, 141);

  /* Accents */
  --color-turquoise: rgb(133, 196, 199);
  --color-green: rgb(134, 204, 155);
  --color-yellow: rgb(246, 242, 173);
  --color-blue: rgb(167, 197, 228);
  --color-grey-blue: rgb(173, 200, 201);

  /* Status */
  --color-exceeding: rgb(167, 197, 228);
  --color-on-track: rgb(207, 249, 198);
  --color-with-support: rgb(246, 242, 173);

  /* UI tokens */
  --stroke: rgba(37, 36, 34, 0.12);
  --shadow-sm: 0 6px 18px rgba(37, 36, 34, 0.08);
  --shadow-lg: 0 18px 50px rgba(37, 36, 34, 0.10);

  /* Radius scale */
  --radius-pill: 999px;
  --radius-card: 12px;
  --radius-sm: 8px;
  --radius-circle: 50%;

  /* Layout */
  --container-max: 1360px;
  --reading-max: 760px; /* for centered readable text blocks */

  --color-muted: rgba(102, 97, 91, 0.75);

  scroll-padding-top: 76px; /* flush header: ~60px height + buffer (solid by the time an anchor is reached) */
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  padding-top: 48px; /* move it here */
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#main-content {
  background-color: #f8f9f9; /* Soft off-white */
}

html {
  scroll-behavior: smooth;
}
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Global section spacing */
section {
  padding: 2rem 0;
}

/* Global section header */
.section-header {
  margin-bottom: 1.5rem;
  text-align: left;
}

.section-kicker {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1d5c60;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.band-dark .section-kicker {
  color: #a7e0e0;
}

/* Section background bands — for alternating visual rhythm between sections */
.band-mist {
  background: #dcecec;
}

.band-dark {
  background: #123b3e;
  color: rgba(255, 255, 255, 0.85);
}

.band-dark .section-header h2,
.band-dark .section-header h3 {
  color: #fff;
}

.band-dark .section-header p {
  color: rgba(255, 255, 255, 0.75);
}

.section-header h2,
.section-header h3 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--color-text);
  max-width: 700px;
}

section[id]{
  scroll-margin-top: 84px; /* flush header: ~60px height + buffer */
}
/* =========================================================
   HEADER / NAVIGATION — SCROLL-REACTIVE
   ========================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;

  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;

  min-height: 60px;
  display: flex;
  align-items: center;
}

/* Solid state once the page has scrolled past the hero (see header.js) */
.header.is-scrolled {
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--stroke);
  box-shadow: var(--shadow-sm);
}

.nav {
  width: 100%;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 14px;
}


.logo a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none !important;
}

.logo-mark {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
}

.logo-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--color-title);
  text-decoration: none !important;
}



/* -------------------------
   Mobile Toggle
------------------------- */
.mobile-menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.5rem;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-title);
  margin: 5px 0;
  border-radius: 2px;
}

/* -------------------------
   Responsive Navigation
------------------------- */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 2rem;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--stroke);
    flex-direction: column;
    padding: 1.25rem 2rem 1.75rem;
    box-shadow: var(--shadow-lg);
    gap: 0;
  }

  /* Show menu when active */
  .nav-menu.nav-menu-active {
    display: flex;
  }

  .nav-menu li {
    border-bottom: 1px solid rgba(37, 36, 34, 0.1);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu li a {
    color: var(--color-title);
    text-align: left;
    padding: 0.9rem 0;
    width: 100%;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.01em;
  }

  .nav-menu li a:hover {
    opacity: 0.65;
  }

  .mobile-only {
    display: block !important;
  }
}

/* Desktop setting for the Home link */
.mobile-only {
  display: none;
}

/* Logo Hover Effect */
.logo a:hover .logo-name {
  opacity: 0.8;
  transition: 0.2s ease;
}

/* -------------------------
   Desktop Navigation Links
------------------------- */
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 769px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-menu li a,
  .nav-menu li a:link,
  .nav-menu li a:visited {
    color: var(--color-title);
  }
}

.nav-menu li a,
.nav-menu li a:link,
.nav-menu li a:visited {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}

.nav-menu li a:hover {
  opacity: 0.8;
}

.nav-menu li a.is-active {
  color: var(--color-title);
  font-weight: 700;
  border-bottom: 2px solid var(--color-turquoise);
  padding-bottom: 2px;
}

/* -------------------------
   Hero Layout
------------------------- */

.hero {
  background:
    radial-gradient(900px 420px at 70% 35%, rgba(115,200,204,0.12), transparent 60%),
    linear-gradient(180deg, #f7f9f9 0%, #eef3f4 100%);
  padding: 56px 0;
  border-bottom: none;
}
.integrated-teasers {
  margin-top: 60px; /* Space between the Hero grid and the cards */
  position: relative;
  z-index: 2;
}

.integrated-teasers .teaser-card {
  background: rgba(255, 255, 255, 0.9); /* Slightly translucent for a modern look */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.hero-top h1 {
  /* Slightly reducing the clamp max-end to ensure 2 lines */
  font-size: clamp(2.2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15; /* Giving it a tiny bit more breathing room vertically */
  letter-spacing: -0.02em; /* Tightens it up for a premium 'SaaS' look */
  margin-bottom: 1.15rem;
  margin-top: 0;
}


.hero-right {
  justify-self: stretch;
}


.hero-subheading {
  font-size: 1.2rem;
  max-width: 560px;
  margin-bottom: 0.85rem;
  color: var(--color-text);
  line-height: 1.8rem;
}


.hero-tagline {
  font-size: 1.05rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.hero-grid {
  display: grid;
  align-items: start;
  max-width: none;
  width: 100%;
  grid-template-columns: 1.3fr 1.5fr;
  grid-template-rows: auto 1fr;
  column-gap: clamp(2rem, 4vw, 4rem);
  row-gap: 0;
  margin: 0 auto;
}

.hero-top {
  grid-column: 1;
  grid-row: 1;
}

.hero-bottom {
  grid-column: 1;
  grid-row: 2;
}

.hero-right {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}

.hero-visual {
  padding: 0.5rem;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 30px 80px rgba(0,0,0,0.12);
  width: 100%;
  background: #fff; /* Adds a clean 'frame' look around the screenshot */
  /* REMOVED: margin-top: 10px; — this was breaking the vertical centering */
}

.hero-subheading {
  line-height: 1.6; /* Adds breathing room to the 3-line paragraph */
  margin-bottom: 1.5rem;
}


.hero-actions{
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-trust{
  margin: 0;                 /* key: removes the “paragraph” feel */
  font-size: 0.85rem;
  color: var(--color-text);  /* slightly stronger than muted */
  opacity: 0.8  ;
  max-width: 560px;
  margin-top: 0.75rem;
}


.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-card);
  filter: contrast(1.02) saturate(1.02);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home-hero-img {
  object-position: top;
  cursor: zoom-in;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-hero-img:hover,
.home-hero-img:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.14);
}

.home-hero-img:focus-visible {
  outline: 3px solid rgba(29, 156, 137, 0.35);
  outline-offset: 4px;
}

.hero-visual video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-card);
  filter: contrast(1.02) saturate(1.02);
}

.hero-video-wrap {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  line-height: 0;
}

.hero-video-wrap video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-card);
  filter: contrast(1.02) saturate(1.02);
  aspect-ratio: 16 / 9;
}

.hero-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.08);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.hero-play-btn:hover {
  background: rgba(0, 0, 0, 0.18);
}

.hero-play-btn svg {
  width: 64px;
  height: 64px;
  color: #fff;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.6));
}

.hero-video-wrap.playing .hero-play-btn {
  display: none;
}

/* Desktop: still image hidden, video always visible */
.hero-video-wrap .hero-still { display: none; }

/* Mobile: show still, hide video until playing */
@media (max-width: 900px) {
  .hero-video-wrap .hero-still {
    display: block;
    width: 100%;
    border-radius: var(--radius-card);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    filter: contrast(1.02) saturate(1.02);
  }
  .hero-video-wrap video { display: none !important; }
  .hero-video-wrap.playing .hero-still { display: none !important; }
  .hero-video-wrap.playing video { display: block !important; }
}

.hero-trust::before{
  content: "";
  margin-right: 0;
}

/* Trust bar section */
.trustbar-section {
  background: #fff;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(37, 36, 34, 0.08);
  border-bottom: 1px solid rgba(37, 36, 34, 0.08);
}

.trustbar-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.trustbar-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trustbar-divider {
  width: 1px;
  height: 100px;
  background: rgba(37, 36, 34, 0.12);
  margin: 0 2.5rem;
  flex-shrink: 0;
}

.hero-trustbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 3rem;
  flex: 1;
}

.trustbar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trustbar-item--cert {
  flex: 0 0 auto;
  gap: 0.85rem;
}

.trustbar-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-title);
  line-height: 1.35;
}

.trustbar-sep {
  width: 1px;
  height: 36px;
  background: rgba(37, 36, 34, 0.15);
  margin: 0 1.75rem;
  flex-shrink: 0;
}

.trustbar-tick {
  color: var(--color-turquoise);
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.trustbar-item span:last-child {
  font-size: 1.3rem;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .trustbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .trustbar-divider {
    display: none;
  }
  .hero-trustbar {
    gap: 1rem 2rem;
    width: 100%;
  }
  .trustbar-item span:last-child {
    font-size: 1.15rem;
  }
}

@media (max-width: 560px) {
  .hero-trustbar {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .trustbar-item span:last-child {
    font-size: 1.1rem;
  }
}

/* Mobile */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    text-align: left;
  }
  .hero-top    { grid-column: 1; grid-row: 1; }
  .hero-right  { grid-column: 1; grid-row: 2; margin-top: 1.5rem; }
  .hero-bottom { grid-column: 1; grid-row: 3; margin-top: 1.5rem; }
  .hero-actions{ align-items: flex-start; }
}

.hero-right img {
  border-radius: var(--radius-card);
  outline: 1px solid rgba(138, 191, 191, 0.2);
}
.hero .container{
  max-width: 1360px;              /* try 1320–1440 */
  padding-left: clamp(20px, 3vw, 48px);
  padding-right: clamp(20px, 3vw, 48px);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-card);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  border: 2px solid transparent;
  width: auto;
}

.btn-primary {
  background: var(--color-turquoise);
  color: var(--color-title);
  border: none;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  display: inline-block;
  width: auto;
}

.btn-primary:hover {
  transform: translateY(-1px);
}



.btn-secondary {
  background-color: transparent;
  color: var(--color-title);
  border-color: rgba(37,36,34,0.16);
}

.btn-secondary:hover {
  background-color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* -------------------------
   Feature Cards (top grid)
------------------------- */
.about-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.feature {
  background: #fff;
  padding: 1rem 0.75rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.about-features .feature-icon,
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.about-features .feature-icon svg {
  width: 64px;
  height: 64px;
  max-width: 100%;
  max-height: 100%;
}

.feature h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-title);
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--color-text);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* -------------------------
   About section (Why Kytra)
------------------------- */
.about {
  background-color: var(--color-secondary);
}

.about-content {
  display: block;
  width: 100%;
}

.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  gap: 2rem;
  margin-top: 2rem;
}

.about .hero-content p{
  margin: 0 0 14px;
}
.about .hero-content p:last-child{
  margin-bottom: 0;
}
.feature.feature-horizontal {
  display: flex;
  align-items: center;
  border-radius: var(--radius-card);
  background: #fff;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  gap: 1.5rem;
  min-height: 105px;
}

.feature.feature-horizontal .feature-icon {
  flex: 0 0 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature.feature-horizontal .feature-icon svg {
  width: 96px;
  height: 96px;
}

.feature.feature-horizontal .feature-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature.feature-horizontal h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--color-turquoise);
}

.feature.feature-horizontal p {
  margin: 0;
  color: #333;
  font-size: 0.95rem;
}

/* -------------------------
   Screenshot Carousel
------------------------- */
.carousel-section {
  background: color-mix(in srgb, var(--color-turquoise) 12%, var(--color-secondary));
  padding: 56px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

.carousel-header {
  margin-bottom: 1.5rem;
}

.carousel-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--color-title);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.carousel-viewport {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  background: var(--color-background);
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.carousel-caption {
  background: var(--color-background);
  color: var(--color-muted);
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  margin: 0;
  border-top: 1px solid var(--stroke);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-circle);
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-title);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, box-shadow 0.15s;
  z-index: 2;
}

.carousel-btn:hover {
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.carousel-btn--prev { left: 12px; }
.carousel-btn--next { right: 12px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.25rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-circle);
  background: rgba(133, 196, 199, 0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.is-active {
  background: var(--color-turquoise);
  transform: scale(1.25);
}
/* --- Power Grid Layout --- */
/* =========================================================
   Modernized Teaser Section
   ========================================================= */

.teasers {
  padding: 60px 0;
  /* Soft tint background to remove the "heavy teal" feel */
  background: linear-gradient(180deg, #f1f7f7 0%, #e9f2f2 100%);
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.teasers-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch; /* Ensures all cards stay same height */
}

.teaser-card {
  flex: 1;
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-card);
  text-decoration: none !important; /* Forces removal of underlines */
  border: 1px solid rgba(42, 111, 115, 0.1);
  box-shadow: 0 4px 12px rgba(42, 111, 115, 0.05);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

.teaser-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(42, 111, 115, 0.12);
  border-color: rgba(42, 111, 115, 0.3);
}

/* Header Alignment (Icon + Title) */
.teaser-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.teaser-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.teaser-title {
  color: #2a6f73; /* Brand Teal */
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.teaser-desc {
  color: #5a6466;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Handling */
@media (max-width: 1024px) {
  .teasers-row {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2x2 on tablets */
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .teasers-row {
    grid-template-columns: 1fr; /* Stacked on mobile */
  }
}
/* =========================================================
   Contact Section & Footer Gap Fix
   ========================================================= */

#contact {
  background-color: #f8f9f9; /* Soft off-white */
  padding: 80px 0 100px;
  flex-grow: 1; /* Key fix: stretches section to fill white space */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-meta-badge {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 8px 20px;
  background: rgba(133, 196, 199, 0.12);
  color: #2a6f73;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid rgba(133, 196, 199, 0.2);
}

.contact-meta-badge .meta-sep {
  margin: 0 0.5em;
  opacity: 0.5;
  font-weight: 400;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
  align-items: stretch;
}

.contact-card {
  position: relative;
  background: #ffffff;
  padding: 48px; /* Increased padding for "expensive" feel */
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}

.card-accent {
  display: none;
}

.contact-card h3 {
  margin-bottom: 1.25rem;
  color: #252422;
  font-size: 1.25rem;
}

.contact-card p {
  line-height: 1.7;
  color: #666;
  margin-bottom: 1.5rem;
}

.contact-footer {
  margin-top: auto; /* Pushes contact details to the bottom of the card */
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.contact-footer p {
  margin-bottom: 5px;
  font-size: 0.95rem;
  color: white;
}

/* Feature List Styling */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  line-height: 1.5;
  color: #555;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2a6f73;
  font-weight: 800;
}

/* Ensure body handles the flex growth correctly */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/* -------------------------
   Challenges
------------------------- */
.challenges {
  background: #f6f8f9;
  padding: 4rem 0;
  border-top: 1px solid rgba(37,36,34,0.05);
  border-bottom: 1px solid rgba(37,36,34,0.05);
}

.challenges .section-header {
  text-align: center;
  margin-bottom: 56px;
}

.challenges .section-header h2,
.challenges .section-header h3 {
  font-size: 2.4rem;
}

.section-subtitle {
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-text);
}
/* 1. QI Tags (The badges at the top of cards) */
.card-tag {
    display: inline-block;
    background-color: #f0f7f7;
    color: #2a6f73;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    border: 1px solid rgba(42, 111, 115, 0.2);
}

/* Blockquote styling for the 'Strong Practice' quotes */
.card-quote {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--color-muted);
  border-left: 2px solid rgba(115,200,204,0.5);
  padding-left: 12px;
  margin-bottom: 18px;
}
.chevron-flow span:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #2a6f73;
  border-bottom: 2px solid #2a6f73;
  transform: rotate(-45deg);
  margin: 0 10px;
}


.challenges .section-subtitle {
  max-width: 800px;
  margin: 0.75rem auto 0;
  opacity: 0.9;
}

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0;
  padding: 28px 28px 32px;
}

.challenge-card {
  background: #ffffff;
  border: 1px solid rgba(173, 184, 201, 0.45);
  border-radius: var(--radius-card);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
}

.challenge-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.challenge-tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  background: rgba(115, 200, 204, 0.15);
}

.challenges-cta{
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.challenge-quote {
  margin: 0.75rem 0 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--color-turquoise);
  font-style: italic;
}

.card-content {
  flex: 1;
}

.card-content h3,
.card-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-title);
}

.challenge-meaning { margin: 0 0 0.75rem; }

.challenge-bullets {
  margin: 0.75rem 0 1rem 1.1rem;
}
/* Container for the image/video preview */
.challenge-demo {
    margin: 1.5rem 0;
    position: relative;
}

/* Bullets align to the text edge */
.card-bullets{
  list-style-position: outside;
  padding-left: 1.1rem;  /* controls how far the text moves right */
  margin: 0.75rem 0 0;   /* tidy */
}

.card-bullets li{
  padding-left: 0.25rem; /* small gap between bullet + text */
  margin: 0.35rem 0;
}

.card-bullets li::marker{
  color: rgba(37,36,34,0.35);
}

.video-preview {
    width: 100%;
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.video-preview:hover {
    transform: scale(1.02);
}

.video-preview img {
    width: 100%;
    height: auto;
    display: block;
}

/* The Play Button Overlay */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.video-preview:hover .play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.demo-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #a0aec0;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.demo-label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-circle);
  background: var(--color-turquoise);
  flex-shrink: 0;
}

/* Chevron Flow Styling */
.demo-flow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding: 0.5rem;
    background: #f8fbfc;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--color-muted);
}

.flow-step {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2a6f73;
    padding: 4px 8px;
}

.flow-sep {
    display: flex;
    align-items: center;
}

/* Creating the CSS Chevron */
.flow-sep::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid #cbd5e0;
    border-bottom: 2px solid #cbd5e0;
    transform: rotate(-45deg);
    display: block;
}
.flow-step {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text);
  background: rgba(115, 200, 204, 0.12);
  border: 1px solid rgba(115, 200, 204, 0.3);
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.55rem;
  white-space: nowrap;
}

.flow-sep {
  font-size: 0.75rem;
  color: var(--color-muted);
  opacity: 0.6;
  flex-shrink: 0;
}

/* Video modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.82);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.video-modal.is-open {
  display: flex;
}

.video-modal-inner {
  position: relative;
  width: 92%;
  max-width: 980px;
  background: #000;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.video-modal-inner video {
  width: 100%;
  display: block;
}

.video-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  border-radius: var(--radius-circle);
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}

.video-modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.08);
}

.micro-demo {
  width: 100%;
  display: block;
  width: 100%;
  border-radius: var(--radius-card);
  border: 1px solid rgba(173, 184, 201, 0.35);
  background: #f6f8fb;
}

.challenges-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

/* -------------------------
   Roles (tabbed)
------------------------- */

.roles {
  background:
    radial-gradient(900px 420px at 70% 35%, rgba(115,200,204,0.12), transparent 60%),
    linear-gradient(180deg, #f7f9f9 0%, #eef3f4 100%);
  padding: 80px 0 4rem;
}

/* Section heading */
.roles .section-header {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 2.5rem auto;
}

.roles .section-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.roles .section-subtitle {
  max-width: 720px;
  margin: 0 auto;
}

/* -------------------------
   Pill tabs (horizontal)
------------------------- */
.roles-wrap {
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: stretch;
  margin-top: 2rem;
  background: #fff;
  border: 1px solid rgba(37, 36, 34, 0.1);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 16px rgba(37, 36, 34, 0.07);
  overflow: hidden;
}

.roles-tabs {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.5rem;
  flex: 0 0 220px;
  border-right: 1px solid rgba(37, 36, 34, 0.1);
  padding: 2rem 1rem;
  background: rgba(74, 138, 138, 0.04);
}

.role-tab {
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(74, 138, 138, 0.25);
  background: white;
  color: #4a8a8a;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  line-height: 1.35;
  transition: all 0.2s ease;
  white-space: normal;
}

.role-tab:hover {
  border-color: rgba(74, 138, 138, 0.5);
  background: rgba(74, 138, 138, 0.04);
}

.role-tab.active {
  background: #4a8a8a;
  color: white;
  border-color: #4a8a8a;
  box-shadow: 0 4px 12px rgba(74, 138, 138, 0.25);
}

/* Mobile dropdown — hidden on desktop */
.roles-select {
  display: none;
}

/* -------------------------
   Panel + pane
------------------------- */
.roles-panel {
  flex: 1;
  padding: 24px 4rem;
}

.role-pane {
  display: none;
  outline: none;
}

.role-pane.active {
  display: flex;
  align-items: center; /* Vertically centers text and image */
  gap: 40px;           /* Consistent spacing between text and image */
}

@keyframes roleFade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.roles-copy h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--color-title);
}

.roles-copy p {
  margin-bottom: 0.75rem;
  line-height: 1.55;
  color: var(--color-text);
}

.role-bullets {
  margin: 0.5rem 0 0 0;
  padding-left: 1.2rem;
}

.role-bullets li {
  margin: 0.4rem 0;
  font-size: 0.925rem;
  line-height: 1.5;
}

/* Ensure the text side doesn't get squeezed */
.roles-copy {
  flex: 1;
  min-width: 300px;
}

/* Fix for the "small" and "misaligned" images */
.roles-demo {
  flex: 1.2;           /* Gives the image slightly more room than the text */
  display: flex;
  justify-content: center;
  align-items: center;
}

.roles-demo img {
  width: 100%;
  height: auto;
  max-width: 600px;    /* Prevents the image from becoming gigantic on huge monitors */
  max-height: 320px;   /* Prevents tall images from inflating the panel height */
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Adds depth to the screenshot */
  object-fit: contain;
}

.tk-visual img,
.roles-demo img {
  cursor: zoom-in;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tk-visual img:hover,
.tk-visual img:focus-visible,
.roles-demo img:hover,
.roles-demo img:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.14);
}

.tk-visual img:focus-visible,
.roles-demo img:focus-visible {
  outline: 3px solid rgba(29, 156, 137, 0.35);
  outline-offset: 4px;
}

.micro-demo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  border: 1px solid rgba(37, 36, 34, 0.1);
  box-shadow: 0 8px 24px rgba(37, 36, 34, 0.1);
  display: block;
}

.demo-caption {
  margin-top: 0.65rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .roles-wrap {
    flex-direction: column;
  }
  .roles-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    flex: none;
    border-right: none;
    border-bottom: 1px solid rgba(37, 36, 34, 0.1);
    padding: 0.75rem;
    gap: 0.4rem;
  }
  .role-tab {
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
  }
  .role-tab.active {
    border-bottom-color: #2a6f73;
    border-left-color: transparent;
  }
  .role-pane.active {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    flex-direction: column;
    text-align: left;
  }
  .roles-demo { order: -1; }
}

@media (max-width: 600px) {
  .roles-panel { padding: 1.25rem; }

  /* Swap tabs for dropdown on mobile */
  .roles-tabs { display: none; }

  .roles-select {
    display: block;
    width: 100%;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-card);
    border: 1px solid rgba(92, 164, 168, 0.5);
    background: #fff;
    font-size: 1rem;
    color: var(--color-title);
    cursor: pointer;
  }
}

/* Optional links */

.text-link {
  display: inline-block;
  margin-top: 0.5rem;
  text-decoration: none;
}


/* -------------------------
   Built for Scottish Education
------------------------- */

.built {
  background:
    radial-gradient(900px 420px at 70% 35%, rgba(115,200,204,0.12), transparent 60%),
    linear-gradient(180deg, #f7f9f9 0%, #eef3f4 100%);
  padding: 80px 0 4rem;
}

.built .section-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2.5rem auto;
}

.built .section-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.built .section-subtitle {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Change from a loose layout to a tight 2-column grid */
.built-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.built-card {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid rgba(37, 36, 34, 0.1);
  border-top: 3px solid rgba(92, 164, 168, 0.55);
  box-shadow: 0 2px 8px rgba(37, 36, 34, 0.06);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.built-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.built-card:hover {
  border-color: rgba(115, 200, 204, 0.5);
  box-shadow: 0 4px 14px rgba(115, 200, 204, 0.12);
}

.built-card h4 {
  margin-bottom: 0.75rem;
}

.built-card p {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.built-card-lead {
  margin: 0.25rem 0 0.9rem;
  color: var(--color-muted);
}

.built-qi {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.built-qi li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.75rem;
  align-items: center;

  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-card);

  background: white;
  border: 1px solid rgba(37, 36, 34, 0.12);

  box-shadow: 0 2px 6px rgba(37, 36, 34, 0.04);
}

.qi-code {
  font-weight: 750;
  color: var(--color-title);
  background: rgba(92, 164, 168, 0.25);
  border-radius: var(--radius-card);
  padding: 0.3rem 0.6rem;
  text-align: center;
}
.qi-text {
  font-weight: 600;
  color: var(--color-title);
}

.built-card-foot {
  margin: 0.9rem 0 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.built-bullets {
  margin-top: auto;
  padding-left: 1.2rem;
  font-size: 0.9rem;
}

.built-bullets li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.built-links {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.built-links .text-link {
  text-decoration: none;
  opacity: 0.9;
}

.built-links .text-link:hover {
  opacity: 1;
}

.built-sep {
  margin: 0 0.5rem;
  opacity: 0.6;
}

.built-note {
    margin-top: 4rem;
    padding: 2rem;
    background: #eef4ff;
    border-left: 4px solid #0056b3;
    text-align: center;
}
/* -------------------------
   Built section trust bar
------------------------- */

.built-trustbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  margin: 1.5rem auto 2rem auto;
  font-size: 0.95rem;
  font-weight: 500;
  color: #2f3a40;
  text-align: center;
}

.built-trustbar span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  background: rgba(92, 164, 168, 0.1);
  border: 1px solid rgba(92, 164, 168, 0.35);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-title);
}

.built-trustbar span::before {
  content: "✓";
  color: var(--color-turquoise, #73C8CC);
  font-weight: 700;
  font-size: 0.9rem;
}

/* -------------------------
   Screenshots grid + modal
------------------------- */
.screenshots { background-color: #fff; }

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem auto 0 auto;
  max-width: 1160px;
}

.screenshot-item {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  padding-bottom: 0.5rem;
}

.screenshot-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.screenshot-item::after {
  content: "Click for a live platform view";
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.06);
  color: rgba(15,23,42,0.75);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 500;
  padding-bottom: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.screenshot-item:hover::after { opacity: 1; }

.screenshot-image {
  width: calc(100% - 2rem);
  max-height: 200px;
  object-fit: cover;
  object-position: top;
  border: 1px solid rgba(37,36,34,0.10);
  border-radius: var(--radius-card);
  transition: opacity 0.2s ease;
  display: block;
  margin: 0 1rem 1rem 1rem;
}

.screenshot-item:hover .screenshot-image { opacity: 0.9; }

.screenshot-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-title);
  margin: 0.5rem 1rem;
  line-height: 1.3;
  text-align: center;
}

.screenshot-item p {
  color: var(--color-text);
  line-height: 1.4;
  font-size: 0.875rem;
  margin: 0 1rem 1rem 1rem;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 10001;
  inset: 0;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
  padding-top: 80px;
}

.modal.fade-out { animation: fadeOut 0.3s ease forwards; }

@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }
@keyframes fadeOut { from {opacity:1;} to {opacity:0;} }

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 2rem auto;
  border-radius: var(--radius-card);
  width: 90%;
  max-width: 1000px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  color: #aaa;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-circle);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close-modal:hover {
  color: #333;
  background: #fff;
  transform: scale(1.06);
}

.modal-text {
  padding: 2rem 2rem 1rem;
  background: #fff;
  order: 1;
}

.modal-footer {
  padding: 1rem 2rem 2rem;
  background: #fff;
  order: 3;
}

.modal-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.modal-bullets li {
  padding: 0.35rem 0.85rem;
  background: rgba(115, 200, 204, 0.12);
  border: 1px solid rgba(115, 200, 204, 0.35);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  color: var(--color-text);
}

.modal-image {
  width: 100%;
  background: #f8f9fa;
  order: 2;
  padding: 0 2rem 2rem 2rem;
}

#modal-image {
  border: 1px solid #e5e5e5;
  border-radius: var(--radius-sm);
  width: 100%;
  height: auto;
}
/* -------------------------
   Contact (CTA) — polished
------------------------- */
.contact {
  background: #f6f4ef;
  padding: 40px 0;
}

/* When combined with .band-dark, override the light backgrounds above —
   needs the #contact id form since #contact (line ~1033) outranks any
   class-only selector regardless of source order */
#contact.band-dark {
  background: #123b3e;
}

.band-dark .contact-box {
  background: #fff;
  border-color: var(--stroke);
}

.contact .section-header {
  text-align: left;
  max-width: 960px;
  margin: 0 0 2.25rem;
}

.contact .section-header h2,
.contact .section-header h3 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

.contact .section-subtitle {
  margin: 0;
  max-width: none;
  color: var(--color-text);
  line-height: 1.55;
  font-size: 1.25rem;
}

.contact-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.contact-header-copy {
  flex: 1;
}

.contact-meta-text {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #999;
  letter-spacing: 0.01em;
}

.contact-header-action {
  flex-shrink: 0;
}

.contact-cta-btn {
  display: inline-block;
  padding: 14px 28px;
  background: #2a6f73;
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: background 0.15s;
  white-space: nowrap;
}

.contact-cta-btn:hover {
  background: #225c60;
}

@media (max-width: 700px) {
  .contact-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

/* Grid */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: stretch; /* equal height cards */
}

/* Merged contact box */
.contact-box {
  background: rgba(133, 196, 199, 0.1);
  border: 1px solid rgba(133, 196, 199, 0.3);
  border-radius: var(--radius-card);
  padding: 48px;
  margin-top: 2rem;
}

.contact-box-inner {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0;
}

.contact-box-left {
  padding-right: 48px;
  border-right: 1px solid rgba(133, 196, 199, 0.3);
  display: flex;
  flex-direction: column;
}

.contact-box-right {
  padding-left: 48px;
  padding-right: 48px;
  border-right: 1px solid rgba(133, 196, 199, 0.3);
}

.contact-box-badge {
  padding-left: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-box h3 {
  color: var(--color-title);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.contact-box p {
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-box p strong {
  color: var(--color-title);
}

.contact-box .contact-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(133, 196, 199, 0.3);
}

.contact-box .contact-footer p {
  margin-bottom: 5px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-box .contact-footer a {
  color: #1d5c60;
  text-decoration: none;
}

.contact-box .contact-footer a:hover {
  text-decoration: underline;
}

.email-icon {
  flex-shrink: 0;
  color: #2a6f73;
}

.contact-box .feature-list li {
  color: var(--color-text);
}

.contact-box .feature-list li::before {
  color: #2a6f73;
}

@media (max-width: 900px) {
  .contact-box-inner {
    grid-template-columns: 1fr 1fr;
  }
  .contact-box-badge {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-top: 32px;
    border-left: none;
    border-top: 1px solid rgba(133, 196, 199, 0.3);
    justify-content: flex-start;
  }
  .contact-box-right {
    padding-right: 0;
    border-right: none;
  }
}

@media (max-width: 700px) {
  .contact-box {
    padding: 32px 24px;
  }
  .contact-box-inner {
    grid-template-columns: 1fr;
  }
  .contact-box-left {
    padding-right: 0;
    padding-bottom: 32px;
    border-right: none;
    border-bottom: 1px solid rgba(133, 196, 199, 0.3);
  }
  .contact-box-right {
    padding-left: 0;
    padding-right: 0;
    padding-top: 32px;
    border-right: none;
    border-bottom: 1px solid rgba(133, 196, 199, 0.3);
    padding-bottom: 32px;
  }
  .contact-box-badge {
    padding-top: 32px;
    border-top: none;
  }
}

@media (max-width: 900px) {
  .contact-content { grid-template-columns: 1fr; }
}

/* Cards */
.contact-info,
.contact-features {
  background: #fff;
  border: 1px solid rgba(173,184,201,0.45);
  border-radius: var(--radius-card);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  padding: 2rem;
}


/* subtle top highlight */
.contact-info::before,
.contact-features::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg,
    rgba(115, 200, 204, 0.85),
    rgba(115, 200, 204, 0.15)
  );
}



.contact-info h3,
.contact-features h3 {
  margin: 0 0 0.75rem 0;
  color: var(--color-title);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

/* Body text */
.contact-info p {
  margin: 0 0 1.25rem 0;
  color: var(--color-text);
  line-height: 1.65;
  font-size: 1rem;
}
.contact-info hr {
  border: none;
  border-top: 1px solid rgba(173,184,201,0.35);
  margin: 1.25rem 0;
}

/* -------------------------
   Contact meta line
------------------------- */

.contact-meta {
  display: inline-block;

  margin-bottom: 1rem;
  padding: 0.35rem 0.6rem;
  margin-top: 6px;
  font-size: 0.95rem;
  color: #4b5563;

  border-radius: var(--radius-sm);
}



/* Details pinned toward the bottom for stronger alignment */
.contact-details {
  list-style: none;
  padding: 1rem 0 0;
  margin: auto 0 0; /* pushes details to bottom */
  border-top: 1px solid rgba(173, 184, 201, 0.25);
  display: grid;
  gap: 0.6rem;
}

.contact-details li {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  color: var(--color-text);
  font-size: 0.98rem;
}

.contact-details strong { color: var(--color-title); }

.contact-details a {
  color: var(--color-link, #2a6f73);
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 111, 115, 0.25);
}
.contact-details a:hover {
  border-bottom-color: rgba(42, 111, 115, 0.65);
}

/* Feature list with consistent tick alignment */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.85rem;
  line-height: 1.55;
  color: var(--color-text);
  font-size: 1rem;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.25rem;
  height: 1.25rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: rgba(115, 200, 204, 0.18);
  color: rgba(32, 100, 105, 0.95);
  font-weight: 700;
  font-size: 0.9rem;
}

/* -------------------------
   Footer
------------------------- */
.footer {
  background: var(--color-title);
  color: #fff;
  padding: 1rem 0;
}

.footer-content-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
}

.footer-left a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  margin-right: 0;
}

.footer-left a:hover { color: rgba(255, 255, 255, 0.7); }

.footer-left span { color: rgba(255, 255, 255, 0.5); }

.footer-right {
  flex: 1;
  display: flex;
  justify-content: center;
}
.footer-left a:not(:last-child)::after {
  content: "·";
  margin-left: 16px;
  opacity: 0.4;
}

.footer-right span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* -------------------------
   Legal pages
------------------------- */
.legal-content {
  padding: 48px 0 80px;
  background: var(--color-background);
}

.legal-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-title);
  margin-bottom: 1rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-title);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-title);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.legal-content ul li {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.legal-intro-row {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.legal-intro-row p {
  margin: 0;
}

@media (max-width: 600px) {
  .legal-intro-row {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}

/* =========================================================
   Responsive
   ========================================================= */

/* Nav responsive */
@media (max-width: 768px) {
  .nav-container { padding: 0.85rem 1.5rem 0.85rem 1.25rem; }
  .mobile-menu-toggle { display: flex; flex-direction: column; }

  .mobile-menu-toggle.mobile-menu-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-menu-toggle.mobile-menu-active span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle.mobile-menu-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Hero typography */
  .hero h3 { font-size: 2.5rem; }

  /* remove any sneaky top margins */
.hero h1{ margin-top: 0; }
.hero p:first-of-type{ margin-top: 0; } /* optional */
  /* Footer */
  .footer-content-compact {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  /* Contact */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Screenshots */
  .screenshots-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .modal-content { width: 95%; margin: 5% auto; }
  .modal-text { padding: 1.5rem; }
}

/* Medium screens */
@media (max-width: 1024px) {
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Feature grids responsive */
@media (max-width: 900px) {
  .about-features { grid-template-columns: repeat(2, 1fr); }
  .challenges-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .about-features { grid-template-columns: 1fr; gap: 1rem; }
  .feature { padding: 1.25rem 0.75rem; border-radius: var(--radius-card); }

  .feature p {
    font-size: 0.9rem;
    max-width: 260px;
    margin: 0 auto;
  }

  .about-features-grid { grid-template-columns: 1fr; gap: 1rem; }

  .feature.feature-horizontal {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 0.75rem;
    min-height: auto;
    gap: 1rem;
    border-radius: var(--radius-card);
  }

  .feature.feature-horizontal .feature-icon svg {
    width: 48px;
    height: 48px;
  }

  .feature.feature-horizontal h4 {
    font-size: 1.1rem;
    line-height: 1.2;
  }

  .feature.feature-horizontal p {
    font-size: 0.85rem;
    max-width: 260px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 15px; }
  .hero { padding: 100px 0 60px; }
  section { padding: 60px 0; }
}

@media (max-width: 900px) {
  .built-grid {
    grid-template-columns: 1fr;
  }
}
/* Ensure the media container takes up the left side of the modal */
/* Update the modal content to stack vertically */
.modal-content {
    display: flex;
    flex-direction: column; /* Stack children vertically */
    max-width: 90%;
    width: 1000px;
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-card);
    position: relative;
    max-height: 95vh;
    overflow-y: auto; /* Adds scroll if content is too tall */
}

/* Add some breathing room for the text at the top */
.modal-text {
    width: 100%;
    padding: 0 0 1.5rem 0; /* Space below the text */
    text-align: left;
}

#modal-title {
    margin-top: 0;
    color: #2a6f73;
    font-size: 1.5rem;
}

#modal-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4a5568;
    max-width: 800px; /* Keeps lines of text from getting too long/wide */
}

/* Style the media container below the text */
.modal-main-view {
    width: 100%;
    background: #000;
    border-radius: var(--radius-sm);
    overflow: hidden;
    order: 2;
}

#modal-media-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-video, #modal-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================================
   HERO ENHANCEMENTS
   ========================================================= */

/* Bullet points in hero */
.hero-points {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1.25rem 0;
  display: grid;
  gap: 0.45rem;
  max-width: 560px;
}

.hero-points li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--color-text);
}

.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-weight: 700;
  color: var(--color-turquoise);
}

/* Proof bar under hero visual */
.hero-proofbar{
  max-width: 1200px;           /* match your container */
  margin: 0.75rem auto 0;      /* sits under hero */
  padding: 0 1.25rem;

  display: flex;
  justify-content: flex-start;  /* aligns with hero copy */
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hero-proofbar span::before { content: ""; } /* keep if you previously had ticks */

.hero-proofbar span{
  display: inline-flex;
  align-items: center;

  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid rgba(173,184,201,0.7);


  font-size: 0.9rem;
  line-height: 1;
  white-space: nowrap;

  /* subtle depth so they don’t clash with the image */
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  backdrop-filter: blur(6px);
}
/* =========================================================
   PROBLEM → OUTCOME BRIDGE SECTION
   ========================================================= */
.bridge {
  background: radial-gradient(circle at center, #f0f7f7 0%, var(--color-secondary) 100%);
  padding: 4rem 0;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}
.bridge-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.bridge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 3vw, 3rem);
  align-items: stretch;
  margin-bottom: 48px;
}

.bridge-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px; /* Increased internal padding for a premium feel */
  border: 1px solid rgba(173, 184, 201, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); /* Softer, wider shadow */
  display: flex;
  flex-direction: column;
}

/* 2. Style the headers for better scanning */
.bridge-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem; /* Slightly larger for the wider layout */
  color: var(--color-title);
  font-weight: 700;
}

.bridge-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem; /* More space between items stops it looking like a 'wall of text' */
}

.bridge-list li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 1.05rem; /* Slightly larger for readability */
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 0.6rem;
}

/* 3. Refined Icons */
/* Problem dots - more subtle */
.bridge-card:first-child .bridge-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #a0aec0;
  font-weight: 800;
}

/* Solution checks - make them pop but keep them professional */
.bridge-card:last-child .bridge-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 900;
  color: #38b2ac; /* Use your brand turquoise */
}



.bridge-cta {
  display: flex;
  justify-content: center; /* Ensures the button container is centered */
  width: 100%;
  margin-bottom: 16px;
}

.bridge-cta .btn-secondary { /* Or whatever class your button uses */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  padding: 0.8rem 2rem;
  border: 2px solid var(--color-turquoise);
  background: transparent;
  color: var(--color-turquoise);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.bridge-cta .btn-secondary:hover {
  background: var(--color-turquoise);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(56, 178, 172, 0.2);
}

.bridge-cred{
  margin-top: 0px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
  text-align: center;
}

.bridge-cred p{
  margin: 0;
  font-size: 0.95rem;
  color: #6b778c; /* subtle but readable */
  letter-spacing: 0.2px;
}
/* 4. Responsive tweak for tablet/mobile */
@media (max-width: 992px) {
  .bridge-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

  .hero-proofbar {
    justify-content: center;
  }

  .hero-points {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

.hero-kicker { margin: 0.15rem 0 0.7rem; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: #2a6f73;
  background: rgba(115, 200, 204, 0.14);
  border: 1px solid rgba(115, 200, 204, 0.35);
}
/* HERO PROOF BAR — balanced layout */

.hero-proofbar {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
  width: 100%;
}

.hero-proofbar span {
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  border: 1px solid rgba(173,184,201,0.45);
  background: rgba(255,255,255,0.85);
  white-space: nowrap;
}

/* Prevent clash with screenshot */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-proofbar {
  background: rgba(255,255,255,0.45);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-card);
}

/* Kill any “fake underline” styles on the logo link */
.header .logo a,
.header .logo a:hover,
.header .logo a:focus,
.header .logo a:active,
.header .logo a:visited{
  text-decoration: none !important;

  border-bottom: 0 !important;
  box-shadow: none !important;

  background: none !important;
  background-image: none !important;
  background-size: 0 0 !important;
}

.header .logo a h1{
  text-decoration: none !important;
  border-bottom: 0 !important;
  background: none !important;
  background-image: none !important;
}
.page-about .hero{ padding: 48px 0; }

.page-about .hero-content{
  max-width: none;
  width: 100%;
}

.page-about .about{
  padding: 44px 0;
  background: var(--color-secondary);
}

.page-about .about:nth-of-type(even){
  background: #fff;
}

.page-about .about .hero-content{
  margin: 0 auto;
}

.page-about .section-header{ margin-bottom: 0.9rem; }

.page-about .section-header h3{
  font-size: clamp(1.9rem, 2.6vw, 2.25rem);
}

/* About contact */
.page-about .contact{ padding: 44px 0; }
.page-about #contact{
  display: block;
  flex-grow: 0;
  justify-content: flex-start;
}
.page-about .contact .section-header{ text-align: left; }
.page-about .contact .hero-content{
  max-width: none;
  width: 100%;
  margin: 0;
  text-align: left;
}
.page-about .contact-meta{
  display: block;
  margin-top: 10px;
  padding: 0;
  border-radius: 0;
}

.page-about .section-header{
  max-width: none;
  margin: 0 0 0.9rem 0;
  text-align: left;
}

.page-about .hero-content{
  max-width: none;
  width: 100%;
  margin: 0;
}

.page-about .hero .section-header h3{
  font-size: clamp(2.1rem, 3vw, 2.6rem);
}

.page-about .hero-content p{
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(102, 97, 91, 0.92);
}

/* Simple CTA variant (About page) */
.page-about .contact--simple .section-header{
  max-width: none;
  margin: 0 0 1rem 0;
  text-align: left;
}

.page-about .contact--simple .contact-simple{
  max-width: none;
  margin: 0;
  text-align: left;
}

.contact--simple .contact-simple p{
  margin: 0.35rem 0;
}

.contact--simple .contact-meta{
  display: block;
  opacity: 0.72;
}

/* About page: hero (single-column, centred) */
.page-about .hero {
  text-align: left;
}
.page-about .hero h1 {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-title);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.page-about .hero .hero-subheading {
  max-width: none;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.85;
}

/* About page: narrative content sections */
.page-about .about {
  padding: 3.5rem 0;
}

.page-about .about .container,
.page-about .contact .container {
  padding-left: clamp(20px, 3vw, 48px);
  padding-right: clamp(20px, 3vw, 48px);
}

.page-about .about .section-header h2 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--color-title);
  margin-bottom: 0.5rem;
}
.page-about .about-copy {
  max-width: none;
  width: 100%;
}
.page-about .about-copy p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 1rem;
}
.page-about .about-copy p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   School Type Cards Section
   ========================================================= */

.school-types {
  padding: 80px 0;
  background: var(--color-background);
}

.school-types h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--color-title);
  margin-bottom: 14px;
}

.section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px auto;
  color: var(--color-text);
  line-height: 1.6;
}

/* =========================================================
   School Type Cards Section (layout-aligned)
   ========================================================= */

.school-types {
  padding: 56px 0 64px;
  background: rgb(249,249,248);
}

/* Constrain to your site's container width */
.school-types .container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.school-types h2 {
  text-align: center;
  font-size: 2.1rem;
  line-height: 1.15;
  color: var(--color-title);
  margin: 0 0 12px;
}

.school-types .section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 34px;
  color: var(--color-text);
  line-height: 1.6;
  font-size: 1rem;
}

/* Grid */
.school-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

/* Card */
.school-card {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* Make spacing inside the card consistent even if global styles exist */
.school-card > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.school-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.12);
}

.school-card h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--color-title);
}

.school-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text);
  margin: 0 0 18px;
  max-width: 60ch;
}

/* CTA link pinned to bottom */
.school-card a {
  margin-top: auto;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.school-card a:hover {
  color: var(--color-hover);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 900px) {
  .school-types {
    padding: 46px 0 52px;
  }

  .school-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .school-card {
    padding: 22px 20px;
  }
}

/* =========================================================
   Product preview section + modal gallery
   ========================================================= */

.product-preview {
  padding: 80px 0 100px;
  background:
    radial-gradient(900px 420px at 70% 35%, rgba(115,200,204,0.12), transparent 60%),
    linear-gradient(180deg, #f7f9f9 0%, #eef3f4 100%);
}

.product-preview__inner {
  width: 100%;
}

.product-preview__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.product-preview__header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 10px;
}

.product-preview__intro {
  margin: 0 auto;
  max-width: 720px;
  color: var(--color-text);
  line-height: 1.6;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.preview-card {
  text-align: left;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-background);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.preview-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.12);
}

.preview-card__media {
  position: relative;
  background: rgb(245, 245, 243);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.preview-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-turquoise);
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--color-title);
}

.preview-card__play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(101, 97, 92, 0.92);
  color: white;
}

.preview-card__body {
  padding: 22px 22px 26px;
}

.preview-card__body h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--color-title);
}

.preview-card__body p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.6;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 980px) {
  .preview-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------
   Modal
   ------------------------- */

.kytra-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10001;
}

.kytra-modal.is-open {
  display: block;
}

.kytra-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.kytra-modal__dialog {
  position: relative;
  width: min(1100px, calc(100% - 40px));
  margin: 40px auto;
  max-height: calc(100vh - 80px);
  background: white;
  border-radius: var(--radius-card);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 28px 80px rgba(0,0,0,0.35);
  overflow-x: hidden;
  overflow-y: auto;
}

.kytra-modal__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 18px 10px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.kytra-modal__titlewrap h3 {
  margin: 0;
  color: var(--color-title);
  font-size: 1.1rem;
}

.kytra-modal__subtitle {
  margin: 6px 0 0;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.4;
}

.kytra-modal__close {
  border: 1px solid rgba(0,0,0,0.12);
  background: white;
  border-radius: var(--radius-card);
  width: 38px;
  height: 38px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.kytra-modal__content {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 10px;
  padding: 16px 14px 14px;
}

.kytra-modal__figure {
  grid-column: 2;
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: rgb(245,245,243);
  border: 1px solid rgba(0,0,0,0.08);
}

.kytra-modal__figure img {
  width: 100%;
  height: auto;
  display: block;
}

.kytra-modal__caption {
  padding: 10px 12px;
  font-size: 0.92rem;
  color: var(--color-text);
  border-top: 1px solid rgba(0,0,0,0.06);
  background: white;
}

.kytra-modal__nav {
  height: 46px;
  width: 46px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(0,0,0,0.12);
  background: white;
  cursor: pointer;
  font-size: 26px;
}

.kytra-modal__footer {
  padding: 10px 16px 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.kytra-modal__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.kytra-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(0,0,0,0.22);
}

.kytra-dot.is-active {
  background: rgba(0,0,0,0.55);
}

.preview-card__media {
  padding: 16px 16px 0 16px;
  background: rgb(245,245,243);
}
.preview-card__body {
  padding: 20px 20px 22px;
}
.preview-card__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
  border: 1px solid rgba(0,0,0,0.06);
}
@media (max-width: 720px) {
  .kytra-modal__content {
    grid-template-columns: 40px 1fr 40px;
    padding: 12px 6px 8px;
  }
  .kytra-modal__nav {
    height: 40px;
    width: 40px;
    font-size: 22px;
  }
  .kytra-modal__dialog {
    margin: 18px auto;
    width: min(1100px, calc(100% - 20px));
  }
}
/* =========================================================
   Consolidated Evidence Page Styles
   ========================================================= */

.evidence-hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(900px 420px at 70% 35%, rgba(115,200,204,0.12), transparent 60%),
    linear-gradient(180deg, #f7f9f9 0%, #eef3f4 100%);
  text-align: center;
  flex-grow: 1;
}

.evidence-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.evidence-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
}
/* Ensure the background matches the Home Page teaser band */

.evidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 768px) {
  .evidence-grid { grid-template-columns: 1fr; gap: 20px; }
}

.evidence-card {
  background: #ffffff;
  padding: 40px; /* Increased padding for the 'premium' feel */
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.evidence-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(42, 111, 115, 0.12);
}

/* Metadata Badge (QI Tags) */
.evidence-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 6px 14px;
  background: rgba(133, 196, 199, 0.15);
  color: #2a6f73;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.evidence-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--color-title);
}

.evidence-card p {
  color: var(--color-text);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Visual Container */
.evidence-visual {
  position: relative;
  margin-top: auto; /* Pushes the image to the bottom of the card */
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  background: #f8f9f9;
}

.evidence-visual img {
  width: 100%;
  display: block;
  transition: opacity 0.3s;
}

/* Play Indicator Fix */
.play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  width: 54px;
  height: 54px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2a6f73;
  font-size: 1.2rem;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 2;
}
/* Container for the dashboard image preview */
.card-visual {
  position: relative;
  margin-top: auto; /* Pushes image to bottom */
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--stroke);
}

.card-visual img {
  width: 100%;
  display: block;
  transition: opacity 0.3s;
}

.play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.9);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2a6f73;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
/* Make the logo react on hover */
.logo a:hover .logo-name {
  opacity: 0.8;
  transition: 0.2s ease;
}

/* Hide the Home link on desktop, show on mobile */
.mobile-only { display: none; }

@media (max-width: 768px) {
  .mobile-only { display: block; }
}


/* Fix line-length for Governance/Policy text (The 75-character rule) */
.section-subtitle, 
.built-card p, 
.roles-copy p {
    max-width: 70ch; /* Limits width to about 70-75 characters for easy reading */
    line-height: 1.6;
}

/* Skip link styling for accessibility visibility */
.skip-link:focus {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    padding: 1rem;
    z-index: 1000;
    border: 2px solid #000;
}

/* =========================================================
   Media Placeholders
   ========================================================= */
.media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4f4;
    border: 2px dashed rgba(92, 164, 168, 0.45);
    border-radius: var(--radius-card);
    min-height: 200px;
    width: 100%;
}

.media-placeholder--card {
    min-height: 180px;
}

.media-placeholder--thumb {
    min-height: 160px;
    border-radius: 0;
}

.media-placeholder--roles {
    min-height: 300px;
    border-radius: var(--radius-card);
}

.media-placeholder__inner {
    min-height: 340px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(92, 164, 168, 0.45);
    border-radius: var(--radius-card);
    background: #f0f4f4;
}

.media-placeholder__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(92, 164, 168, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    padding: 1.25rem;
    line-height: 1.5;
}

/* =========================================================
   Efficiency Gains / Stats Grid
   ========================================================= */
.efficiency-gains {
    padding: 80px 0;
    background: var(--color-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.stat-card {
    background: rgba(133, 196, 199, 0.1);
    border: 1px solid rgba(133, 196, 199, 0.3);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.stat-card strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-title);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.stat-card strong::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    min-width: 1.25rem;
    border-radius: var(--radius-circle);
    background: var(--color-turquoise);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
}

.stat-card__number {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: rgb(40, 110, 115);
    line-height: 1;
}

.stat-card__label {
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .stats-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   In Practice (HGIOS? Toolkit) — section wrapper
   ========================================================= */
.in-practice-section {
    padding: 40px 0 100px;
    background: #eaf3f3;
}

/* =========================================================
   Empowering Your Team — section wrapper
   ========================================================= */
.empowering-section {
    padding: 40px 0 100px;
    background: var(--color-secondary);
}

.empowering-section .section-subtitle {
    text-align: left;
    margin-left: 0;
    max-width: 100%;
}

.empowering-section .roles-wrap {
    margin-top: 2.5rem;
}

/* =========================================================
   NIF Section (Council page only)
   ========================================================= */
.nif-section {
    padding: 40px 0 100px;
    background: color-mix(in srgb, var(--color-turquoise) 18%, #ffffff);
}

.nif-section .section-subtitle {
    text-align: left;
    margin-left: 0;
    max-width: 100%;
}

.nif-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.nif-card {
    background: #ffffff;
    border: 1px solid rgba(37, 36, 34, 0.08);
    border-radius: var(--radius-card);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.nif-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.nif-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-title);
}

/* =========================================================
   Council Page - Section Background Rhythm
   ========================================================= */
.page-council .hero {
  background: linear-gradient(180deg, #f2f8f7 0%, #edf5f4 100%);
}

.page-council .efficiency-gains {
  background: #f8f4ee;
}

.page-council .council-screenshots {
  background: #ffffff;
}

.page-council .empowering-section {
  background: #f1f5fa;
}

.page-council .nif-section {
  background: #eef7f1;
}

@media (max-width: 1024px) {
    .nif-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .nif-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Page Gallery Section — wrapper
   ========================================================= */
.page-gallery-section {
    padding: 80px 0 100px;
    background:
        radial-gradient(900px 420px at 70% 35%, rgba(115, 200, 204, 0.08), transparent 60%),
        linear-gradient(180deg, #f7f9f9 0%, #eef3f4 100%);
}

.page-secondary-bge .contact {
  padding-top: 40px !important;
}

.page-secondary-bge .page-gallery-section {
  padding-bottom: 40px;
}

.page-secondary-bge .contact .section-header {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-secondary-bge .contact .section-subtitle {
  margin-left: 0;
  max-width: none;
  font-size: 1rem;
}

/* Align the Efficiency Section header to the Hero text line */
.efficiency-gains .section-header {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 0; /* Ensures it's not 'pushed' in */
}

/* Ensure subtitle spans more width to stay on 1 line if possible */
.efficiency-gains .section-subtitle {
  text-align: left;
  margin-left: 0;
  max-width: 100%; /* Allows it to breathe and stay on one line */
  padding-top: 10px; /* Small gap from the title */
}

.stat-card p {
  line-height: 1.4;
  margin: 0;
}

/* Nudge sections closer together */
.hero {
  padding-bottom: 40px !important; /* Reduced from default */
}

.efficiency-gains {
  padding-top: 40px !important; /* Reduced to sit closer to Hero */
}
.in-practice-section .section-subtitle {
  margin-left: 0;
  max-width: none;
}

.toolkit-interface {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin: 2rem auto 0;
}

.toolkit-sidebar {
  width: 100%;
}

.toolkit-tabs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.tk-tab {
  flex: 1;
  text-align: center;
  padding: 10px 14px;
  border: 1px solid rgba(74, 138, 138, 0.25);
  background: white;
  color: #4a8a8a;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  transition: all 0.2s ease;
}

.tk-tab.active {
  background: #4a8a8a;
  color: white;
  box-shadow: 0 4px 12px rgba(74, 138, 138, 0.25);
}

.toolkit-main {
  width: 100%;
  background: white;
  padding: 24px 4rem;
  border-radius: var(--radius-card);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.tk-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid #eee;
}

/* Hides inactive content properly */
.tk-content {
  display: none;
}
.tk-content.active {
  display: flex;
  flex-direction: row;
  gap: 4rem;
  align-items: flex-start;
}

.tk-visual {
  flex: 0 0 40%;
}

.tk-info {
  flex: 1;
  padding-top: 0.5rem;
}

@media (max-width: 600px) {
  .toolkit-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .toolkit-main {
    padding: 24px 1.25rem;
  }
  .tk-content.active {
    flex-direction: column;
  }
  .tk-visual {
    flex: none;
    width: 100%;
  }
}





.tk-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.tk-info p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.tk-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tk-bullets li {
  font-size: 1rem;
  color: var(--color-text);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.tk-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #4a8a8a;
  font-weight: 600;
}
/* =====================================================
   Process Flow Section
   ===================================================== */
.process-flow {
  padding: 80px 0;
  background-color: #f9f9f9; /* Or your variable --bg-light */
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  text-align: center;
  position: relative;
}

.process-step {
  position: relative;
  padding: 20px;
}

.step-number {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color); /* Ensure this matches your brand blue/purple */
  margin-bottom: 15px;
  line-height: 1;
  opacity: 0.3; /* Subtle aesthetic look */
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #333;
}

.process-step p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* Optional: Horizontal connectors for desktop */
@media (min-width: 992px) {
  .process-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 30%;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.2;
  }
}
/* -------------------------
   Council screenshots section
------------------------- */
.council-screenshots {
  padding: 80px 0;
  background: #ffffff;
}

.council-screenshots .section-subtitle {
  text-align: left;
  margin-left: 0;
  max-width: none;
}

.council-screenshots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.council-screenshot-item {
  margin: 0;
  min-width: 0;
  overflow: hidden;
}

.council-screenshot-item figcaption {
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--color-muted);
  text-align: center;
}

.council-screenshot-img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-card);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
  display: block;
  cursor: zoom-in;
}

@media (max-width: 700px) {
  .council-screenshots-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Plans & Notes showcase — homepage
   ========================================================= */
.plans-notes-showcase {
  padding: 80px 0;
  background: #fff;
}

.plans-notes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 2.5rem;
}

.plans-notes-item {
  margin: 0;
  min-width: 0;
}

.plans-notes-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1409 / 1153;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-card);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  border: 1px solid rgba(37, 36, 34, 0.08);
  display: block;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.plans-notes-item img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}

.plans-notes-showcase .section-subtitle {
  max-width: 100%;
  text-align: left;
  margin-left: 0;
}

.plans-notes-item figcaption {
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--color-muted);
  text-align: center;
}

@media (max-width: 700px) {
  .plans-notes-grid {
    grid-template-columns: 1fr;
  }
}

/* Multi-screenshot roles-demo (Senior Leaders, Curriculum Leaders) */
.roles-demo--multi {
  flex-direction: column;
  gap: 1.25rem;
  align-items: stretch;
}

.roles-demo--multi figure {
  flex: none;
}

.roles-demo--multi img {
  max-height: 190px !important;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
  background: rgba(133, 196, 199, 0.15);
  border: 1px solid rgba(133, 196, 199, 0.4);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: #1d5c60;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}