@import url("case-study.css");

/* ============ FTUE in "Flow Security Central" — Case study ============ */
/* Colors sampled directly from the real ftue.html screenshots */
:root {
  --dark-bg: #1c1a1b;
  --ftue-navy: #17458a;
}

html { scroll-behavior: smooth; }

/* ---------- Floating side navigation ---------- */
.ftue-side-nav {
  position: fixed;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 88vh;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  padding: 8px 4px;
  mix-blend-mode: difference;
}
.ftue-side-nav::-webkit-scrollbar { display: none; }

.ftue-side-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.2s ease;
}
.ftue-side-nav-link:hover {
  background: rgba(200, 200, 200, 0.06);
}

.ftue-side-nav-bar {
  flex-shrink: 0;
  width: 2px;
  height: 12px;
  background: #D1D5DB;
  border-radius: 1px;
  transition: all 0.2s ease;
  opacity: 0.6;
}
.ftue-side-nav-link:hover .ftue-side-nav-bar,
.ftue-side-nav-link.active .ftue-side-nav-bar {
  opacity: 1;
}
.ftue-side-nav-link.active .ftue-side-nav-bar {
  width: 4px;
  height: 18px;
  background: #E5E7EB;
  border-radius: 99px;
}

.ftue-side-nav-label {
  font-size: 12px;
  font-weight: 400;
  color: #D1D5DB;
  white-space: nowrap;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, max-width 0.2s ease;
}
.ftue-side-nav-link.active .ftue-side-nav-label {
  color: #F3F4F6;
  font-weight: 600;
}

.ftue-side-nav:hover .ftue-side-nav-label {
  opacity: 1;
  max-width: 220px;
  transform: translateX(0);
}

@media (max-width: 700px) {
  .ftue-side-nav { display: none; }
}

/* ---------- Real image overrides (replacing .ph placeholders) ---------- */
img.cover-laptop,
img.ph-chart,
img.ph-img,
img.ph-sm,
img.ph-diagram,
img.ph-chart-lg,
img.ph-video,
img.ph,
img.thanks-illus {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  border-radius: 12px;
  object-fit: contain;
  border: none;
  background: none;
  padding: 0;
}
img.ph-video {
  border-radius: 8px;
}
img.cover-laptop {
  max-width: 1050px;
  margin: 0 auto 90px;
  object-fit: cover;
}
img.ph-img {
  border-radius: 0;
}
img.thanks-illus {
  width: 340px;
  margin: 0 auto;
}
img.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: auto;
  margin: 0 auto 22px;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 24px 4px 24px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  object-fit: contain;
  object-position: center;
  box-sizing: border-box;
  vertical-align: middle;
}
.sec.navy { background: var(--ftue-navy); color: var(--dark-text); }
.sec.navy .sec-h2, .sec.navy h1, .sec.navy h3 { color: #fff; }

.sec.navy .meta-grid {
  max-width: 720px;
  gap: 8px;
  margin-bottom: 40px;
}
.sec.navy .meta-chip {
  background: #0f3266;
  border-radius: 6px;
  padding: 8px 14px;
  gap: 8px;
  font-size: 13px;
}
.sec.navy .meta-label { color: rgba(255, 255, 255, 0.65); }
.sec.navy .meta-val { font-size: 13px; }

.sec.navy .stat-banner {
  grid-template-columns: 1fr;
  max-width: 920px;
  margin: 0 auto;
}
.sec.navy .stat-banner .stat-card {
  text-align: center;
  padding: 22px 40px;
}
.sec.navy .stat-banner .stat-label {
  font-size: 16px;
}
.sec.navy .stat-banner .stat-pct {
  font-size: 36px;
  margin: 8px 0;
}
.sec.navy .stat-banner .stat-val {
  font-size: 14.5px;
  max-width: none;
  width: 100%;
  margin: 0 auto;
  color: var(--ink-2);
}

.sec.navy .explore-cols {
  max-width: 1020px;
  gap: 28px;
}
.sec.navy .explore-pill {
  white-space: nowrap;
  font-size: 18px;
  padding: 20px 24px;
}

.sec.navy .brief-row {
  grid-template-columns: 0.3fr 0.7fr;
  align-items: start;
  gap: 36px;
}
.sec.navy .brief-row .sec-h2 {
  margin-bottom: 20px;
}
.sec.navy .brief-quote {
  font-family: "Rajdhani", "DM Sans", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  border-left: 3px solid rgba(255, 255, 255, 0.45);
  padding-left: 16px;
  margin: 0;
  max-width: none;
}

/* ---------- Animated emoji (Noto Animated Emoji) ---------- */
.anim-emoji {
  height: 1.15em;
  width: 1.15em;
  vertical-align: -0.22em;
  object-fit: contain;
}

/* ---------- Quick context / Product ---------- */
.product-row {
  margin-top: 26px;
  background: var(--light-card); border: 1px solid var(--light-border);
  border-radius: var(--radius); padding: 34px 38px;
  display: grid; grid-template-columns: 0.3fr 0.7fr; gap: 36px; align-items: center;
}
.product-row h3 { font-size: 23px; margin-bottom: 6px; }
.product-row .product-name { font-size: 28px; font-weight: 700; margin: 4px 0 14px; }
.product-row ul { padding-left: 20px; display: grid; gap: 8px; font-size: 15.5px; color: var(--ink-2); }

/* ---------- Design brief + scope ---------- */
.scope-labels { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; }
.scope-labels span { font-size: 12.5px; font-weight: 600; text-align: center; flex: 1; color: var(--dark-text-dim); }

/* ---------- User types tree ---------- */
.utypes-wrap { margin-top: 40px; }
.utypes-heading { text-align: center; font-size: 24px; font-weight: 700; margin-bottom: 0; }
.utypes-branch {
  height: 52px;
  margin: 2px auto 4px;
  max-width: 100%;
}
.utypes-branch-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.utypes-branch-line {
  stroke: #8aa0b8;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.utypes-branch-svg > path[fill] {
  vector-effect: non-scaling-stroke;
}
.utypes-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.utype-box {
  background: var(--light-card); border: 1px solid var(--light-border);
  border-radius: 10px; padding: 18px 20px; text-align: center; font-weight: 700; font-size: 15.5px;
}
.uneeds-box {
  background: var(--cream); border: 1px solid var(--light-border);
  border-radius: var(--radius); padding: 20px 22px; margin-top: 14px;
}
.uneeds-box h4 { font-size: 16px; margin-bottom: 10px; }
.uneeds-box ul { padding-left: 18px; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }

/* ---------- Solution flow lists ---------- */
.flowlist-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px; }
.flowlist h4 { color: #fff; font-size: 18px; margin-bottom: 16px; text-align: center; }
.flowlist ol { list-style: none; display: grid; gap: 28px; }
.flowlist li {
  position: relative;
  background: var(--dark-card-2); border: 1px solid var(--dark-border);
  border-radius: 8px; padding: 10px 14px; text-align: center; font-size: 14px; color: var(--dark-text);
}
.flowlist li:not(:last-child)::after {
  content: "↓";
  position: absolute;
  left: 50%;
  top: calc(100% + 4px);
  transform: translateX(-50%);
  color: var(--dark-text-dim);
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
}

/* ---------- Framework table (Defining) ---------- */
/* ---------- Ideal FTUE framework table ---------- */
.framework-table {
  display: grid;
  gap: 0;
  margin-top: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(87, 73, 29, 0.12);
  background: #fff;
  box-shadow: 0 8px 28px rgba(87, 73, 29, 0.06);
  counter-reset: framework-item;
}
.framework-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  background: var(--mint);
  border-bottom: 1px solid rgba(87, 73, 29, 0.08);
  transition: background 0.15s ease;
}
.framework-row:last-child { border-bottom: none; }
.framework-row:nth-child(even) { background: #f3f8ee; }
.framework-row:hover { background: #e4f0d8; }
.framework-name {
  position: relative;
  padding: 16px 18px 16px 44px;
  font-family: "Rajdhani", "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #2b3a1a;
  display: flex;
  align-items: center;
  background: rgba(87, 73, 29, 0.06);
  border-right: 1px solid rgba(87, 73, 29, 0.08);
}
.framework-name::before {
  counter-increment: framework-item;
  content: counter(framework-item, decimal-leading-zero);
  position: absolute;
  left: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--olive-bg);
  opacity: 0.7;
}
.framework-desc {
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  display: flex;
  align-items: center;
}

/* ---------- Persona card ---------- */
.persona-card2 {
  position: relative;
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 0;
  margin-top: 18px;
  overflow: hidden;
}
.persona-card2-banner {
  position: relative;
  padding: 24px 28px 22px;
  background: var(--greyblue);
  border-bottom: 1px solid var(--light-border);
  color: var(--ink);
}
.persona-card2-banner h3 {
  font-family: "Rajdhani", "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ftue-navy);
  margin: 0 0 16px;
}
.persona-card2-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 0;
}
.persona-card2-avatar,
.persona-card2-head .ph {
  width: 64px;
  height: 64px;
  min-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 1px solid var(--light-border);
  background: #fff;
  color: var(--ink);
  padding: 0;
}
.persona-card2-name {
  font-family: "Rajdhani", "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.persona-card2-name span {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  color: var(--ink-2);
  font-size: 13.5px;
  display: block;
  margin-top: 6px;
  line-height: 1.45;
  max-width: 52ch;
}
.persona-card2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px 22px 22px;
  background: #fff;
}
.persona-card2-section {
  background: var(--light-card);
  border-radius: 10px;
  padding: 18px 18px 6px;
  border: 1px solid var(--light-border);
}
.persona-card2-section h4 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ftue-navy);
  margin: 0 0 10px;
  padding: 5px 10px;
  background: rgba(23, 69, 138, 0.08);
  border-radius: 6px;
}
.persona-sec-pain h4 {
  color: var(--olive-bg);
  background: rgba(87, 73, 29, 0.1);
}
.persona-card2-section h4::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.persona-card2-section ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.persona-card2-section li {
  position: relative;
  padding-left: 16px;
  line-height: 1.45;
}
.persona-card2-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--ftue-navy);
  transform: rotate(45deg);
}
.persona-sec-pain li::before {
  background: var(--olive-bg);
}

/* ---------- Need pills + two columns ---------- */
.need-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.need-pill {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 140px;
  padding: 20px 18px 22px;
  background:
    linear-gradient(160deg, #fff 0%, var(--greyblue) 100%);
  border: 1px solid var(--light-border);
  border-radius: 12px;
  text-align: left;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.need-pill::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -24px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(23, 69, 138, 0.06);
  pointer-events: none;
}
.need-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(23, 69, 138, 0.1);
}
.need-pill-num {
  font-family: "Rajdhani", "DM Sans", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--ftue-navy);
  letter-spacing: 0.04em;
  opacity: 0.35;
}
.need-pill-text {
  position: relative;
  z-index: 1;
  font-family: "Rajdhani", "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.need-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 20px; }
.need-col h4 { font-size: 16px; margin-bottom: 10px; }
.need-col ul { padding-left: 18px; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }

/* ---------- Evaluation checklist cards — paper notepad look ---------- */
.eval-row { display: grid; grid-template-columns: 0.3fr 0.7fr; gap: 20px; margin-bottom: 30px; align-items: start; }
.eval-checklist-card {
  position: relative;
  background:
    repeating-linear-gradient(
      transparent,
      transparent 27px,
      rgba(74, 151, 238, 0.18) 27px,
      rgba(74, 151, 238, 0.18) 28px
    ),
    linear-gradient(180deg, #fbfbfc 0%, #f3f4f6 100%);
  border: none;
  border-radius: 2px;
  padding: 24px 20px 20px 34px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 10px 28px rgba(23, 24, 28, 0.12),
    0 2px 6px rgba(23, 24, 28, 0.06);
  transform: rotate(-0.8deg);
}
.eval-checklist-card::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 12px;
  bottom: 12px;
  width: 1.5px;
  background: rgba(220, 80, 80, 0.45);
}
.eval-checklist-card h4 {
  font-family: "Rajdhani", "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid rgba(23, 24, 28, 0.2);
  color: var(--ink);
  letter-spacing: 0.02em;
}
.eval-checklist {
  list-style: none;
  display: grid;
  gap: 0;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 28px;
}
.eval-checklist li {
  position: relative;
  padding-left: 22px;
  min-height: 28px;
}
.eval-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}
.eval-checklist li.pending { color: #b0b4bc; }
.eval-checklist li.pending::before { content: "○"; color: #c7cbd2; font-weight: 400; }
.eval-media > .ph { min-height: 260px; }

/* ---------- Testing session cards ---------- */
.testing-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 20px; }
.testing-card {
  background: var(--light-card); border: 1px solid var(--light-border);
  border-radius: var(--radius); padding: 26px 28px;
}
.testing-card h4 { font-size: 18px; margin-bottom: 4px; }
.testing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.testing-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef3fa;
  border: 1px solid #d5e2f2;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #17458a;
  white-space: nowrap;
}
.testing-card ul { padding-left: 18px; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }

/* ---------- Category cards (competitor product types) ---------- */
.cat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.cat-card { background: var(--light-card); border: 1px solid var(--light-border); border-radius: 10px; padding: 14px 16px; }
.cat-card h4 { font-size: 14px; margin-bottom: 8px; }
.cat-card ul { padding-left: 16px; display: grid; gap: 3px; font-size: 12.5px; color: var(--ink-2); }

/* ---------- Transition banner ---------- */
.transition-wrap { text-align: center; }
.transition-old { font-size: 17px; font-weight: 600; color: var(--dark-text-dim); margin-bottom: 24px; }
.transition-video {
  width: 60%;
  margin: 0 auto 40px;
}
.transition-banner { background: var(--olive-bg); color: var(--olive-text); border-radius: 12px; padding: 22px 26px; font-size: 17px; font-weight: 600; }
.transition-video-full {
  width: 100%;
  margin: 20px 0 0;
}

.video-embed {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
}
.video-embed iframe,
.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: contain;
}
.video-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid #fff;
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.video-play-btn:hover { transform: scale(1.08); }
.video-embed.is-playing .video-play-btn { opacity: 0; pointer-events: none; }

.go-solution-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #17458a 0%, #0f3266 100%);
  color: #fff;
  text-decoration: none;
  font-family: "Rajdhani", "DM Sans", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow:
    0 8px 24px rgba(23, 69, 138, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.18) inset;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.go-solution-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.14) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}
.go-solution-link:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 28px rgba(23, 69, 138, 0.36),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
}
.go-solution-link:hover::before { transform: translateX(120%); }
.go-solution-play {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}
.go-solution-play::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 11px;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
}
.go-solution-text { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .go-solution-link,
  .go-solution-link::before { transition: none; }
  .go-solution-link:hover { transform: none; }
  .go-solution-link:hover::before { transform: none; }
}

/* ---------- Checklist box — paper notepad look ---------- */
.check-box {
  position: relative;
  max-width: 300px;
  margin-top: 22px;
  padding: 28px 28px 26px 36px;
  background:
    repeating-linear-gradient(
      transparent,
      transparent 27px,
      rgba(74, 151, 238, 0.18) 27px,
      rgba(74, 151, 238, 0.18) 28px
    ),
    linear-gradient(180deg, #fbfbfc 0%, #f3f4f6 100%);
  border: none;
  border-radius: 2px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 10px 28px rgba(23, 24, 28, 0.12),
    0 2px 6px rgba(23, 24, 28, 0.06);
  transform: rotate(-1.2deg);
}
.check-box::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 12px;
  bottom: 12px;
  width: 1.5px;
  background: rgba(220, 80, 80, 0.45);
}
.check-box h4 {
  font-family: "Rajdhani", "DM Sans", sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 14px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid rgba(23, 24, 28, 0.2);
  color: var(--ink);
  letter-spacing: 0.02em;
}
.check-box ul {
  list-style: none;
  display: grid;
  gap: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 28px;
}
.check-box li {
  position: relative;
  padding-left: 26px;
  min-height: 28px;
}
.check-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 13px;
  height: 13px;
  border: 1.5px solid #5a5d66;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0.5px 0.5px 0 rgba(23, 24, 28, 0.08);
}

/* ---------- Insights from competitor analysis ---------- */
.comp-insight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}
.comp-insight-card {
  background: #eef4f9;
  color: var(--ink);
  border-radius: 12px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.comp-insight-card.wide { grid-column: 1 / -1; }
.comp-insight-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}
.comp-insight-card ul {
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
}
.comp-insight-gallery {
  display: grid;
  gap: 8px;
  margin-top: auto;
}
.comp-insight-gallery .ph {
  min-height: 88px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.7);
  border-color: #b8c9db;
  color: #5a6b7d;
  border-radius: 8px;
  padding: 10px;
}
.comp-insight-gallery img.ph {
  min-height: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  padding: 0;
  background: none;
  border: none;
  border-radius: 8px;
}
.comp-insight-gallery.g-2 { grid-template-columns: 1fr 1fr; }
.comp-insight-gallery.g-3 { grid-template-columns: repeat(3, 1fr); }
.comp-insight-gallery.g-4 { grid-template-columns: repeat(2, 1fr); }
.comp-insight-gallery.g-5 {
  grid-template-columns: repeat(6, 1fr);
}
.comp-insight-gallery.g-5 .ph:nth-child(1),
.comp-insight-gallery.g-5 .ph:nth-child(2),
.comp-insight-gallery.g-5 .ph:nth-child(3) { grid-column: span 2; }
.comp-insight-gallery.g-5 .ph:nth-child(4),
.comp-insight-gallery.g-5 .ph:nth-child(5) { grid-column: span 3; }
.comp-insight-gallery.g-6 { grid-template-columns: repeat(3, 1fr); }
.comp-insight-card.wide .comp-insight-gallery.g-3 .ph { min-height: 120px; }

@media (max-width: 900px) {
  .product-row, .flowlist-row, .persona-card2-grid, .need-pills, .need-cols,
  .eval-row, .testing-cols, .cat-row, .utypes-row, .framework-row {
    grid-template-columns: 1fr;
  }
  .utypes-branch { display: none; }
  .utypes-heading { margin-bottom: 20px; }
  .comp-insight-grid { grid-template-columns: 1fr; }
  .comp-insight-card.wide { grid-column: auto; }
  .comp-insight-gallery.g-3,
  .comp-insight-gallery.g-5,
  .comp-insight-gallery.g-6 { grid-template-columns: 1fr 1fr; }
  .comp-insight-gallery.g-5 .ph { grid-column: auto !important; }
}
