.layout-title {
  display: grid;
  gap: 10px;
  justify-items: center;
  margin-bottom: 42px;
  text-align: center;
}

.layout-title span,
.advantage-band span {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.layout-title h2,
.advantage-band h2 {
  max-width: 820px;
  margin: 0;
  color: var(--color-text-strong);
  font-size: 44px;
  line-height: 1.14;
}

.home-solution-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  width: 100%;
  max-width: var(--max-page);
  margin: 0 auto;
}

.solution-gallery-lead,
.solution-gallery-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  color: #fff;
  box-shadow: var(--shadow-elevated);
}

.solution-gallery-lead img,
.solution-gallery-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--motion-base);
}

.solution-gallery-lead::after,
.solution-gallery-panel::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.78));
  content: "";
}

.solution-gallery-lead > div,
.solution-gallery-panel > *:not(img) {
  position: relative;
  z-index: 1;
}

.solution-gallery-lead {
  display: grid;
  align-items: end;
  min-height: 430px;
  padding: 26px;
}

.solution-gallery-lead > div {
  display: grid;
  align-self: stretch;
  grid-template-rows: 1fr auto minmax(76px, auto) minmax(50px, auto);
  align-items: end;
}

.solution-gallery-lead .tag-list {
  display: none;
}

.solution-gallery-lead > div > span {
  grid-row: 2;
}

.solution-gallery-lead h3 {
  grid-row: 3;
}

.solution-gallery-lead p {
  grid-row: 4;
}

.solution-gallery-lead h3,
.solution-gallery-panel strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 26px;
  line-height: 1.28;
}

.solution-gallery-lead p,
.solution-gallery-panel em {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-style: normal;
  line-height: 1.5;
}

.solution-gallery-side {
  display: contents;
}

.solution-gallery-panel {
  display: grid;
  grid-template-rows: 1fr auto minmax(76px, auto) minmax(50px, auto);
  align-items: end;
  min-height: 430px;
  padding: 26px;
}

.solution-gallery-panel span,
.solution-gallery-panel strong,
.solution-gallery-panel em {
  align-self: end;
}

.solution-gallery-panel span {
  grid-row: 2;
}

.solution-gallery-panel strong {
  grid-row: 3;
}

.solution-gallery-panel em {
  grid-row: 4;
}

.solution-gallery-lead:hover img,
.solution-gallery-panel:hover img {
  transform: scale(1.04);
}

.platform-stage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: center;
}

.platform-stage-visual {
  position: relative;
  min-height: 500px;
}

.platform-stage-visual .story-dashboard {
  position: relative;
  z-index: 2;
  max-width: 720px;
  background: rgba(255, 255, 255, 0.96);
}

.platform-stage-visual > img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  max-height: 280px;
  border-radius: var(--radius-card);
  object-fit: cover;
  box-shadow: var(--shadow-elevated);
}

.platform-stage-copy {
  display: grid;
  gap: 28px;
  border-left: 3px solid var(--color-primary);
  padding-left: 28px;
}

.platform-stage-copy article,
.quick-package-grid article {
  display: grid;
  gap: 8px;
}

.platform-stage-copy h3,
.quick-package-grid h3 {
  margin: 0;
  color: var(--color-text-strong);
  font-size: 24px;
}

.platform-stage-copy p,
.quick-package-grid p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.device-line {
  display: grid;
  gap: 14px;
}

.device-line-item {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  background: transparent;
  border-radius: 0;
  padding: 18px 0;
  box-shadow: none;
}

.device-line-item figure {
  display: grid;
  min-height: 156px;
  place-items: center;
  margin: 0;
  background: transparent;
}

.device-line-item img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 16px 26px rgba(15, 23, 42, 0.12));
}

.device-line-item strong {
  color: var(--color-text-strong);
  font-size: 34px;
}

.device-line-item p {
  max-width: 620px;
  color: var(--color-text-muted);
}

.advantage-band {
  padding: 82px 32px;
  background: #0f172a;
}

.advantage-band h2 {
  color: #fff;
}

.advantage-band-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.advantage-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.12);
}

.advantage-rail article {
  display: grid;
  gap: 12px;
  min-height: 156px;
  align-content: start;
  background: rgba(15, 23, 42, 0.82);
  padding: 24px;
}

.advantage-rail strong {
  color: #fff;
  font-size: 24px;
}

.advantage-rail p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.62;
}
