/* Landing Module Guide V1 — additive CORE FLOW explain (feature layer) */
.lmg-card {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.lmg-card:hover,
.lmg-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  border-color: rgba(31, 78, 121, 0.35);
  outline: none;
}
.lmg-card-photo {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: 12px;
  background: #e8eef5;
}
.lmg-card-hint {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #1f4e79;
  letter-spacing: 0.02em;
}
.lmg-backdrop {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.lmg-backdrop.is-open {
  display: flex;
}
.lmg-panel {
  width: min(920px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 0;
}
.lmg-panel-hero {
  position: relative;
  min-height: 200px;
  background: #0f172a;
}
.lmg-panel-hero img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.lmg-panel-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.lmg-panel-body {
  padding: 22px 24px 28px;
  display: grid;
  gap: 16px;
}
.lmg-panel-eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #1f4e79;
  font-weight: 700;
}
.lmg-panel-title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  color: #0f172a;
  line-height: 1.25;
}
.lmg-panel-summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #475569;
}
.lmg-feature-list {
  display: grid;
  gap: 12px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.lmg-feature {
  border: 1px solid rgba(31, 78, 121, 0.14);
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
}
.lmg-feature-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.lmg-feature-toggle img {
  width: 88px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  background: #e2e8f0;
}
.lmg-feature-toggle h5 {
  margin: 0 0 4px;
  font-size: 15px;
  color: #0f172a;
}
.lmg-feature-toggle p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
}
.lmg-feature-chevron {
  color: #1f4e79;
  font-size: 18px;
  font-weight: 700;
}
.lmg-feature-detail {
  display: none;
  padding: 0 14px 14px;
  border-top: 1px solid rgba(31, 78, 121, 0.1);
}
.lmg-feature.is-open .lmg-feature-detail {
  display: grid;
  gap: 12px;
  padding-top: 12px;
}
.lmg-feature-detail img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 12px;
  background: #e2e8f0;
}
.lmg-feature-detail p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #334155;
}
.lmg-feature-detail ul {
  margin: 0;
  padding-left: 18px;
  color: #334155;
  font-size: 14px;
  line-height: 1.7;
}
body.lmg-lock-scroll {
  overflow: hidden;
}
@media (max-width: 900px) {
  .core-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .core-flow-grid {
    grid-template-columns: 1fr;
  }
  .lmg-feature-toggle {
    grid-template-columns: 72px 1fr;
  }
  .lmg-feature-chevron {
    display: none;
  }
}
