/* ITIDA Innovation Bridge — matched to itida.gov.eg style35.css */
:root {
  --blue-900: #0c2d4a;
  --blue-800: #134567;
  --blue-600: #1a6fb3;
  --blue-500: #2b7ec4;
  --blue-200: #c5dcef;
  --blue-100: #e8f2fa;
  --blue-50: #f4f8fc;

  --gray-900: #1a2332;
  --gray-700: #3d4f62;
  --gray-600: #556575;
  --gray-500: #5f6f80;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;

  --heading-accent: #8f1c24;
  --accent: #8f1c24;
  --accent-deep: #6b1218;
  --accent-dark: #4a0c10;

  --white: #ffffff;
  --off-white: #f8fafc;

  --shadow-sm: 0 1px 2px rgba(12, 45, 74, 0.05);
  --shadow-md: 0 4px 16px rgba(12, 45, 74, 0.07);
  --shadow-lg: 0 12px 40px rgba(12, 45, 74, 0.09);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --max: 1200px;
  --gutter: 20px;
  --read: 66ch;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: Arial, Helvetica, sans-serif;
}

/* SharePoint-safe page shell — ALL page styles stay inside .iib-lp.
   Never style html/body/global * — that blows up SharePoint chrome fonts/menus. */
.iib-lp {
  --max: 1200px;
  --gutter: 20px;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem var(--gutter) 2rem;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-600);
  background: transparent;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.iib-lp *,
.iib-lp *::before,
.iib-lp *::after {
  box-sizing: border-box;
  font-family: var(--font);
}

.iib-lp img { max-width: 100%; display: block; }
.iib-lp a { color: var(--blue-600); }
.iib-lp a:focus-visible,
.iib-lp button:focus-visible,
.iib-lp .lp-theme-toggle:focus-visible {
  outline: 2px solid var(--gray-500);
  outline-offset: 3px;
}
.iib-lp button,
.iib-lp input,
.iib-lp select,
.iib-lp textarea {
  font-family: var(--font);
}

.lp-shell { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* White section cards — same shell as live IIB page */
.lp-section {
  max-width: var(--max);
  margin: 0 auto 1.25rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.lp-section > .lp-shell {
  max-width: none;
  margin: 0;
  padding: 0;
}
.lp-section.is-flush { margin-top: 1.25rem; }

.lp-display {
  font-family: var(--font);
  font-size: clamp(1.45rem, 0.85rem + 2.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  margin: 0;
  color: var(--gray-900);
  text-align: center;
}
.lp-heading {
  font-family: var(--font);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  margin: 0 0 1.25rem;
  color: var(--gray-900);
  padding-left: 0.9rem;
  border-left: 4px solid var(--heading-accent);
}
.lp-heading::before { display: none; }
.lp-subhead {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.55em;
  color: var(--gray-900);
}
.lp-label {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--blue-800);
  margin: 0 0 8px;
}
.lp-kicker {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 0 0 10px;
}
.lp-copy {
  margin: 0 0 1em;
  max-width: var(--read);
  color: var(--gray-600);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}
.lp-copy.is-muted { color: var(--gray-500); }
.lp-copy.is-tight { margin-bottom: 0.7em; }
.lp-copy strong,
.lp-copy b,
.lp-card-body strong,
.lp-card-body b,
.lp-fact-body strong,
.lp-note strong {
  font-weight: 700;
  color: var(--gray-700);
}
.lp-lede {
  margin: 0.65rem auto 0;
  max-width: min(52rem, 100%);
  font-size: clamp(0.95rem, 0.9rem + 0.22vw, 1.05rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--gray-600);
  text-align: center;
}
.lp-note {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1.15rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.6;
  background: #fff3e0;
  border-radius: var(--radius-sm);
  border: 1px solid #f0c78a;
  border-left: 4px solid var(--heading-accent);
  max-width: none;
}

.lp-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
}
@media (max-width: 860px) {
  .lp-grid-2 { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Buttons — ITIDA burgundy CTA (style35) */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  background: linear-gradient(145deg, #6b1218 0%, var(--heading-accent) 50%, #4a0c10 100%);
  color: var(--white);
  padding: 0.55rem 1.35rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(75, 12, 16, 0.35);
  transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.lp-btn:link,
.lp-btn:visited {
  color: var(--white);
}
.lp-btn:hover {
  color: var(--off-white);
  background: linear-gradient(145deg, #5a0f14 0%, #72141c 50%, #3d080c 100%);
  box-shadow: 0 4px 14px rgba(75, 12, 16, 0.42);
}
.lp-btn:active {
  color: var(--white);
  background: linear-gradient(145deg, #4a0c10 0%, #631016 100%);
  box-shadow: 0 1px 6px rgba(75, 12, 16, 0.35);
}
.lp-btn.is-ghost {
  background: var(--white);
  color: var(--blue-800);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.lp-btn.is-ghost:link,
.lp-btn.is-ghost:visited {
  color: var(--blue-800);
}
.lp-btn.is-ghost:hover {
  background: var(--blue-50);
  color: var(--blue-900);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
}
.lp-btn.is-compact { padding: 0.4rem 1rem; font-size: 0.85rem; }

/* Hero — light corporate card */
.lp-hero {
  position: relative;
  max-width: var(--max);
  margin: 1.25rem auto 0;
  padding: clamp(2rem, 4.5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem) clamp(2.25rem, 4vw, 3.25rem);
  background: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  color: var(--gray-900);
  overflow: hidden;
}
.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 90% 70% at 15% -30%, var(--blue-50), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(26, 111, 179, 0.05), transparent 50%);
  pointer-events: none;
}
.lp-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100% - 2rem, calc(var(--max) - 3rem));
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-500));
  border-radius: 3px 3px 0 0;
  opacity: 0.85;
  pointer-events: none;
}
.lp-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.lp-hero-branding { margin-top: 1.2rem; }
.lp-supported {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.lp-hero-logos {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  padding: 0.65rem 1.25rem;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.lp-hero-logos img {
  height: 52px;
  width: auto;
  max-height: 52px;
  object-fit: contain;
}
.lp-hero-amp {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--gray-500);
  line-height: 1;
  user-select: none;
}
@media (min-width: 640px) {
  .lp-hero-logos img {
    height: 64px;
    max-height: 64px;
  }
}
.lp-hero-deadline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-top: 1.25rem;
  text-align: center;
}
.lp-hero-deadline .lp-deadline {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading-accent);
  letter-spacing: 0.01em;
  margin: 0;
}
.lp-deadline-date {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
}
.lp-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
.lp-deadline {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading-accent);
  letter-spacing: 0.01em;
}

/* Stats strip — section--band style */
.lp-strip {
  max-width: var(--max);
  margin: 1.25rem auto;
  background: linear-gradient(135deg, #0077c0 0%, #005a9e 100%);
  color: var(--white);
  border: 1px solid #005a9e;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.lp-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.lp-stat {
  padding: 1.35rem 1.4rem;
  text-align: center;
}
.lp-stat + .lp-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}
.lp-stat-value {
  display: block;
  font-family: var(--font);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  margin-bottom: 6px;
  color: var(--white);
  text-align: center;
}
.lp-stat-value.is-accent { color: var(--white); }
.lp-stat-label {
  display: block;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}
@media (max-width: 780px) {
  .lp-strip-inner { grid-template-columns: 1fr; }
  .lp-stat + .lp-stat {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }
}

/* Fact lists */
.lp-facts { list-style: none; padding: 0; margin: 0; }
.lp-facts > li {
  padding: 1rem 0;
  border-top: 1px solid var(--gray-200);
  max-width: var(--read);
  background: none;
  box-shadow: none;
  border-left: none;
  border-radius: 0;
  margin-bottom: 0;
}
.lp-facts > li:first-child { border-top: none; padding-top: 0; }
.lp-facts > li:last-child { margin-bottom: 0; }
.lp-fact-title {
  font-family: var(--font);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
  color: var(--gray-900);
}
.lp-fact-body { color: var(--gray-600); font-size: 1rem; line-height: 1.7; }

.lp-section-lead {
  max-width: none;
  margin-bottom: 1.35rem;
}

/* Intro lines under section titles — full container width */
.lp-theme-head-copy,
.lp-theme-head-copy .lp-copy,
#contact > .lp-shell > .lp-copy,
#contact .lp-shell > .lp-copy {
  max-width: none;
}

/* Program Overview — image + role cards (aligned to live IIB page) */
.lp-overview {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 900px) {
  .lp-overview {
    grid-template-columns: 1.3fr 1.2fr;
    align-items: center;
    gap: 1.35rem;
  }
}
.lp-overview-copy .lp-copy {
  max-width: none;
}
.lp-overview-media {
  min-height: 200px;
  aspect-ratio: 3 / 2;
  max-height: min(420px, 70vh);
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  background-color: var(--blue-900);
  background-image:
    linear-gradient(rgba(8, 28, 46, 0.1), rgba(8, 28, 46, 0.1)),
    var(--overview-image),
    linear-gradient(180deg, var(--blue-900) 0%, var(--blue-800) 100%);
  background-size: 100% 100%, contain, 100% 100%;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center, center, center;
  box-shadow: var(--shadow-sm);
}
.lp-role-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .lp-role-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}
.lp-role {
  padding: 1.25rem 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  height: 100%;
}
.lp-role--accent {
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 55%);
  border-color: rgba(26, 111, 179, 0.18);
}
.lp-role-tag {
  display: inline-flex;
  align-self: start;
  margin-bottom: 0.25rem;
  padding: 0.28rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-sm);
}
.lp-role--accent .lp-role-tag {
  color: var(--heading-accent);
  background: #fde8ea;
  border-color: #f0c4c8;
}
.lp-role .lp-card-title {
  margin-bottom: 0.15rem;
}
.lp-role .lp-card-body {
  font-size: 1rem;
  line-height: 1.7;
}

/* Benefits — text-first cards (no photos), aligned with role-card language */
.lp-benefit-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .lp-benefit-grid {
    grid-template-columns: repeat(6, 1fr);
    align-items: stretch;
  }
  .lp-benefit-grid > .lp-benefit:nth-child(-n+3) {
    grid-column: span 2;
  }
  .lp-benefit-grid > .lp-benefit:nth-child(n+4) {
    grid-column: span 3;
  }
}
.lp-benefit {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.lp-benefit::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-600) 0%, var(--blue-500) 100%);
}
.lp-benefit--featured {
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 42%);
  border-color: rgba(26, 111, 179, 0.22);
  box-shadow: var(--shadow-md);
}
.lp-benefit--featured::before {
  background: linear-gradient(90deg, var(--heading-accent) 0%, #c43a44 100%);
}
.lp-benefit-photo {
  display: none;
}
.lp-benefit-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.15rem 1.2rem 1.3rem;
  flex: 1;
}
.lp-benefit-body .lp-card-num {
  width: auto;
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.45rem;
  margin-bottom: 0.15rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--blue-800);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}
.lp-benefit--featured .lp-card-num {
  color: var(--heading-accent);
  background: #fde8ea;
  border-color: #f0c4c8;
}
.lp-benefit-body .lp-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--blue-900);
  padding-bottom: 0.55rem;
  margin-bottom: 0.1rem;
  border-bottom: 2px solid var(--blue-100);
}
.lp-benefit-body .lp-card-body {
  line-height: 1.6;
}
/* Unique names — SharePoint often zeros list-style on ul/li */
ul.iib-benefit-bullets {
  list-style: none !important;
  margin: 0.15rem 0 0.45rem !important;
  padding: 0 0 0 0.15rem !important;
  color: var(--gray-600);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}
ul.iib-benefit-bullets > li {
  position: relative;
  list-style: none !important;
  margin: 0 0 0.45rem !important;
  padding: 0 0 0 1.15rem !important;
}
ul.iib-benefit-bullets > li::before {
  content: "" !important;
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--blue-600);
}
ul.iib-benefit-bullets > li:last-child {
  margin-bottom: 0 !important;
}
.lp-benefit-note {
  margin-top: 0.35rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--gray-700);
  background: #fff8e6;
  border: 1px solid #e8c97a;
  border-left: 3px solid var(--heading-accent);
  border-radius: var(--radius-sm);
}

/* Card grids */
.lp-card-grid { display: grid; gap: 1.15rem; }
.lp-card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}
.lp-card-grid--criteria {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 900px) {
  .lp-card-grid--3,
  .lp-card-grid--criteria { grid-template-columns: 1fr; }
}
.lp-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.35rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  height: 100%;
  position: relative;
  overflow: visible;
  transition: none;
}
.lp-card::after { display: none; }
.lp-card:hover { transform: none; box-shadow: var(--shadow-sm); }
.lp-card--accent {
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 55%);
  border-color: rgba(26, 111, 179, 0.18);
  color: inherit;
}
.lp-card--accent .lp-card-title { color: var(--gray-900); }
.lp-card--accent .lp-card-body { color: var(--gray-600); }
.lp-card--accent .lp-card-num {
  color: var(--blue-600);
  background: var(--blue-50);
  border-color: var(--blue-100);
}
.lp-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  margin-bottom: 0.25rem;
}
.lp-card-title {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--gray-900);
  margin: 0;
}
.lp-card-body {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-600);
}
.lp-card-body em { font-style: italic; }

.lp-criteria {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1.15rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: none;
}
.lp-criteria:hover { transform: none; }
.lp-criteria--wide { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .lp-criteria--wide { grid-column: auto; }
}
.lp-criteria-icon {
  width: 2.6rem;
  height: 2.6rem;
  margin-top: 0;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}
.lp-criteria-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

/* Process journey timeline */
.lp-journey {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.lp-journey-step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0 1.25rem;
  align-items: stretch;
}
.lp-journey-rail {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 1.35rem;
}
.lp-journey-rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--blue-200), var(--gray-200));
}
.lp-journey-step:first-child .lp-journey-rail::before {
  top: 1.35rem;
}
.lp-journey-step.is-last .lp-journey-rail::before {
  bottom: calc(100% - 2.85rem);
}
.lp-journey-node {
  position: relative;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue-600), var(--blue-500));
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(26, 111, 179, 0.25);
  border: 2px solid var(--white);
}
.lp-journey-node.is-dot {
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.7rem;
  border-radius: 50%;
  background: var(--heading-accent);
  box-shadow: 0 0 0 4px var(--blue-50);
  border: none;
}
.lp-journey-step.is-current .lp-journey-node {
  background: linear-gradient(145deg, var(--heading-accent), #6b1218);
  box-shadow: 0 2px 10px rgba(143, 28, 36, 0.35);
}
.lp-journey-card {
  margin-bottom: 1rem;
  padding: 1.25rem 1.3rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.lp-journey-card::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 1.7rem;
  width: 10px;
  height: 10px;
  background: var(--white);
  border-left: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  transform: rotate(45deg);
}
.lp-journey-card.is-soft {
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 70%);
  border-color: rgba(26, 111, 179, 0.18);
}
.lp-journey-step.is-current .lp-journey-card {
  border-color: rgba(143, 28, 36, 0.22);
  box-shadow: var(--shadow-md);
}
.lp-journey-step.is-branch {
  grid-template-columns: 3rem 1fr;
}
.lp-journey-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.45rem;
}
.lp-journey-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--heading-accent);
  border-radius: 999px;
}
.lp-journey-badge.is-muted {
  color: var(--blue-800);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}
.lp-journey-card .lp-copy {
  max-width: none;
  margin-bottom: 0.65rem;
}
.lp-journey-card .lp-copy:last-child { margin-bottom: 0; }
.lp-journey-footnote { margin-top: 0.85em; }
.lp-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 0.75rem;
}
@media (max-width: 720px) {
  .lp-mini-grid { grid-template-columns: 1fr; }
  .lp-journey-step {
    grid-template-columns: 2.4rem 1fr;
    gap: 0 0.85rem;
  }
  .lp-journey-node {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 0.85rem;
  }
  .lp-journey-card::before { display: none; }
}
.lp-mini-card {
  padding: 1rem 1.05rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  border-top: 3px solid var(--heading-accent);
}
.lp-mini-card .lp-card-title {
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}
.lp-chip-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.lp-chip-list li {
  margin: 0;
  padding: 0.45rem 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-800);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 999px;
}
.lp-when {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--heading-accent);
  font-weight: 700;
  letter-spacing: 0;
}

/* Themes accordion */
.lp-theme-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.lp-theme-head-copy { max-width: none; width: 100%; }
.lp-theme-head-copy .lp-heading { margin-bottom: 0.5rem; }
.lp-theme-head-copy .lp-copy { margin: 0; max-width: none; }
.lp-theme-list { border-top: 2px solid var(--blue-200); }
.lp-theme {
  border-bottom: 1px solid var(--gray-200);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.lp-theme.is-open {
  border-bottom-color: var(--blue-200);
  background: var(--blue-50);
  margin: 0 -0.5rem;
  padding: 0 0.5rem;
  border-radius: var(--radius-sm);
  box-shadow: none;
  transform: none;
}
/* Flex (not grid) — SharePoint often breaks display:grid on <button> */
.lp-theme-toggle {
  width: 100%;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  padding: 1.15rem 0.25rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 18px;
  color: inherit;
  font: inherit;
}
.lp-theme-toggle:hover .lp-theme-name { color: var(--blue-600); }
.lp-theme-code {
  flex: 0 0 82px;
  width: 82px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--heading-accent);
  letter-spacing: 0.04em;
  background: none;
  padding: 0;
  border-radius: 0;
  text-align: left;
  display: inline-block;
}
.lp-theme-name {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--gray-900);
  transition: color 0.2s ease;
  display: inline-block;
}
.lp-theme-plus {
  flex: 0 0 26px;
  margin-left: auto;
  width: 26px;
  height: 26px;
  border: 2px solid var(--blue-600);
  border-radius: 6px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.lp-theme-plus::before,
.lp-theme-plus::after {
  content: "";
  position: absolute;
  background: var(--blue-600);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.lp-theme-plus::before { width: 12px; height: 2px; }
.lp-theme-plus::after { width: 2px; height: 12px; }
.lp-theme.is-open .lp-theme-plus {
  background: var(--heading-accent);
  border-color: var(--heading-accent);
  transform: none;
}
.lp-theme.is-open .lp-theme-plus::before { background: var(--white); }
.lp-theme.is-open .lp-theme-plus::after { display: none; }
@media (max-width: 900px) {
  .lp-theme-toggle {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px 14px;
    padding-right: 2.5rem;
    position: relative;
  }
  .lp-theme-code {
    flex: 1 1 auto;
    width: auto;
    order: 1;
  }
  .lp-theme-name {
    flex: 1 1 100%;
    order: 3;
  }
  .lp-theme-plus {
    order: 2;
    position: absolute;
    right: 0.25rem;
    top: 1.15rem;
    margin-left: 0;
  }
}

.lp-theme-panel {
  display: none;
  padding: 0 0.25rem 1.75rem;
  grid-template-columns: 1fr 300px;
  gap: 1.75rem;
}
.lp-theme.is-open .lp-theme-panel { display: grid; }
@media (max-width: 900px) {
  .lp-theme.is-open .lp-theme-panel {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
.lp-block { margin-bottom: 1.25rem; }
.lp-block:last-child { margin-bottom: 0; }
.lp-outcomes {
  margin: 0;
  padding-left: 18px;
  color: var(--gray-600);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
}
.lp-outcomes li { margin-bottom: 6px; }
.lp-outcomes li::marker { color: var(--blue-600); }
.lp-side {
  background: var(--white);
  padding: 1.25rem;
  align-self: start;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  border-top: 4px solid var(--heading-accent);
  box-shadow: var(--shadow-sm);
}
.lp-side .lp-copy { font-size: 1rem; color: var(--gray-600); max-width: none; line-height: 1.7; }
.lp-emph-inline { font-weight: 700; color: var(--gray-700); }

/* Apply — same card shell as other sections */
.lp-apply {
  max-width: var(--max);
  margin: 0 auto 1.25rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: var(--gray-600);
}
.lp-apply .lp-shell { padding: 0; max-width: none; }
.lp-apply .lp-heading {
  color: var(--gray-900);
}
.lp-apply .lp-heading::before { display: none; }
.lp-apply .lp-subhead { color: var(--gray-900); }
.lp-apply .lp-copy { color: var(--gray-600); }
.lp-apply .lp-facts > li {
  border-top-color: var(--gray-200);
  color: var(--gray-600);
  background: none;
  border-left: none;
  box-shadow: none;
  padding: 1rem 0;
}
.lp-apply .lp-fact-title { color: var(--gray-900); }
.lp-apply .lp-fact-body { color: var(--gray-600); }
.lp-apply .lp-deadline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-top: 1rem;
  padding: 0.85rem 1.15rem;
  background: linear-gradient(135deg, #fde8ea 0%, #fff5f5 100%);
  border: 2px solid var(--heading-accent);
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(143, 28, 36, 0.12);
}

/* Page gutters — scoped to .iib-lp (SharePoint nests content; body > never matches) */
.iib-lp > .lp-section,
.iib-lp > .lp-strip,
.iib-lp > .lp-hero,
.iib-lp > .lp-apply,
.lp-section,
.lp-strip,
.lp-hero,
.lp-apply {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
.iib-lp > .lp-hero { margin-top: 0; }
.iib-lp > .lp-section.is-flush { margin-top: 1.25rem; }

/* Reveal */
.lp-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.lp-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.lp-hero .lp-display {
  animation: lpFadeUp 0.7s var(--ease) 0.1s both;
}
.lp-hero .lp-lede {
  animation: lpFadeUp 0.7s var(--ease) 0.22s both;
}
.lp-hero .lp-cta-row {
  animation: lpFadeUp 0.7s var(--ease) 0.34s both;
}
@keyframes lpFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .iib-lp *,
  .iib-lp *::before,
  .iib-lp *::after {
    animation: none !important;
    transition: none !important;
  }
  .iib-lp .lp-reveal { opacity: 1; transform: none; }
}

/* ============================================================
   SharePoint overrides — customized class names + !important
   so cached or SharePoint-injected styles cannot override them.
   ============================================================ */

/* Stats strip in JICA logo blue with white text */
div.lp-strip.iib-strip-jica {
  background: linear-gradient(135deg, #0077c0 0%, #005a9e 100%) !important;
  color: #ffffff !important;
  border: 1px solid #005a9e !important;
}
div.lp-strip.iib-strip-jica .lp-stat-value,
div.lp-strip.iib-strip-jica .lp-stat-value.is-accent {
  color: #ffffff !important;
  text-align: center !important;
}
div.lp-strip.iib-strip-jica .lp-stat-label {
  color: rgba(255, 255, 255, 0.85) !important;
  text-align: center !important;
}
div.lp-strip.iib-strip-jica .lp-stat + .lp-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.25) !important;
}
@media (max-width: 780px) {
  div.lp-strip.iib-strip-jica .lp-stat + .lp-stat {
    border-left: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.25) !important;
  }
}

/* Overview: center the copy vertically next to the image */
@media (min-width: 900px) {
  div.lp-overview.iib-overview-centered {
    align-items: center !important;
  }
}

/* Benefit card titles */
div.lp-benefit-grid.iib-benefit-emphasis .lp-benefit-body .lp-card-title {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  color: #0c2d4a !important;
  padding-bottom: 0.55rem !important;
  border-bottom: 2px solid #e8f2fa !important;
}

/* Do NOT touch SharePoint chrome (nav#primary / suite bar / menus).
   Previous global body/nav rules leaked and enlarged built-in SP fonts. */

/* ============================================================
   SharePoint hard overrides — scoped to .iib-lp only
   ============================================================ */
div.iib-lp#iib-lp {
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
  font-size: 16px !important;
}

div.iib-lp#iib-lp .lp-section-lead,
div.iib-lp#iib-lp .lp-theme-head-copy,
div.iib-lp#iib-lp .lp-theme-head-copy .lp-copy,
div.iib-lp#iib-lp #contact .lp-copy {
  max-width: none !important;
}

/* Body copy size — scoped to landing content only */
div.iib-lp#iib-lp .lp-copy,
div.iib-lp#iib-lp .lp-card-body,
div.iib-lp#iib-lp .lp-fact-body,
div.iib-lp#iib-lp .lp-role .lp-card-body,
div.iib-lp#iib-lp .lp-outcomes,
div.iib-lp#iib-lp .lp-side .lp-copy,
div.iib-lp#iib-lp .lp-benefit-note,
div.iib-lp#iib-lp .lp-note {
  font-size: 1rem !important;
  line-height: 1.7 !important;
}

div.iib-lp#iib-lp .lp-benefit-body .lp-card-body {
  line-height: 1.55 !important;
}
div.iib-lp#iib-lp ul.iib-benefit-bullets {
  list-style: none !important;
  margin: 0.15rem 0 0.45rem !important;
  padding: 0 0 0 0.15rem !important;
}
div.iib-lp#iib-lp ul.iib-benefit-bullets > li {
  position: relative !important;
  list-style: none !important;
  margin: 0 0 0.45rem !important;
  padding: 0 0 0 1.15rem !important;
  color: #556575 !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
}
div.iib-lp#iib-lp ul.iib-benefit-bullets > li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.55em !important;
  width: 0.4rem !important;
  height: 0.4rem !important;
  border-radius: 50% !important;
  background: #1a6fb3 !important;
}
div.iib-lp#iib-lp .lp-benefit-note {
  font-size: 0.92rem !important;
  line-height: 1.45 !important;
}

/* Blue stats strip — keep numbers/labels LARGE (do not shrink) */
div.iib-lp#iib-lp .lp-strip .lp-stat-value,
div.iib-lp#iib-lp .lp-strip.iib-strip-jica .lp-stat-value,
div.iib-lp#iib-lp .lp-strip.iib-strip-jica .lp-stat-value.is-accent {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  text-align: center !important;
}
div.iib-lp#iib-lp .lp-strip .lp-stat-label,
div.iib-lp#iib-lp .lp-strip.iib-strip-jica .lp-stat-label {
  font-size: 0.95rem !important;
  line-height: 1.45 !important;
  text-align: center !important;
}
div.iib-lp#iib-lp > .lp-section,
div.iib-lp#iib-lp > .lp-strip,
div.iib-lp#iib-lp > .lp-hero,
div.iib-lp#iib-lp > .lp-apply {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Keep theme code + name beside the plus (SP often forces button/spans to block) */
div.iib-lp#iib-lp button.lp-theme-toggle {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
div.iib-lp#iib-lp button.lp-theme-toggle > .lp-theme-code,
div.iib-lp#iib-lp button.lp-theme-toggle > .lp-theme-name,
div.iib-lp#iib-lp button.lp-theme-toggle > .lp-theme-plus {
  display: inline-block !important;
  float: none !important;
  position: relative !important;
}
div.iib-lp#iib-lp button.lp-theme-toggle > .lp-theme-code {
  flex: 0 0 82px !important;
  width: 82px !important;
}
div.iib-lp#iib-lp button.lp-theme-toggle > .lp-theme-name {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
div.iib-lp#iib-lp button.lp-theme-toggle > .lp-theme-plus {
  flex: 0 0 26px !important;
  width: 26px !important;
  height: 26px !important;
  margin-left: auto !important;
  position: relative !important;
}
@media (max-width: 900px) {
  div.iib-lp#iib-lp button.lp-theme-toggle {
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    padding-right: 2.5rem !important;
    position: relative !important;
  }
  div.iib-lp#iib-lp button.lp-theme-toggle > .lp-theme-plus {
    position: absolute !important;
    right: 0.25rem !important;
    top: 1.15rem !important;
    margin-left: 0 !important;
  }
  div.iib-lp#iib-lp button.lp-theme-toggle > .lp-theme-code {
    flex: 1 1 auto !important;
    width: auto !important;
  }
  div.iib-lp#iib-lp button.lp-theme-toggle > .lp-theme-name {
    flex: 1 1 100% !important;
  }
}

/* ============================================================
   Small-screen responsive — additive only (does not change
   desktop / large-screen rules above)
   ============================================================ */
@media (max-width: 768px) {
  .iib-lp,
  div.iib-lp#iib-lp {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .lp-shell {
    padding: 0 16px;
  }

  .iib-lp > .lp-section,
  .iib-lp > .lp-strip,
  .iib-lp > .lp-hero,
  .iib-lp > .lp-apply,
  .lp-section,
  .lp-strip,
  .lp-hero,
  .lp-apply {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 1.35rem 1rem;
    border-radius: var(--radius-md);
  }

  .lp-hero {
    padding: 1.5rem 1rem 1.75rem;
  }

  .lp-display {
    font-size: clamp(1.35rem, 5.5vw, 1.85rem);
    line-height: 1.3;
  }

  .lp-lede {
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 100%;
  }

  .lp-heading {
    font-size: 1.3rem;
    padding-left: 0.75rem;
    margin-bottom: 1rem;
  }

  .lp-subhead {
    font-size: 1.08rem;
  }

  .lp-copy,
  .lp-fact-body,
  .lp-card-body,
  .lp-role .lp-card-body,
  .lp-outcomes,
  .lp-side .lp-copy,
  div.iib-lp#iib-lp .lp-copy,
  div.iib-lp#iib-lp .lp-card-body,
  div.iib-lp#iib-lp .lp-fact-body,
  div.iib-lp#iib-lp .lp-role .lp-card-body,
  div.iib-lp#iib-lp .lp-outcomes,
  div.iib-lp#iib-lp .lp-side .lp-copy,
  div.iib-lp#iib-lp .lp-benefit-note,
  div.iib-lp#iib-lp .lp-note {
    font-size: 0.95rem !important;
    max-width: none;
  }

  div.iib-lp#iib-lp .lp-strip .lp-stat-value,
  div.iib-lp#iib-lp .lp-strip.iib-strip-jica .lp-stat-value {
    font-size: 1.45rem !important;
  }

  .lp-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 1.35rem;
  }

  .lp-cta-row .lp-btn {
    width: 100%;
  }

  .lp-hero-logos {
    gap: 0.5rem 0.75rem;
    padding: 0.55rem 0.85rem;
  }

  .lp-hero-logos img {
    height: 44px;
    max-height: 44px;
  }

  .lp-hero-deadline {
    flex-direction: column;
    gap: 0.2rem;
  }

  .lp-overview-media {
    min-height: 180px;
    max-height: 260px;
    aspect-ratio: 16 / 10;
  }

  .lp-stat {
    padding: 1.1rem 1rem;
  }

  .lp-stat-value {
    font-size: 1.45rem;
  }

  .lp-benefit-body .lp-card-title,
  div.lp-benefit-grid.iib-benefit-emphasis .lp-benefit-body .lp-card-title {
    font-size: 1.15rem !important;
  }

  .lp-theme-toggle {
    padding: 1rem 0.1rem;
    gap: 8px 12px;
  }

  .lp-theme-name {
    font-size: 1.05rem;
  }

  .lp-theme.is-open {
    margin: 0;
    padding: 0;
  }

  .lp-theme-panel {
    padding-left: 0;
    padding-right: 0;
  }

  .lp-side {
    padding: 1rem;
  }

  .lp-chip-list li {
    font-size: 0.95rem;
    padding: 0.4rem 0.7rem;
  }

  .lp-btn {
    font-size: 1.05rem;
    padding: 0.65rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .iib-lp,
  div.iib-lp#iib-lp {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .iib-lp > .lp-section,
  .iib-lp > .lp-strip,
  .iib-lp > .lp-hero,
  .iib-lp > .lp-apply,
  .lp-section,
  .lp-strip,
  .lp-hero,
  .lp-apply {
    width: 100%;
    max-width: 100%;
    padding: 1.15rem 0.85rem;
  }

  .lp-display {
    font-size: 1.3rem;
  }

  .lp-lede {
    font-size: 0.92rem;
  }

  .lp-heading {
    font-size: 1.2rem;
  }

  .lp-copy,
  .lp-fact-body,
  .lp-card-body,
  .lp-role .lp-card-body,
  .lp-outcomes,
  .lp-side .lp-copy,
  div.iib-lp#iib-lp .lp-copy,
  div.iib-lp#iib-lp .lp-card-body,
  div.iib-lp#iib-lp .lp-fact-body,
  div.iib-lp#iib-lp .lp-role .lp-card-body,
  div.iib-lp#iib-lp .lp-outcomes,
  div.iib-lp#iib-lp .lp-side .lp-copy,
  div.iib-lp#iib-lp .lp-benefit-note,
  div.iib-lp#iib-lp .lp-note {
    font-size: 0.92rem !important;
  }

  .lp-hero-logos img {
    height: 38px;
    max-height: 38px;
  }

  .lp-role,
  .lp-card,
  .lp-benefit-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .lp-criteria {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}
