/* ==========================================================================
   CFO CRAFT - SHARED INDUSTRY PAGE STYLES
   Global typography, navbar, footer, buttons, colors and social hover states
   come from ../style.css and ../responsive.css.
   Only industry-specific components live here.
   ========================================================================== */

body.industry-page {
  background: var(--white);
  color: #111;
}

.industry-page main { overflow: hidden; }

.industry-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.industry-skip {
  position: fixed;
  left: -9999px;
  top: 0.75rem;
  z-index: 2000;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: var(--white);
  color: var(--dark-blue);
  box-shadow: var(--shadow-md);
}
.industry-skip:focus { left: 0.75rem; }

/* Current service inside Services dropdown */
.industry-page .nav-dropdown a[aria-current="page"] {
  background: var(--gray-100);
}

.industry-page .nav-dropdown a[aria-current="page"] .dd-title {
  color: var(--primary-blue);
  font-weight: 700;
}

/* ---------- Hero ---------- */
.industry-hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 5rem;
  background: linear-gradient(110deg, var(--dark-blue-gradient));
  color: var(--white);
}
.industry-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 22% 82%, rgba(166, 203, 247, 0.12), transparent 48%),
    radial-gradient(ellipse at 82% 18%, rgba(43, 109, 178, 0.14), transparent 45%);
}
.industry-hero > .industry-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.industry-breadcrumb {
  margin: 0 0 1.15rem;
  color: rgba(255,255,255,.62);
  font-size: .85rem;
}
.industry-breadcrumb a { color: inherit; }
.industry-breadcrumb a:hover { color: var(--light-blue); }
.industry-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--light-blue);
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 5vw, 3.7rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.industry-lede {
  max-width: 680px;
  margin: 1.25rem 0 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
}
.industry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.8rem;
}
.industry-hero-link {
  color: var(--light-blue);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(166,203,247,.55);
  padding-bottom: 2px;
}
.industry-hero-link:hover { color: var(--white); border-color: var(--white); }

/* ---------- Hero finance panel ---------- */
.industry-pack {
  position: relative;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: var(--white);
  color: var(--dark-blue);
  box-shadow: var(--shadow-xl);
}
.industry-pack::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 14px -14px -14px 14px;
  border-radius: 16px;
  background: var(--primary-blue);
  opacity: .82;
}
.industry-pack h2 {
  margin: 0 0 .25rem;
  color: var(--dark-blue);
  font-size: 1.05rem;
  font-weight: 600;
}
.industry-pack .cap {
  margin: 0 0 1rem;
  color: var(--gray-600);
  font-size: .8rem;
}
.industry-pack ul { margin: 0; padding: 0; list-style: none; }
.industry-pack li {
  display: grid;
  grid-template-columns: minmax(0,1fr) 92px;
  gap: .75rem;
  align-items: center;
  padding: .78rem 0;
  border-top: 1px solid var(--gray-200);
  font-size: .9rem;
}
.industry-pack li span { color: var(--dark-blue); font-weight: 500; }
.industry-pack svg { width: 92px; height: 26px; display: block; }

/* ---------- Core section rhythm ---------- */
.industry-section { padding: clamp(3.75rem, 7vw, 5.5rem) 0; background: var(--white); }
.industry-section.industry-alt {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.industry-heading {
  max-width: 760px;
  margin: 0 0 .75rem;
  color: var(--dark-blue);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.industry-sub {
  max-width: 760px;
  margin: 0;
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- Pain points ---------- */
.industry-symptoms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0 3rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}
.industry-symptoms li { padding: 1.5rem 0; border-top: 1px solid var(--gray-200); }
.industry-symptoms h3 {
  margin: 0 0 .45rem;
  color: var(--dark-blue);
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.35;
}
.industry-symptoms p { margin: 0; color: var(--gray-600); font-size: .95rem; line-height: 1.65; }

/* ---------- Levers ---------- */
.industry-levers { margin-top: 2.25rem; border-top: 3px solid var(--primary-blue); }
.industry-lever {
  display: grid;
  grid-template-columns: 240px minmax(0,1fr) minmax(0,1fr);
  gap: 2.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.industry-lever h3 {
  margin: 0;
  color: var(--dark-blue);
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.25;
}
.industry-lever p { margin: 0; color: #24384f; font-size: .95rem; line-height: 1.65; }
.industry-output {
  padding-left: 1rem;
  border-left: 3px solid var(--light-blue);
  color: var(--gray-600) !important;
}
.industry-output b {
  display: block;
  margin-bottom: .3rem;
  color: var(--primary-blue);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ---------- KPI pack ---------- */
.industry-kpis {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
  gap: 4rem;
  align-items: start;
}
.industry-kpi-list {
  columns: 2;
  column-gap: 2.25rem;
  margin: 0;
  padding: .35rem 0 0;
  border-top: 3px solid var(--primary-blue);
  list-style: none;
}
.industry-kpi-list li {
  break-inside: avoid;
  padding: .85rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: .93rem;
}
.industry-kpi-list b { display:block; color:var(--dark-blue); font-weight:600; }
.industry-kpi-list small { display:block; margin-top:.12rem; color:var(--gray-600); font-size:.83rem; }

/* ---------- Statutory / lender references ---------- */
.industry-refs {
  display: grid;
  gap: .9rem;
  max-width: 960px;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.industry-refs li {
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.industry-refs h3 { margin:0 0 .35rem; color:var(--dark-blue); font-size:1.05rem; font-weight:600; }
.industry-refs p { margin:0; color:#24384f; font-size:.94rem; line-height:1.65; }
.industry-refs a { color:var(--primary-blue); font-weight:500; }
.industry-source { display:block; margin-top:.65rem; color:var(--gray-600); font-size:.8rem; line-height:1.55; }
.industry-disclaimer { max-width:900px; margin:1rem 0 0; color:var(--gray-600); font-size:.8rem; line-height:1.6; }

/* ---------- Fit ---------- */
.industry-fit-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem; margin-top:2rem; }
.industry-fit-grid > div { padding:1.5rem; border:1px solid var(--gray-200); border-radius:12px; background:var(--white); }
.industry-fit-grid h3 { margin:0 0 .75rem; color:var(--dark-blue); font-size:1.05rem; font-weight:600; }
.industry-fit-grid ul { margin:0; padding:0; list-style:none; }
.industry-fit-grid li { position:relative; padding:.72rem 0 .72rem 1.65rem; border-top:1px solid var(--gray-200); color:#24384f; font-size:.94rem; line-height:1.55; }
.industry-fit-grid li::before { position:absolute; left:.1rem; top:.72rem; font-weight:700; }
.industry-yes li::before { content:'✓'; color:var(--primary-blue); }
.industry-no li::before { content:'–'; color:var(--gray-600); }
.industry-fit-grid a { color:var(--primary-blue); font-weight:600; }

/* ---------- Engagement path ---------- */
.industry-path {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin:2rem 0 0;
  padding:0;
  overflow:hidden;
  border:1px solid var(--gray-200);
  border-radius:14px;
  background:var(--white);
  list-style:none;
}
.industry-path li { padding:1.4rem; border-right:1px solid var(--gray-200); }
.industry-path li:last-child { border-right:0; }
.industry-when { margin:0 0 .25rem; color:var(--primary-blue); font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.industry-path h3 { margin:.2rem 0 .5rem; color:var(--dark-blue); font-size:1.02rem; font-weight:600; line-height:1.35; }
.industry-path h3 a:hover { color:var(--primary-blue); }
.industry-path p { margin:0; color:var(--gray-600); font-size:.88rem; line-height:1.55; }

/* ---------- FAQ ---------- */
.industry-faq { max-width:860px; margin-top:1rem; }
.industry-faq details { border-bottom:1px solid var(--gray-200); }
.industry-faq details:first-child { border-top:1px solid var(--gray-200); }
.industry-faq summary {
  position:relative;
  padding:1.1rem 2.5rem 1.1rem 0;
  cursor:pointer;
  list-style:none;
  color:var(--dark-blue);
  font-family:var(--font-heading);
  font-size:1rem;
  font-weight:600;
}
.industry-faq summary::-webkit-details-marker { display:none; }
.industry-faq summary::after { content:'+'; position:absolute; right:.25rem; top:.9rem; color:var(--primary-blue); font-size:1.35rem; font-weight:400; }
.industry-faq details[open] summary::after { content:'−'; }
.industry-faq details p { max-width:760px; margin:0; padding:0 0 1rem; color:var(--gray-600); font-size:.92rem; line-height:1.7; }

/* ---------- Other industries ---------- */
.industry-others { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin-top:1.5rem; }
.industry-others a {
  display:block;
  padding:1.35rem;
  border:1px solid var(--gray-200);
  border-radius:12px;
  background:var(--white);
  box-shadow:var(--shadow-sm);
  transition:var(--transition);
}
.industry-others a:hover { border-color:var(--primary-blue); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.industry-others b { display:block; margin-bottom:.35rem; color:var(--dark-blue); font-family:var(--font-heading); font-size:1.12rem; font-weight:600; }
.industry-others span { color:var(--gray-600); font-size:.88rem; line-height:1.5; }

/* ---------- Final CTA ---------- */
.industry-cta {
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg, var(--dark-blue-gradient));
  color:var(--white);
}
.industry-cta::before {
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 82% 50%, rgba(166,203,247,.12), transparent 42%);
  pointer-events:none;
}
.industry-cta .industry-wrap {
  position:relative;
  z-index:1;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:2rem;
  padding-top:3.75rem;
  padding-bottom:3.75rem;
}
.industry-cta h2 { max-width:680px; margin:0; color:var(--light-blue); font-family:var(--font-heading); font-size:clamp(1.75rem,3.3vw,2.55rem); font-weight:400; line-height:1.2; }
.industry-cta p { max-width:680px; margin:.75rem 0 0; color:rgba(255,255,255,.78); line-height:1.65; }

.industry-placeholder { background:rgba(238,186,125,.18); border-bottom:1px dashed var(--creamish); padding:0 .15em; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .industry-hero > .industry-wrap, .industry-kpis { grid-template-columns:1fr; gap:2.5rem; }
  .industry-lever { grid-template-columns:1fr; gap:.8rem; }
  .industry-path { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .industry-path li:nth-child(2) { border-right:0; }
  .industry-path li:nth-child(-n+2) { border-bottom:1px solid var(--gray-200); }
}
@media (max-width: 768px) {
  .industry-wrap { padding:0 1.25rem; }
  .industry-hero { padding:7.5rem 0 3.75rem; }
  .industry-symptoms, .industry-fit-grid, .industry-others { grid-template-columns:1fr; }
  .industry-kpi-list { columns:1; }
  .industry-pack { margin-right:.75rem; }
  .industry-cta .industry-wrap { align-items:flex-start; flex-direction:column; }
}
@media (max-width: 520px) {
  .industry-hero h1 { font-size:2.15rem; }
  .industry-actions { align-items:stretch; flex-direction:column; }
  .industry-actions .btn-secondary, .industry-hero-link { width:100%; text-align:center; justify-content:center; }
  .industry-pack li { grid-template-columns:1fr; gap:.4rem; }
  .industry-pack svg { width:100%; max-width:140px; }
  .industry-path { grid-template-columns:1fr; }
  .industry-path li { border-right:0 !important; border-bottom:1px solid var(--gray-200); }
  .industry-path li:last-child { border-bottom:0; }
}
@media (prefers-reduced-motion: reduce) {
  .industry-page * { scroll-behavior:auto !important; }
}


/* ==========================================================================
   VISUAL ENHANCEMENT LAYER
   Premium visual hierarchy for text-heavy industry content.
   Content remains unchanged; this layer adds cards, icons, depth and motion.
   ========================================================================== */

/* ---------- Section-heading accent ---------- */
.industry-heading {
  position: relative;
  display: inline-block;
  padding-bottom: 0.85rem;
}

.industry-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 78px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--light-blue), var(--primary-blue));
}

/* ---------- Shared visual card treatment ---------- */
.industry-symptoms li,
.industry-lever,
.industry-refs li,
.industry-fit-grid > div,
.industry-path li,
.industry-faq details,
.industry-others a {
  position: relative;
  overflow: hidden;
}

.industry-symptoms li::after,
.industry-lever::after,
.industry-refs li::after,
.industry-fit-grid > div::after,
.industry-faq details::after,
.industry-others a::before {
  content: "";
  position: absolute;
  top: -34px;
  right: -38px;
  width: 128px;
  height: 128px;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(166, 203, 247, 0.22) 0%,
    rgba(166, 203, 247, 0) 72%
  );
}

/* ---------- Pain points: convert plain rows to visual cards ---------- */
.industry-symptoms {
  gap: 1.25rem;
}

.industry-symptoms li {
  min-height: 100%;
  padding: 1.45rem;
  border: 1px solid rgba(8, 41, 81, 0.09);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.industry-symptoms li:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 109, 178, 0.24);
  box-shadow: var(--shadow-md);
}

.industry-symptoms li::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background-color: rgba(166, 203, 247, 0.25);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 22px 22px;
}

.industry-symptoms li:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 2.8 19h18.4L12 3Z'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E");
}

.industry-symptoms li:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 7v10'/%3E%3Cpath d='M15 9.5c-.6-1-1.7-1.5-3-1.5-1.7 0-3 1-3 2.3 0 1.4 1.2 2 3 2.5 1.8.5 3 1.1 3 2.5 0 1.4-1.3 2.4-3 2.4-1.3 0-2.4-.5-3-1.3'/%3E%3C/svg%3E");
}

.industry-symptoms li:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7 12 3l8 4-8 4-8-4Z'/%3E%3Cpath d='m4 12 8 4 8-4'/%3E%3Cpath d='m4 17 8 4 8-4'/%3E%3C/svg%3E");
}

.industry-symptoms li:nth-child(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='m6 15 4-4 3 2 5-6'/%3E%3Cpath d='M16 7h3v3'/%3E%3C/svg%3E");
}

.industry-symptoms h3 {
  margin-bottom: 0.5rem;
}

/* ---------- What we put in place: 2x2 solution cards ---------- */
.industry-levers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.25rem;
  border-top: 0;
}

.industry-lever {
  display: block;
  padding: 1.5rem;
  border: 1px solid rgba(8, 41, 81, 0.09);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: inset 0 3px 0 var(--primary-blue), var(--shadow-sm);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.industry-lever:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 109, 178, 0.22);
  box-shadow: inset 0 3px 0 var(--primary-blue), var(--shadow-md);
}

.industry-lever h3 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
}

.industry-lever h3::before {
  content: "";
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  background-color: rgba(166, 203, 247, 0.25);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 21px 21px;
}

.industry-lever:nth-child(1) h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V5'/%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='m7 15 4-4 3 2 5-6'/%3E%3C/svg%3E");
}

.industry-lever:nth-child(2) h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='3'/%3E%3Cpath d='M8 9h8M8 13h5M8 17h3'/%3E%3C/svg%3E");
}

.industry-lever:nth-child(3) h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M8 12h8'/%3E%3Cpath d='M12 8v8'/%3E%3C/svg%3E");
}

.industry-lever:nth-child(4) h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 19 6v5c0 4.5-2.6 8-7 10-4.4-2-7-5.5-7-10V6l7-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

.industry-output {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 0;
  border-left: 3px solid var(--primary-blue);
  border-radius: 0 10px 10px 0;
  background: rgba(166, 203, 247, 0.14);
}

.industry-output b {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.industry-output b::before {
  content: "→";
  color: var(--primary-blue);
}

/* ---------- KPI pack: numbered metric tiles ---------- */
.industry-kpi-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  columns: auto;
  counter-reset: industry-kpi;
  padding: 0;
  border-top: 0;
}

.industry-kpi-list li {
  position: relative;
  min-height: 82px;
  padding: 1rem 1rem 1rem 3.2rem;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  box-shadow: var(--shadow-sm);
  counter-increment: industry-kpi;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.industry-kpi-list li:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 109, 178, 0.22);
  box-shadow: var(--shadow-md);
}

.industry-kpi-list li::before {
  content: counter(industry-kpi, decimal-leading-zero);
  position: absolute;
  top: 1rem;
  left: 0.9rem;
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border-radius: 9px;
  background: rgba(166, 203, 247, 0.27);
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
}

/* ---------- Statutory / lender references ---------- */
.industry-refs {
  gap: 1rem;
}

.industry-refs li {
  padding: 1.35rem 1.5rem 1.35rem 4.8rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.industry-refs li:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 109, 178, 0.2);
  box-shadow: var(--shadow-md);
}

.industry-refs li::before {
  content: "";
  position: absolute;
  left: 1.35rem;
  top: 1.35rem;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(166, 203, 247, 0.24)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='m9 15 2 2 4-4'/%3E%3C/svg%3E")
    center / 20px 20px no-repeat;
}

/* ---------- Fit cards ---------- */
.industry-fit-grid {
  gap: 1.25rem;
}

.industry-fit-grid > div {
  padding: 1.55rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.industry-fit-grid > div:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 109, 178, 0.22);
  box-shadow: var(--shadow-md);
}

.industry-fit-grid h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 42px;
}

.industry-fit-grid h3::before {
  content: "";
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 11px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 19px 19px;
}

.industry-yes h3::before {
  background-color: rgba(166, 203, 247, 0.28);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E");
}

.industry-no h3::before {
  background-color: rgba(238, 186, 125, 0.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E");
}

/* ---------- Engagement path: visual progression ---------- */
.industry-path {
  counter-reset: industry-step;
  gap: 0;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.industry-path li {
  min-height: 210px;
  padding: 4.15rem 1.35rem 1.35rem;
  counter-increment: industry-step;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.industry-path li::before {
  content: counter(industry-step, decimal-leading-zero);
  position: absolute;
  top: 1.3rem;
  left: 1.35rem;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--dark-blue);
  color: var(--light-blue);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 0 0 6px rgba(166, 203, 247, 0.14);
}

.industry-path li::after {
  content: "";
  position: absolute;
  top: 2.38rem;
  left: calc(1.35rem + 2.25rem);
  right: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), rgba(166, 203, 247, 0.28));
}

.industry-path li:last-child::after {
  display: none;
}

.industry-path li:hover {
  background: #ffffff;
}

.industry-when {
  display: inline-flex;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(166, 203, 247, 0.18);
}

/* ---------- FAQ: newer question-card UI ---------- */
.industry-faq {
  display: grid;
  gap: 0.9rem;
  max-width: 900px;
  margin-top: 1.5rem;
}

.industry-faq details,
.industry-faq details:first-child {
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.industry-faq details:hover,
.industry-faq details[open] {
  border-color: rgba(43, 109, 178, 0.2);
  box-shadow: var(--shadow-md);
}

.industry-faq summary {
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 1rem 3.5rem 1rem 1rem;
}

.industry-faq summary::before {
  content: "";
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  margin-right: 0.75rem;
  border-radius: 10px;
  background: rgba(166, 203, 247, 0.24)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 2-3 4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E")
    center / 17px 17px no-repeat;
}

.industry-faq summary::after {
  top: 50%;
  right: 1.15rem;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(166, 203, 247, 0.18);
  transform: translateY(-50%);
  line-height: 1;
}

.industry-faq details[open] summary::after {
  content: "−";
  background: var(--dark-blue);
  color: var(--white);
}

.industry-faq details p {
  max-width: 780px;
  margin: 0;
  padding: 0 1.25rem 1.2rem 4.6rem;
}

/* ---------- Other industries ---------- */
.industry-others {
  gap: 1.25rem;
}

.industry-others a {
  min-height: 145px;
  padding: 1.5rem 3.6rem 1.5rem 1.5rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.industry-others a::after {
  content: "→";
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: rgba(166, 203, 247, 0.24);
  color: var(--primary-blue);
  font-size: 1rem;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.industry-others a:hover::after {
  transform: translateX(3px);
  background: var(--dark-blue);
  color: var(--white);
}

/* ---------- Hero pack polish ---------- */
.industry-pack li {
  position: relative;
  padding-left: 0.35rem;
}

.industry-pack li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--light-blue), var(--primary-blue));
  transform: translateY(-50%);
  opacity: 0.65;
}

/* ---------- Final CTA visual glow ---------- */
.industry-cta::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -90px;
  bottom: -190px;
  border-radius: 50%;
  border: 1px solid rgba(166, 203, 247, 0.12);
  box-shadow:
    0 0 0 38px rgba(166, 203, 247, 0.035),
    0 0 0 78px rgba(166, 203, 247, 0.02);
  pointer-events: none;
}

/* ---------- Responsive tuning for visual layer ---------- */
@media (max-width: 960px) {
  .industry-levers {
    grid-template-columns: 1fr;
  }

  .industry-path li {
    min-height: 190px;
  }

  .industry-path li:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .industry-symptoms {
    gap: 1rem;
  }

  .industry-symptoms li,
  .industry-lever,
  .industry-fit-grid > div,
  .industry-others a {
    border-radius: 16px;
  }

  .industry-kpi-list {
    grid-template-columns: 1fr;
  }

  .industry-refs li {
    padding: 1.2rem 1.2rem 1.2rem 4.5rem;
  }

  .industry-refs li::before {
    left: 1.15rem;
    top: 1.15rem;
    width: 38px;
    height: 38px;
    background-size: 18px 18px;
  }

  .industry-path li {
    min-height: 175px;
  }

  .industry-faq details p {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .industry-others a {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .industry-heading {
    padding-bottom: 0.7rem;
  }

  .industry-heading::after {
    width: 62px;
    height: 3px;
  }

  .industry-symptoms li,
  .industry-lever,
  .industry-fit-grid > div,
  .industry-others a {
    padding: 1.2rem;
  }

  .industry-symptoms li::before {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background-size: 19px 19px;
  }

  .industry-lever h3::before {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
    background-size: 19px 19px;
  }

  .industry-kpi-list li {
    padding-left: 3rem;
  }

  .industry-path li {
    min-height: auto;
    padding: 4rem 1.2rem 1.2rem;
  }

  .industry-path li::before {
    left: 1.2rem;
  }

  .industry-path li::after {
    display: none;
  }

  .industry-faq summary {
    min-height: 64px;
    padding: 0.9rem 3rem 0.9rem 0.9rem;
    font-size: 0.95rem;
  }

  .industry-faq summary::before {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    margin-right: 0.6rem;
    background-size: 15px 15px;
  }

  .industry-faq summary::after {
    right: 0.85rem;
    width: 26px;
    height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .industry-symptoms li,
  .industry-lever,
  .industry-kpi-list li,
  .industry-refs li,
  .industry-fit-grid > div,
  .industry-path li,
  .industry-faq details,
  .industry-others a,
  .industry-others a::after {
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   HERO INDUSTRY PACK — MINI CFO DASHBOARD VISUALS
   Replaces the plain sparkline look with compact, industry-matched finance
   visuals. HTML content remains unchanged; the existing SVG sparklines stay
   in the markup for graceful fallback but are hidden when this CSS loads.
   ========================================================================== */

.industry-page .industry-pack {
  --pack-panel: #f7faff;
  --pack-panel-2: #eef5fd;
  --pack-track: #dfeaf6;
  --pack-blue: var(--primary-blue);
  --pack-light: var(--light-blue);
  --pack-cream: var(--creamish);
  isolation: isolate;
  overflow: hidden;
}

.industry-page .industry-pack::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 92% 10%, rgba(166, 203, 247, 0.18), transparent 28%),
    linear-gradient(rgba(43, 109, 178, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 109, 178, 0.035) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  opacity: 0.72;
}

.industry-page .industry-pack h2,
.industry-page .industry-pack .cap,
.industry-page .industry-pack ul {
  position: relative;
  z-index: 1;
}

/* Hide only the five old hero-pack sparkline SVGs. Navbar/icons are untouched. */
.industry-page .industry-pack li > svg {
  display: none !important;
}

.industry-page .industry-pack li {
  grid-template-columns: minmax(0, 1fr) 122px;
  min-height: 58px;
  gap: 1rem;
  transition:
    background-color 0.22s ease,
    padding-left 0.22s ease;
}

.industry-page .industry-pack li:hover {
  padding-left: 0.55rem;
  background: rgba(246, 249, 253, 0.78);
}

.industry-page .industry-pack li > span {
  position: relative;
  z-index: 1;
  line-height: 1.38;
}

/* The compact visual tile replacing each plain line chart. */
.industry-page .industry-pack li::after {
  content: "";
  position: relative;
  z-index: 1;
  display: block;
  width: 122px;
  height: 40px;
  justify-self: end;
  align-self: center;
  border: 1px solid rgba(43, 109, 178, 0.11);
  border-radius: 11px;
  background-color: var(--pack-panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 6px 16px rgba(8, 41, 81, 0.055);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.industry-page .industry-pack li:hover::after {
  transform: translateY(-2px) scale(1.015);
  border-color: rgba(43, 109, 178, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 9px 20px rgba(8, 41, 81, 0.09);
}

/* --------------------------------------------------------------------------
   MANUFACTURING — plant-performance dashboard
   1 margin columns / 2 cost variance / 3 inventory mix / 4 utilisation blocks
   / 5 cash-cycle compression
   -------------------------------------------------------------------------- */
body[data-page="industry-manufacturing"] .industry-pack li:nth-child(1)::after {
  background:
    linear-gradient(to top, var(--pack-blue) 0 72%, transparent 72%) 12px bottom 7px / 8px 27px no-repeat,
    linear-gradient(to top, var(--pack-light) 0 48%, transparent 48%) 28px bottom 7px / 8px 27px no-repeat,
    linear-gradient(to top, var(--pack-blue) 0 62%, transparent 62%) 44px bottom 7px / 8px 27px no-repeat,
    linear-gradient(to top, var(--pack-light) 0 82%, transparent 82%) 60px bottom 7px / 8px 27px no-repeat,
    linear-gradient(to top, var(--pack-blue) 0 68%, transparent 68%) 76px bottom 7px / 8px 27px no-repeat,
    linear-gradient(to top, var(--pack-cream) 0 91%, transparent 91%) 92px bottom 7px / 8px 27px no-repeat,
    linear-gradient(180deg, #ffffff 0%, var(--pack-panel) 100%);
}

body[data-page="industry-manufacturing"] .industry-pack li:nth-child(2)::after {
  background:
    linear-gradient(90deg, var(--pack-blue) 0 56%, var(--pack-light) 56% 72%, var(--pack-track) 72%) center 13px / 98px 7px no-repeat,
    linear-gradient(90deg, var(--pack-cream) 0 38%, rgba(238, 186, 125, 0.25) 38%) center 25px / 98px 7px no-repeat,
    radial-gradient(circle at 69% 41%, var(--white) 0 3px, var(--pack-blue) 3.5px 5px, transparent 5.5px),
    linear-gradient(180deg, #ffffff 0%, var(--pack-panel) 100%);
}

body[data-page="industry-manufacturing"] .industry-pack li:nth-child(3)::after {
  background:
    linear-gradient(90deg,
      var(--pack-blue) 0 25%,
      transparent 25% 28%,
      var(--pack-light) 28% 62%,
      transparent 62% 65%,
      var(--pack-cream) 65% 88%,
      transparent 88%) center / 98px 12px no-repeat,
    linear-gradient(90deg, rgba(43,109,178,.16) 0 44%, transparent 44% 48%, rgba(166,203,247,.3) 48% 81%, transparent 81%) center 29px / 98px 5px no-repeat,
    linear-gradient(180deg, #ffffff 0%, var(--pack-panel) 100%);
}

body[data-page="industry-manufacturing"] .industry-pack li:nth-child(4)::after {
  background:
    linear-gradient(to top, var(--pack-light) 0 52%, transparent 52%) 15px bottom 8px / 14px 25px no-repeat,
    linear-gradient(to top, var(--pack-blue) 0 74%, transparent 74%) 37px bottom 8px / 14px 25px no-repeat,
    linear-gradient(to top, var(--pack-blue) 0 88%, transparent 88%) 59px bottom 8px / 14px 25px no-repeat,
    linear-gradient(to top, var(--pack-cream) 0 67%, transparent 67%) 81px bottom 8px / 14px 25px no-repeat,
    linear-gradient(180deg, #ffffff 0%, var(--pack-panel) 100%);
}

body[data-page="industry-manufacturing"] .industry-pack li:nth-child(5)::after {
  background:
    linear-gradient(90deg, var(--pack-blue) 0 78%, var(--pack-track) 78%) 12px 10px / 98px 6px no-repeat,
    linear-gradient(90deg, var(--pack-light) 0 62%, var(--pack-track) 62%) 12px 19px / 98px 6px no-repeat,
    linear-gradient(90deg, var(--pack-cream) 0 43%, rgba(238,186,125,.22) 43%) 12px 28px / 98px 6px no-repeat,
    linear-gradient(180deg, #ffffff 0%, var(--pack-panel) 100%);
}

/* --------------------------------------------------------------------------
   TRADING — distribution / credit-control dashboard
   -------------------------------------------------------------------------- */
body[data-page="industry-trading"] .industry-pack li:nth-child(1)::after {
  background:
    linear-gradient(to top, var(--pack-blue) 0 84%, transparent 84%) 12px bottom 7px / 9px 27px no-repeat,
    linear-gradient(to top, var(--pack-light) 0 58%, transparent 58%) 30px bottom 7px / 9px 27px no-repeat,
    linear-gradient(to top, var(--pack-cream) 0 73%, transparent 73%) 48px bottom 7px / 9px 27px no-repeat,
    linear-gradient(to top, var(--pack-blue) 0 64%, transparent 64%) 66px bottom 7px / 9px 27px no-repeat,
    linear-gradient(to top, var(--pack-light) 0 91%, transparent 91%) 84px bottom 7px / 9px 27px no-repeat,
    linear-gradient(180deg, #ffffff 0%, var(--pack-panel) 100%);
}

body[data-page="industry-trading"] .industry-pack li:nth-child(2)::after {
  background:
    radial-gradient(circle, var(--pack-blue) 0 4px, transparent 4.5px) 14px 9px / 19px 19px repeat-x,
    linear-gradient(90deg, var(--pack-light) 0 66%, var(--pack-track) 66%) center 30px / 98px 6px no-repeat,
    linear-gradient(180deg, #ffffff 0%, var(--pack-panel) 100%);
}

body[data-page="industry-trading"] .industry-pack li:nth-child(3)::after {
  background:
    linear-gradient(90deg, var(--pack-blue) 0 34%, transparent 34% 37%, var(--pack-cream) 37% 61%, transparent 61% 64%, #dce7f3 64%) center 11px / 98px 9px no-repeat,
    linear-gradient(90deg, var(--pack-blue) 0 23%, transparent 23% 26%, var(--pack-cream) 26% 49%, transparent 49% 52%, #dce7f3 52%) center 25px / 98px 9px no-repeat,
    linear-gradient(180deg, #ffffff 0%, var(--pack-panel) 100%);
}

body[data-page="industry-trading"] .industry-pack li:nth-child(4)::after {
  background:
    linear-gradient(to top, var(--pack-light) 0 34%, transparent 34%) 13px bottom 7px / 12px 27px no-repeat,
    linear-gradient(to top, var(--pack-blue) 0 61%, transparent 61%) 34px bottom 7px / 12px 27px no-repeat,
    linear-gradient(to top, var(--pack-blue) 0 78%, transparent 78%) 55px bottom 7px / 12px 27px no-repeat,
    linear-gradient(to top, var(--pack-cream) 0 90%, transparent 90%) 76px bottom 7px / 12px 27px no-repeat,
    linear-gradient(180deg, #ffffff 0%, var(--pack-panel) 100%);
}

body[data-page="industry-trading"] .industry-pack li:nth-child(5)::after {
  background:
    linear-gradient(90deg, var(--pack-blue) 0 71%, var(--pack-track) 71%) center 11px / 98px 8px no-repeat,
    linear-gradient(90deg, var(--pack-light) 0 49%, var(--pack-track) 49%) center 24px / 98px 8px no-repeat,
    radial-gradient(circle at 72% 38%, #fff 0 2.5px, var(--pack-blue) 3px 4.5px, transparent 5px),
    linear-gradient(180deg, #ffffff 0%, var(--pack-panel) 100%);
}

/* --------------------------------------------------------------------------
   SERVICES — utilisation / project-economics dashboard
   -------------------------------------------------------------------------- */
body[data-page="industry-services"] .industry-pack li:nth-child(1)::after {
  background:
    linear-gradient(90deg, var(--pack-blue) 0 76%, var(--pack-track) 76%) 12px 10px / 98px 8px no-repeat,
    linear-gradient(90deg, var(--pack-light) 0 61%, var(--pack-track) 61%) 12px 24px / 98px 8px no-repeat,
    radial-gradient(circle at 77% 35%, #fff 0 2.5px, var(--pack-blue) 3px 4.5px, transparent 5px),
    linear-gradient(180deg, #ffffff 0%, var(--pack-panel) 100%);
}

body[data-page="industry-services"] .industry-pack li:nth-child(2)::after {
  background:
    linear-gradient(to top, var(--pack-blue) 0 68%, transparent 68%) 14px bottom 7px / 10px 26px no-repeat,
    linear-gradient(to top, var(--pack-light) 0 83%, transparent 83%) 33px bottom 7px / 10px 26px no-repeat,
    linear-gradient(to top, var(--pack-cream) 0 59%, transparent 59%) 52px bottom 7px / 10px 26px no-repeat,
    linear-gradient(to top, var(--pack-blue) 0 74%, transparent 74%) 71px bottom 7px / 10px 26px no-repeat,
    linear-gradient(to top, var(--pack-light) 0 64%, transparent 64%) 90px bottom 7px / 10px 26px no-repeat,
    linear-gradient(180deg, #ffffff 0%, var(--pack-panel) 100%);
}

body[data-page="industry-services"] .industry-pack li:nth-child(3)::after {
  background:
    linear-gradient(90deg, var(--pack-blue) 0 82%, var(--pack-track) 82%) 12px 9px / 98px 7px no-repeat,
    linear-gradient(90deg, var(--pack-light) 0 68%, var(--pack-track) 68%) 12px 19px / 98px 7px no-repeat,
    linear-gradient(90deg, var(--pack-cream) 0 52%, rgba(238,186,125,.2) 52%) 12px 29px / 98px 7px no-repeat,
    linear-gradient(180deg, #ffffff 0%, var(--pack-panel) 100%);
}

body[data-page="industry-services"] .industry-pack li:nth-child(4)::after {
  background:
    radial-gradient(circle, var(--pack-blue) 0 3px, transparent 3.5px) 14px 8px / 18px 18px repeat-x,
    linear-gradient(90deg, rgba(166,203,247,.5) 0 58%, transparent 58%) center 29px / 98px 6px no-repeat,
    linear-gradient(180deg, #ffffff 0%, var(--pack-panel) 100%);
}

body[data-page="industry-services"] .industry-pack li:nth-child(5)::after {
  background:
    linear-gradient(90deg, var(--pack-blue) 0 57%, transparent 57%) 12px 10px / 98px 8px no-repeat,
    linear-gradient(90deg, var(--pack-cream) 0 42%, transparent 42%) 12px 24px / 98px 8px no-repeat,
    linear-gradient(90deg, transparent 0 58%, rgba(8,41,81,.09) 58% 59%, transparent 59%) center / 98px 100% no-repeat,
    linear-gradient(180deg, #ffffff 0%, var(--pack-panel) 100%);
}

/* --------------------------------------------------------------------------
   STARTUPS — investor / runway dashboard
   -------------------------------------------------------------------------- */
body[data-page="industry-startups"] .industry-pack li:nth-child(1)::after {
  background:
    linear-gradient(to top, var(--pack-cream) 0 81%, transparent 81%) 13px bottom 7px / 10px 27px no-repeat,
    linear-gradient(to top, var(--pack-blue) 0 66%, transparent 66%) 32px bottom 7px / 10px 27px no-repeat,
    linear-gradient(to top, var(--pack-light) 0 54%, transparent 54%) 51px bottom 7px / 10px 27px no-repeat,
    linear-gradient(to top, var(--pack-blue) 0 43%, transparent 43%) 70px bottom 7px / 10px 27px no-repeat,
    linear-gradient(to top, var(--pack-light) 0 35%, transparent 35%) 89px bottom 7px / 10px 27px no-repeat,
    linear-gradient(180deg, #ffffff 0%, var(--pack-panel) 100%);
}

body[data-page="industry-startups"] .industry-pack li:nth-child(2)::after {
  background:
    linear-gradient(90deg,
      var(--pack-blue) 0 14%, transparent 14% 17%,
      var(--pack-blue) 17% 31%, transparent 31% 34%,
      var(--pack-light) 34% 48%, transparent 48% 51%,
      var(--pack-light) 51% 65%, transparent 65% 68%,
      var(--pack-cream) 68% 82%, transparent 82%) center 13px / 98px 9px no-repeat,
    linear-gradient(90deg, var(--pack-blue) 0 67%, var(--pack-track) 67%) center 28px / 98px 5px no-repeat,
    linear-gradient(180deg, #ffffff 0%, var(--pack-panel) 100%);
}

body[data-page="industry-startups"] .industry-pack li:nth-child(3)::after {
  background:
    linear-gradient(90deg, var(--pack-blue) 0 74%, var(--pack-track) 74%) 12px 10px / 98px 7px no-repeat,
    linear-gradient(90deg, var(--pack-light) 0 59%, var(--pack-track) 59%) 12px 20px / 98px 7px no-repeat,
    linear-gradient(90deg, var(--pack-cream) 0 46%, rgba(238,186,125,.2) 46%) 12px 30px / 98px 7px no-repeat,
    linear-gradient(180deg, #ffffff 0%, var(--pack-panel) 100%);
}

body[data-page="industry-startups"] .industry-pack li:nth-child(4)::after {
  background:
    radial-gradient(circle, var(--pack-blue) 0 4px, transparent 4.5px) 13px 8px / 22px 18px repeat-x,
    linear-gradient(90deg, var(--pack-light) 0 63%, var(--pack-track) 63%) center 29px / 98px 6px no-repeat,
    linear-gradient(180deg, #ffffff 0%, var(--pack-panel) 100%);
}

body[data-page="industry-startups"] .industry-pack li:nth-child(5)::after {
  background:
    linear-gradient(90deg, rgba(166,203,247,.55) 0 88%, transparent 88%) 12px 9px / 98px 6px no-repeat,
    linear-gradient(90deg, var(--pack-blue) 0 72%, var(--pack-track) 72%) 12px 18px / 98px 6px no-repeat,
    linear-gradient(90deg, var(--pack-cream) 0 55%, rgba(238,186,125,.18) 55%) 12px 27px / 98px 6px no-repeat,
    linear-gradient(180deg, #ffffff 0%, var(--pack-panel) 100%);
}

/* Add a subtle dashboard scan/highlight on hover without changing text. */
.industry-page .industry-pack li::before {
  transition:
    height 0.22s ease,
    opacity 0.22s ease,
    background 0.22s ease;
}

.industry-page .industry-pack li:hover::before {
  height: 42px;
  opacity: 1;
  background: linear-gradient(180deg, var(--pack-cream), var(--primary-blue));
}

/* Responsive preservation for the richer dashboard tiles. */
@media (max-width: 960px) {
  .industry-page .industry-pack {
    width: min(100%, 680px);
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .industry-page .industry-pack {
    width: 100%;
    margin-right: 0;
    padding: 1.35rem;
  }

  .industry-page .industry-pack li {
    grid-template-columns: minmax(0, 1fr) 116px;
    gap: 0.85rem;
  }

  .industry-page .industry-pack li::after {
    width: 116px;
  }
}

@media (max-width: 480px) {
  .industry-page .industry-pack {
    padding: 1.15rem;
    border-radius: 14px;
  }

  .industry-page .industry-pack h2 {
    font-size: 1rem;
  }

  .industry-page .industry-pack .cap {
    margin-bottom: 0.75rem;
    font-size: 0.74rem;
    line-height: 1.5;
  }

  .industry-page .industry-pack li {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 0.7rem;
    min-height: 54px;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    font-size: 0.82rem;
  }

  .industry-page .industry-pack li::after {
    width: 104px;
    height: 36px;
    border-radius: 9px;
    background-size: auto;
  }

  /* Re-scale the desktop-positioned visual layers as one tile. */
  .industry-page .industry-pack li::after {
    transform-origin: right center;
  }

  .industry-page .industry-pack li:hover::after {
    transform: translateY(-1px);
  }

  .industry-page .industry-pack::before {
    inset: 10px -10px -10px 10px;
  }
}

@media (max-width: 360px) {
  .industry-page .industry-pack li {
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 0.55rem;
    font-size: 0.78rem;
  }

  .industry-page .industry-pack li::after {
    width: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .industry-page .industry-pack li,
  .industry-page .industry-pack li::before,
  .industry-page .industry-pack li::after {
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   CFO CRAFT — NORMALISED HERO + VIDEO WALKTHROUGH
   Desktop goal: balanced one-screen hero where practical.
   No fixed hero height and no line clamping: long text is never cut.
   ========================================================================== */

.industry-page .industry-hero {
  min-height: 0;
  padding: 7rem 0 2.6rem;
  overflow: hidden;
}

.industry-page .industry-hero .industry-wrap {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.75rem, 3.2vw, 3.25rem);
  padding-right: clamp(1.75rem, 3.2vw, 3.25rem);
}

.industry-page .industry-hero > .industry-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  gap: clamp(2.25rem, 4vw, 4rem);
  align-items: center;
}

.industry-page .industry-hero-copy {
  min-width: 0;
  align-self: center;
}

.industry-page .industry-breadcrumb {
  margin-top: 0;
  margin-bottom: .85rem;
}

.industry-page .industry-hero h1 {
  width: 100%;
  max-width: 730px;
  margin-top: 0;
  font-size: clamp(2.55rem, 3.25vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
  overflow-wrap: normal;
}

.industry-page .industry-lede {
  width: 100%;
  max-width: 690px;
  font-size: clamp(.98rem, 1.15vw, 1.08rem);
  line-height: 1.58;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.industry-page .industry-demo-card {
  width: 100%;
  max-width: 610px;
  min-width: 0;
  justify-self: end;
  align-self: center;
}

.industry-page .industry-demo-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: .55rem;
  border: 1px solid rgba(166,203,247,.20);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.055));
  box-shadow: 0 22px 58px rgba(2,12,27,.32), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.industry-page .industry-demo-shell::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  top: -115px;
  right: -95px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166,203,247,.15), rgba(166,203,247,0) 70%);
  pointer-events: none;
}

.industry-page .industry-demo-media {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(166,203,247,.12);
  border-radius: 14px;
  background: #020c1b;
  box-shadow: 0 10px 26px rgba(2,12,27,.26);
}

.industry-page .industry-demo-video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: #020c1b;
  object-fit: cover;
}

.industry-page .industry-demo-video::-webkit-media-controls-panel {
  background: linear-gradient(to top, rgba(2,12,27,.92), rgba(2,12,27,.10));
}

.industry-page .industry-demo-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: .85rem;
  align-items: start;
  padding: .85rem .5rem .4rem;
}

.industry-page .industry-demo-copy {
  min-width: 0;
}

.industry-page .industry-demo-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .4rem;
  color: var(--creamish);
  font-family: var(--font-primary);
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.industry-page .industry-demo-kicker::before {
  content: "";
  width: 20px;
  height: 2px;
  flex: 0 0 20px;
  border-radius: 999px;
  background: var(--creamish);
}

.industry-page .industry-demo-copy h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.industry-page .industry-demo-copy > p:last-child {
  max-width: 58ch;
  margin: .34rem 0 0;
  color: rgba(255,255,255,.68);
  font-family: var(--font-primary);
  font-size: .78rem;
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.industry-page .industry-hero-copy .industry-breadcrumb {
  font-size: .83rem;
}
.industry-page .industry-lede {
  margin: 1rem 0 0;
}
.industry-page .industry-actions {
  gap: .75rem 1rem;
  margin-top: 1.25rem;
}
.industry-page .industry-actions .btn-secondary {
  min-height: 42px;
  padding-top: .66rem;
  padding-bottom: .66rem;
}


@media (hover:hover) and (pointer:fine) {
  .industry-page .industry-demo-shell:hover {
    transform: translateY(-3px);
    border-color: rgba(166,203,247,.34);
    box-shadow: 0 28px 68px rgba(2,12,27,.38), inset 0 1px 0 rgba(255,255,255,.10);
  }
}

@media (max-width: 1180px) {
  .industry-page .industry-hero {
    padding-top: 6.75rem;
    padding-bottom: 2.5rem;
  }

  .industry-page .industry-hero .industry-wrap {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .industry-page .industry-hero > .industry-wrap {
    grid-template-columns: minmax(0,1fr) minmax(390px,.9fr);
    gap: 2rem;
  }

  .industry-page .industry-hero h1 {
    font-size: clamp(2.35rem, 4vw, 3rem);
  }

  .industry-page .industry-demo-card {
    max-width: 560px;
  }
}

@media (max-width: 900px) {
  .industry-page .industry-hero {
    padding-top: 6.5rem;
    padding-bottom: 2.75rem;
  }

  .industry-page .industry-hero > .industry-wrap {
    grid-template-columns: 1fr;
    gap: 1.7rem;
    align-items: start;
  }

  .industry-page .industry-demo-card {
    width: 100%;
    max-width: 720px;
    justify-self: start;
  }

  .industry-page .industry-hero h1,
  .industry-page .industry-lede {
    max-width: 780px;
  }
}

@media (max-width: 768px) {
  .industry-page .industry-hero {
    padding-top: 6.15rem;
    padding-bottom: 2.45rem;
  }

  .industry-page .industry-hero .industry-wrap {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .industry-page .industry-hero h1 {
    font-size: clamp(2.1rem, 7vw, 2.6rem);
    line-height: 1.1;
  }

  .industry-page .industry-lede {
    font-size: .98rem;
    line-height: 1.55;
  }

  .industry-page .industry-demo-shell {
    padding: .45rem;
    border-radius: 17px;
  }

  .industry-page .industry-demo-media {
    border-radius: 12px;
  }
}

@media (max-width: 560px) {
  .industry-page .industry-demo-meta {
    grid-template-columns: 1fr;
    gap: .6rem;
  }

  .industry-page .industry-demo-badge {
    width: fit-content;
  }
}

@media (max-width: 480px) {
  .industry-page .industry-hero {
    padding-top: 5.75rem;
    padding-bottom: 2.25rem;
  }

  .industry-page .industry-hero .industry-wrap {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .industry-page .industry-hero > .industry-wrap {
    gap: 1.25rem;
  }

  .industry-page .industry-hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.2rem);
    line-height: 1.12;
  }

  .industry-page .industry-demo-shell {
    padding: .35rem;
    border-radius: 14px;
  }

  .industry-page .industry-demo-media {
    border-radius: 10px;
  }

  .industry-page .industry-demo-meta {
    padding: .72rem .38rem .34rem;
  }

  .industry-page .industry-demo-copy h2 {
    font-size: 1rem;
  }

  .industry-page .industry-demo-copy > p:last-child {
    font-size: .76rem;
    line-height: 1.48;
  }
}

@media (prefers-reduced-motion: reduce) {
  .industry-page .industry-demo-shell {
    transition: none !important;
    transform: none !important;
  }
}
